{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"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":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"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":"BenchCommand.run (cyclomatic 91): BenchCommand.run has cyclomatic complexity 91 (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/VocelloCLI/BenchCommand.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb65c29187f04002dd83250b0c1db4b5291ad82eb86bf2e686bfb350dbf2200"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingExecutionContext.run (cyclomatic 79): StreamingExecutionContext.run has cyclomatic complexity 79 (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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1fb43ee600dc14667dfe604f86299a33bdeb14e61211e55170a34e99e12f2b"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingExecutionContext.makeAudioQCReport (cyclomatic 68): StreamingExecutionContext.makeAudioQCReport has cyclomatic complexity 68 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":3312}}}],"partialFingerprints":{"codehealthFindingId/v1":"05357eef773a9820a31cd553be031595d69355f288046552e12dd35ba2227396"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeEngineRuntime.prepareGeneration (cyclomatic 65): NativeEngineRuntime.prepareGeneration has cyclomatic complexity 65 (threshold 15). Of this number, 64 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"779916984a96b7d11ae5df7663cc6b38b8c0f203935582d78253e0fea8e9259e"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductionModelCatalog.validate (cyclomatic 55): ProductionModelCatalog.validate has cyclomatic complexity 55 (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/QwenVoiceCore/ProductionModelCatalog.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"2146c255a760066960f78eb8fed352b1c7d15cd24a4d6359c80676fb4b1afd3a"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceClipTranscriber.isValidConsistentEvidence (cyclomatic 51): VoiceClipTranscriber.isValidConsistentEvidence has cyclomatic complexity 51 (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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2a49bdb0b9bf76ac5d5b721a01cf1b79e795179a9299b24f8421adb52627e6"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationFailureDiagnosticLogger.errorMetadata (cyclomatic 48): GenerationFailureDiagnosticLogger.errorMetadata has cyclomatic complexity 48 (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/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb864ec4837bc9577e5fe714445efa42c1de8b3071f7087692db72f9cbbe56ba"}},{"ruleId":"D1","level":"warning","message":{"text":"BenchCodecReplay.run (cyclomatic 48): BenchCodecReplay.run has cyclomatic complexity 48 (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/VocelloCLI/BenchCodecReplay.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5f09c84f4968ae15354d4b542cea4957adcf771d5de7f52b21f91000d0eb58"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.requireQualificationTelemetry (cyclomatic 45): IOSDeviceDiagnosticsRunner.requireQualificationTelemetry has cyclomatic complexity 45 (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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62b45abc58bba32942e22b8f0746dcce5518fe70f37003ae6789da4f2239713"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingExecutionContext.writeEngineTelemetryRecord (cyclomatic 43): StreamingExecutionContext.writeEngineTelemetryRecord has cyclomatic complexity 43 (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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d1179b01a797c657dc3f7c1a5c70a6fe0a8c75b474c4518b8307a71f421089"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopEngineHost.enrollVoice (cyclomatic 42): DesktopEngineHost.enrollVoice 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/VocelloDesktopCore/DesktopVoiceEnrollment.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13850127241ba1eb0af73dac7b1c29fdd6c300fd071cba1734f2245dec342f4"}},{"ruleId":"D1","level":"warning","message":{"text":"MacGenerationWarmupCoordinator.scheduleWarmupIfNeeded (cyclomatic 40): MacGenerationWarmupCoordinator.scheduleWarmupIfNeeded has cyclomatic complexity 40 (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/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a9bd1f4e1904b884e156ac2720fcdd3dfad4bb882e7ef7e2592ace5b81b0b0"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.runCloneConditioningAcceptance (cyclomatic 38): IOSDeviceDiagnosticsRunner.runCloneConditioningAcceptance has cyclomatic complexity 38 (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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"8810b78739b941b6a32d53198e80cc9b256d1558b77daf7a61b769f4d0218da4"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSLongFormProjectRunner.run (cyclomatic 35): IOSLongFormProjectRunner.run has cyclomatic complexity 35 (threshold 15). Of this number, 34 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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"472a4ac856581adf856ab8789cac78fc152787cb76adb0e8e94e45ee64bc4f94"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAudioPreparationService.convertAudio (cyclomatic 34): NativeAudioPreparationService.convertAudio has cyclomatic complexity 34 (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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab081e494522be3b3b8afe76aa9f132bdd1108cc15d6eee30e9262a469dcf46"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationStreamingTelemetryV9Bridge.make (cyclomatic 33): GenerationStreamingTelemetryV9Bridge.make has cyclomatic complexity 33 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e077b207d680b962c7437b98dddc165b106db43516117fe37efa4e047e71cac"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsCommand.run (cyclomatic 32): ModelsCommand.run 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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4237326d1c7185647fff67c94d580bd4b185a9b46e80df7e639ad7ac40b48bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"studio.Studio (cyclomatic 32): studio.Studio has cyclomatic complexity 32 (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":"design_references/Vocello iOS/studio.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1738b810d6c93f99547842f07b30a0e88273b066f9d21fc5e4024060cdf17fd4"}},{"ruleId":"D1","level":"warning","message":{"text":"PCM16StreamLimiter.append (cyclomatic 29): PCM16StreamLimiter.append 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cd4237898fc448dc8d7179c17d80ec6d226509c038ce899f2a94c46766a25e"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSStartupReliabilityRunner.execute (cyclomatic 29): IOSStartupReliabilityRunner.execute 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/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"747b1596f3f270ba5c4ce0093139465b25263b73d770a6bff0005a6c533a4c16"}},{"ruleId":"D1","level":"warning","message":{"text":"MLXModelLoadCoordinator.loadModel (cyclomatic 27): MLXModelLoadCoordinator.loadModel has cyclomatic complexity 27 (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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"306b12ab636a0af5197f13d8c47f7dacf61b7d6921da37bd74b8082db4e06f1a"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalModelAssetStore.deepIntegrity (cyclomatic 27): LocalModelAssetStore.deepIntegrity has cyclomatic complexity 27 (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/QwenVoiceCore/ModelAssets.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4065894ebe9bac2e484b52b4c785d5bf98d612454b9e4d7feb6178fc5f736c"}},{"ruleId":"D1","level":"warning","message":{"text":"CodecRoundTripEvidence.monoPCM16Samples (cyclomatic 26): CodecRoundTripEvidence.monoPCM16Samples has cyclomatic complexity 26 (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/QwenVoiceCore/CodecRoundTripEvidence.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d07369426f3fe8d341980c0151f6efc135d322153d2e9c7e28eb46fdec142b"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSModelDownloadLedger.validated (cyclomatic 26): IOSModelDownloadLedger.validated has cyclomatic complexity 26 (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/QwenVoiceCore/IOSModelDownloadLedger.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d859a04af03b402d7e7973e1412939d26aab152007592a4f024d8eb7986f80cd"}},{"ruleId":"D1","level":"warning","message":{"text":"BenchCodecLoop.run (cyclomatic 26): BenchCodecLoop.run has cyclomatic complexity 26 (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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5531b4735ddcd6a75eb0ba0e4dad356e81318178d79d489a348cfc68ee0c23"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSVoiceDesignView.body (cyclomatic 26): IOSVoiceDesignView.body has cyclomatic complexity 26 (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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"3964d468264772b0ade9adb0d9a25f9504d98138f6fcd367e1e69b6e9384c228"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSVoiceCloningView.generate (cyclomatic 26): IOSVoiceCloningView.generate has cyclomatic complexity 26 (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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915028f3a05e2a1ab93b37e6d63d7b08aa8f03951d69ef5189f22d03f849e80"}},{"ruleId":"D1","level":"warning","message":{"text":"QualityGateRegistry.evaluate (cyclomatic 25): QualityGateRegistry.evaluate has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/GenerationQualityReport.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc2afc04d78f35eb3b7280af343fe24af4df8865556fbdedbcdbe315823cff9"}},{"ruleId":"D1","level":"warning","message":{"text":"LongFormManifestV4.validated (cyclomatic 25): LongFormManifestV4.validated has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a57b91c0ca10e805dacb576c86e526899759fdba09cf54333102c028cb9473"}},{"ruleId":"D1","level":"warning","message":{"text":"VocelloMain.dispatch (cyclomatic 25): VocelloMain.dispatch has cyclomatic complexity 25 (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/VocelloCLI/VocelloMain.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6a668fba7d5a45b692d1ebd4ebf00c1dcf692000fc42b02bcaead4aa200fb6"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.runVoiceReliabilityExport (cyclomatic 25): IOSDeviceDiagnosticsRunner.runVoiceReliabilityExport has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c365b3395622f03753ec950f260bc12df771253923d8c03b1be2a122f3931e78"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSModelInstallerViewModel.apply (cyclomatic 25): IOSModelInstallerViewModel.apply has cyclomatic complexity 25 (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/iOS/IOSModelInstallerViewModel.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90c09a56e34f4d3038923dd6d92379cc6f1b15460ab0e94d074e7b15724cfe9"}},{"ruleId":"D1","level":"warning","message":{"text":"BenchCodecRoundTrip.run (cyclomatic 24): BenchCodecRoundTrip.run 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/VocelloCLI/BenchCodecRoundTrip.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df3ca7aa983485aeb5b2f505067785f7a73f3dac201c9cf187e2a95db74b994"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIFailure.classify (cyclomatic 24): CLIFailure.classify has cyclomatic complexity 24 (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/VocelloCLI/Core/Contract/CLIFailure.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4c5e739ee9db22165679ee985dbdcdf811e967291ef44684cfd0c1e3380084"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSModelRow.statusText (cyclomatic 24): IOSModelRow.statusText has cyclomatic complexity 24 (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/iOS/IOSSettingsViews.swift"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"733d4f5e4c2431f160952392b764386366e928b403d267fea61f048c4bc0e5b9"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationStreamingTelemetryV9.validate (cyclomatic 23): GenerationStreamingTelemetryV9.validate 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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2f3dbc1b7e766a54ab6dd34182051372ba8125c83dc08d2efe9760f015a1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchCommand.run (cyclomatic 23): BatchCommand.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/VocelloCLI/BatchCommand.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9d120a83f36593d172d9ae169ffbc7423d579c730bddae3bc0bbdff42c7d71"}},{"ruleId":"D1","level":"warning","message":{"text":"VoicesCommand.run (cyclomatic 23): VoicesCommand.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/VocelloCLI/VoicesCommand.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"352838fc1411f540c4b674f27125862bf50a7b31615892590d92aa766683b14e"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.runMemoryQualification (cyclomatic 23): IOSDeviceDiagnosticsRunner.runMemoryQualification 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb4d91bd69e774b5dc6c8068cc5e6bb0c6be15783fa82416a5e42218fa26fcb"}},{"ruleId":"D1","level":"warning","message":{"text":"app.App (cyclomatic 23): app.App has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. 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":"design_references/Vocello iOS/app.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c6ba2a9574ddd613f7ac33c8621ab74590fb18ae0ea38f952eb38bc4cb4484"}},{"ruleId":"D1","level":"warning","message":{"text":"rendered-contract.validateRenderedMarkup (cyclomatic 23): rendered-contract.validateRenderedMarkup 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":"website/scripts/rendered-contract.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b004f17d3449f00615ee60c6af04ea879232604829dfe8ed3ac9181b9d01f9"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationQualityReportProducer.fastReport (cyclomatic 22): GenerationQualityReportProducer.fastReport 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/QwenVoiceCore/GenerationQualityReportProducer.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ced12f4eacc7a5f696a3ae92090f56d9dc3600cdf9e55f34ebffa2d9d33e209"}},{"ruleId":"D1","level":"warning","message":{"text":"ShippingChunkObservationV9.validate (cyclomatic 22): ShippingChunkObservationV9.validate 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/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"97291849d055e713b4df98d211dd9799062b99efa9b2d9b18ba5da18695f407c"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationStreamingTelemetryV9Publication.makeCompleteDocument (cyclomatic 22): GenerationStreamingTelemetryV9Publication.makeCompleteDocument has cyclomatic complexity 22 (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/QwenVoiceCore/GenerationStreamingTelemetryV9Publication.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc6b474c6c81af91fd289e46a211842dd2590aa37d0b0388d65590636f06e5f"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryPersistenceError.classify (cyclomatic 22): HistoryPersistenceError.classify has cyclomatic complexity 22 (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/SharedSupport/Database/HistoryPersistenceError.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca1d236691dc8d6a21293af4105206635863d5b8a9edbf929bce9ddf3120723"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationOutputVerifier.evaluate (cyclomatic 22): GenerationOutputVerifier.evaluate 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/SharedSupport/Services/GenerationOutputVerifier.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"543c4240b6e3da8254923d7059e0c2919b7edd22fec5f9647802b1da328f0437"}},{"ruleId":"D1","level":"warning","message":{"text":"DoctorCommand.run (cyclomatic 22): DoctorCommand.run 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/VocelloCLI/DoctorCommand.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a191ad7f5898a44f53c2e92e961b892f05534009290c455e554192e1089bcce8"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsCommand.runVerify (cyclomatic 22): ModelsCommand.runVerify 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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11223e8e472268a6383fcb33d4f9a844061034b28c5f754692a863ddaef8126"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIGenerateRequest.parse (cyclomatic 22): CLIGenerateRequest.parse 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/VocelloCLI/Core/Contract/CLIGenerateRequest.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"579aab4a925fe37b06a260065b28d45746677240b3d97a75a247f000c5371ace"}},{"ruleId":"D1","level":"warning","message":{"text":"player.PlayerSheet (cyclomatic 22): player.PlayerSheet has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. 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":"design_references/Vocello iOS/player.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4c88c0a898638d99b853bdddd19fab64fdabc0e8263ae55ef83a964c127767"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSUnloadQuiescenceEvaluator.violations (cyclomatic 21): IOSUnloadQuiescenceEvaluator.violations 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/QwenVoiceCore/IOSUnloadQuiescence.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4824fbf0a10d09cce090f3e4250624840a410123ae688434147cd12a28dd86a0"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedVoiceRepository.reconcileCommitTransaction (cyclomatic 21): PreparedVoiceRepository.reconcileCommitTransaction 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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b4e37381eecc390be38ed7ab40bc829dda07bf018cf79b60e2ba99996af853"}},{"ruleId":"D1","level":"warning","message":{"text":"MacSavedVoiceSheet.body (cyclomatic 21): MacSavedVoiceSheet.body 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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c98210f149137330d0840b01cf6497f57d4f158240bdf2a0f595421c2d5291d"}},{"ruleId":"D1","level":"warning","message":{"text":"site-contract.validateText (cyclomatic 21): site-contract.validateText 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":"website/scripts/site-contract.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"13378003ae24743e8822b354bbd9b99c204dc0bd64ea53a49eec6132831de201"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationStreamingTelemetryV9Publication.isPublicationReady (cyclomatic 20): GenerationStreamingTelemetryV9Publication.isPublicationReady has cyclomatic complexity 20 (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/QwenVoiceCore/GenerationStreamingTelemetryV9Publication.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f142b6eb12ca39319e2fed00c18daef6362371548f4692545eaac73c1d06a6f"}},{"ruleId":"D1","level":"warning","message":{"text":"LongFormHistoryAcceptanceStore.prepare (cyclomatic 20): LongFormHistoryAcceptanceStore.prepare has cyclomatic complexity 20 (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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf844e768cf32e2be1b7ef773c3c42ef11c911d50b339c86398d4e75b24fc791"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerateCommand.run (cyclomatic 20): GenerateCommand.run 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/VocelloCLI/GenerateCommand.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"47da1c202fe3956deecbeb80c8c82e30749b35ffffab845c8c3f32209cfb395f"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopAppSettings.set (cyclomatic 20): DesktopAppSettings.set 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/VocelloDesktopCore/DesktopAppSettings.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31fe33e68173d0078a7323fd380da3fa4f725680b3e73660e137a852c699f15"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.run (cyclomatic 20): IOSDeviceDiagnosticsRunner.run 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fc13efdab2172a060a8389fc3863daa35114ef8e6fc02a80aba616449aebb8"}},{"ruleId":"D1","level":"warning","message":{"text":"TTSEngineStore.syncFromSnapshot (cyclomatic 20): TTSEngineStore.syncFromSnapshot 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/iOS/TTSEngineStore.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ca95054a25e04665ba6302c2cb5e8c8de4f450bf292b0d4339b95175ddfa70"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSLongFormProjectRunner.regenerateSegment (cyclomatic 20): IOSLongFormProjectRunner.regenerateSegment 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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40aa98978af0bc2a73bb04021dd854ce395178ac6f90b05ee8e56f9b6ae6fb3"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSRecordVoiceSheet.body (cyclomatic 20): IOSRecordVoiceSheet.body 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/iOS/Voices/IOSRecordVoiceSheet.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b426cddedaca6e4cc5457979e8c126d6dbdce5375fc97dbff05161f433c0cc"}},{"ruleId":"D1","level":"warning","message":{"text":"sheets.VoicePickerSheet (cyclomatic 20): sheets.VoicePickerSheet has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 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":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"59845339e1d4de4d33a447406b555a8fe48fe211e6ee25a366fe5580e39cdb13"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioQCSignalObserver.repetitionStripe (cyclomatic 19): AudioQCSignalObserver.repetitionStripe has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/AudioQCSignalObserver.swift"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e171d8b6f252f8f3e7f41afadf835aea0cea44e990ec0fb81bd0dc73699998"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeEngineRuntime.recordGenerationPlanShadow (cyclomatic 19): NativeEngineRuntime.recordGenerationPlanShadow has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f29a25352caac494983cda642733ea35da61dda05eb6dfcb425fb7c4422036"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationHistoryOutboxStore.scan (cyclomatic 19): GenerationHistoryOutboxStore.scan has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"af488be33eec15a21448f5b12255622b4c404b2f4fe616b7534994b15fd114d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelManagerViewModel.localModelInfo (cyclomatic 19): ModelManagerViewModel.localModelInfo has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb2907dc69bc3212244bdba410d6944ed4f47c0d6aa1c5cc00b59a15594a229"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.parseAll (cyclomatic 19): Parser.parseAll has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/Core/CommandModel/CLIParser.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38b7c3effb05c38dc014174d69cd8f959ffb5aa2943638041f3a14f16cfda76"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAudioPreparationService.resampledToCanonicalRate (cyclomatic 18): NativeAudioPreparationService.resampledToCanonicalRate 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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee7d061ac26c971e768132bb3c19d5c8ef95e7e33e60992c6faaeb16bbe39e2"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceDownloader.downloadTemporaryFile (cyclomatic 18): HuggingFaceDownloader.downloadTemporaryFile 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"355fb918399d677c8e043de5d8de0d48b70ab296d84e3d4f463f605e95275554"}},{"ruleId":"D1","level":"warning","message":{"text":"LongFormPlanner.scanWindow (cyclomatic 18): LongFormPlanner.scanWindow 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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608193b4ea95ca64885981dc06a4fb65c762d6fb70711f5ab55566e84b756c4"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeGenerationTerminalClassifier.disposition (cyclomatic 18): NativeGenerationTerminalClassifier.disposition 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"31947f2b1e9ca16e6f27555b48dae9d7b5d5dc87dedacc7ff9cc4cdfbfc566d9"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedVoiceRepository.commit (cyclomatic 18): PreparedVoiceRepository.commit 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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96fcf0d1677ca1fd747584f021d95f31882ea9b79bbdb1bd310a3044fb6105e"}},{"ruleId":"D1","level":"warning","message":{"text":"tweaks-panel.TweaksPanel (cyclomatic 18): tweaks-panel.TweaksPanel has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 207, a function literal at line 209, a function literal at line 239, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/tweaks-panel.jsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7f387e9cbca398de602ad9f273c19e2fbd2d8cfb0f788353ce62ff688e3166"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAudioPreparationService.normalizeAudioAsynchronously (cyclomatic 17): NativeAudioPreparationService.normalizeAudioAsynchronously has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f769eeada7c3b0510bd7f35de1995b22b89e563d779ac517d8a86f5cfe2ecfda"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAudioPreparationService.decodedMonoSamples (cyclomatic 17): NativeAudioPreparationService.decodedMonoSamples has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5b73bdc5bcd3cc4ceb25e4382f92f87c5efd46fada2884ed9826333dec59ce"}},{"ruleId":"D1","level":"warning","message":{"text":"WAVDataLayout.init (cyclomatic 17): WAVDataLayout.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/QwenVoiceCore/AudioPublicationMarking.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5fdb735606722650338e26cdf47306fd457a31edbd57b16fb69999c8afa49c"}},{"ruleId":"D1","level":"warning","message":{"text":"PCM16LeadingSilenceGate.filter (cyclomatic 17): PCM16LeadingSilenceGate.filter 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b42709fd26b8d2e59c9e20b46a00dd386fb2072e54e4ecb9f5f5ffb635f885"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSStartupReliabilityLaunchSpec.validate (cyclomatic 17): IOSStartupReliabilityLaunchSpec.validate 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/QwenVoiceCore/IOSStartupReliabilityPlan.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb297eb918351a1cd1905074f08730f7a5758aa8ad09cd8bc61b49f04ee7fd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelDownloadRetryPolicy.disposition (cyclomatic 17): ModelDownloadRetryPolicy.disposition 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/QwenVoiceCore/ModelDownloadContracts.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"41218bf9630b92a9367c6ec6f2db10308225be680934231cdec8235477fe6345"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelUpdateLedger.reconcile (cyclomatic 17): ModelUpdateLedger.reconcile has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/ModelUpdateLedger.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dbe941b81fd70eff40fce45df81d5bf574b7b3791d8a0c346a6eb9b30f1a70"}},{"ruleId":"D1","level":"warning","message":{"text":"NativePreparedCloneConditioningCache.resolveVoiceClonePrompt (cyclomatic 17): NativePreparedCloneConditioningCache.resolveVoiceClonePrompt 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/QwenVoiceCore/NativeCloneSupport.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2ee9728775a091801d572b13f17b211db9b30699fbb5e188dc1a15ae96b532"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedVoiceRepository.publishClonePromptArtifact (cyclomatic 17): PreparedVoiceRepository.publishClonePromptArtifact 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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b321a206bd03b1b3562b008cf5bff92155dcd81372339b3a4c62fed1df695e"}},{"ruleId":"D1","level":"warning","message":{"text":"StartupReliabilityDiagnosticEvidence.verifiedReplayTrace (cyclomatic 17): StartupReliabilityDiagnosticEvidence.verifiedReplayTrace 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/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42337f1f4711aa8e13af79932208df37c11794448edb9d8825174da085fecd2"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceClipTranscriber.enrollmentResult (cyclomatic 17): VoiceClipTranscriber.enrollmentResult 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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca267f90070270ee1d201fb6f2cd690d20dba36b05f5e71b87bdc0be6efa0e53"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelManagerViewModel.downloadDetail (cyclomatic 17): ModelManagerViewModel.downloadDetail 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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95200d0311bbdb421cd56312f6c221f89bea1678cad13860040f646fc3b4a63"}},{"ruleId":"D1","level":"warning","message":{"text":"RunCommand.report (cyclomatic 17): RunCommand.report 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/VocelloCLI/RunCommand.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ee78c86882cff2577e9e287088387e394f714f50e233e75f0bdc0e2b24fc52"}},{"ruleId":"D1","level":"warning","message":{"text":"CLICompletionGenerator.zsh (cyclomatic 17): CLICompletionGenerator.zsh has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/Core/CommandModel/CLICompletionGenerator.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01253fb2ddf37e9ada100574ed24d6fe32c2d95fb31d73de393a9ca7c616218"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.option (cyclomatic 17): Parser.option 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/VocelloCLI/Core/CommandModel/CLIParser.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"25616d5c0a5db8a907c49cfb9ffd0a7de7a72262964e6bf8c703a019e4a839be"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.screenView (cyclomatic 17): ContentView.screenView 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/ContentView.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1141c09884a9115b5d1a46dea3df0a45418aebaa1cb544f9485451c8da6eb2bc"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSCustomVoiceView.generate (cyclomatic 17): IOSCustomVoiceView.generate 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85d68b6e38ed9bfd8bb90e31b4d16d301bf2563c3652a3e4e93626b2ff6cc4e"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSModelInstallerViewModel.state (cyclomatic 17): IOSModelInstallerViewModel.state 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/iOS/IOSModelInstallerViewModel.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9e22cc267ea3242ef684879daeaf88c178fac116645994ef279aed5fccfd70"}},{"ruleId":"D1","level":"warning","message":{"text":"DiagnosticPrivacy.redactingExceptionReasons (cyclomatic 16): DiagnosticPrivacy.redactingExceptionReasons 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/QwenVoiceCore/DiagnosticPrivacy.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f544e44c96ae42c0b82882dbe57076eec0e549b623e369a79f8e24aa04c1fdcb"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationFailurePresentationReason.reason (cyclomatic 16): GenerationFailurePresentationReason.reason 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/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cef36f21a74d7121d295607dd1c6d297b3fb1f1bd484cb87edda0648b392be6"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptUnits.init (cyclomatic 16): ScriptUnits.init 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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"69486ac882cfe0c98298bdc6b907e5ff960e41d88fe5a83a714512a17a21c294"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationTelemetryJSONLSink.pruneJSONLFromFront (cyclomatic 16): GenerationTelemetryJSONLSink.pruneJSONLFromFront 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/QwenVoiceCore/GenerationTelemetryJSONLSink.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5e4da3163103de81df3bcc3c379233fe82fcf9ff2ba718c64f1230360718cc"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceDownloader.runDownload (cyclomatic 16): HuggingFaceDownloader.runDownload 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e03e8af6074917907bd0a704b32a97554942673ddd0295df3cc3a8e7c4d5d5"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceDownloader.runChunkTransfers (cyclomatic 16): HuggingFaceDownloader.runChunkTransfers has cyclomatic complexity 16 (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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cad7cbab7e1fc537cf4aa9827bb3e57ae1a869ccdce224697b2ab68d280064"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFaceDownloader.validateStagedRepository (cyclomatic 16): HuggingFaceDownloader.validateStagedRepository 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3321}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e756aa9e50314bb835ea30d1864b4611ad53528b438f4496cfab076b053d53"}},{"ruleId":"D1","level":"warning","message":{"text":"Qwen3TTSRuntimeProfile.validate (cyclomatic 16): Qwen3TTSRuntimeProfile.validate 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/QwenVoiceCore/Qwen3TTSRuntimeProfile.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfab16d981466f35f6af9905dc0e14812f67a127e07d24be4fe7aa02867a55b"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedModelComponentStore.installStagedModel (cyclomatic 16): SharedModelComponentStore.installStagedModel has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: SharedModelComponentStoreError.errorDescription (cyclomatic 23) 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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"319c4188a5cf052802a76c48f11df9ed4cc34435517b81ee3c5ac5e340f0a468"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedModelComponentStore.replaceModelWithSharedLinks (cyclomatic 16): SharedModelComponentStore.replaceModelWithSharedLinks has cyclomatic complexity 16 (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: SharedModelComponentStoreError.errorDescription (cyclomatic 23) 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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a504ac7130039b652497140bbd68db281b6fdcfce68503cada2094751d93db06"}},{"ruleId":"D1","level":"warning","message":{"text":"LongFormHistoryAcceptanceStore.commit (cyclomatic 16): LongFormHistoryAcceptanceStore.commit 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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"630c840695abc6d0acc538adb75cf822278611fc8012a59bedd63e3604d88818"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceClipTranscriber.recognizeDetailed (cyclomatic 16): VoiceClipTranscriber.recognizeDetailed has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0460643d968f81e3fac3e6cdfd6e139e6cd08f0bad88867197d9e22472e7454f"}},{"ruleId":"D1","level":"warning","message":{"text":"VocelloCapsuleSelector.body (cyclomatic 16): VocelloCapsuleSelector.body has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Views/VocelloCapsuleSelector.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fe68f023586645f7cc6555133dc3bc6487cb2c62dbcd01696dcc746eb78662"}},{"ruleId":"D1","level":"warning","message":{"text":"MacVoiceCloningScreen.syncCloneReferencePriming (cyclomatic 16): MacVoiceCloningScreen.syncCloneReferencePriming has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"d846bad9b158832209b73a6becc689937d218f39779574a24c3cae61612b6da0"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSMultilineTextView.updateUIView (cyclomatic 16): IOSMultilineTextView.updateUIView 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/iOS/IOSGenerationInputControls.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"419afba3c57f0795753816f6eac66b367da7c5db5f62dedc49215e1421357643"}},{"ruleId":"D1","level":"warning","message":{"text":"IOSStudioComposerCard.body (cyclomatic 16): IOSStudioComposerCard.body 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/iOS/IOSGenerationSharedViews.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acf5ba2a8f4778dd6fc2a6ca14daa90f6cfdcf78a9bedad3f739b02e0d037e5"}},{"ruleId":"D1","level":"warning","message":{"text":"sheets.RecordingOverlay (cyclomatic 16): sheets.RecordingOverlay has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e479d26e41c6ea82c464b025c5040ed4baefbeae0eed64660744392c0335d14f"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchCommand.run (cognitive 166): BenchCommand.run has cognitive complexity 166 (threshold 15). Drivers by points: if/else 48 (89 pts), boolean chains 29, ternaries 8 (19 pts), loops 6 (15 pts), error handling 3 (14 pts) (nesting depth added 72). 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/VocelloCLI/BenchCommand.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1436c344d637e80a410dd0d003ecee0bcf9151ad70ded223d9d6a3131514e36"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingExecutionContext.run (cognitive 143): StreamingExecutionContext.run has cognitive complexity 143 (threshold 15). Drivers by points: if/else 33 (78 pts), ternaries 17 (33 pts), boolean chains 21, error handling 6 (7 pts), loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 64). 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca7bde20888a11b3e3e2d4c5c2fc3eede2a192f380aca117666f353bdf04fb"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeEngineRuntime.prepareGeneration (cognitive 123): NativeEngineRuntime.prepareGeneration has cognitive complexity 123 (threshold 15). Drivers by points: if/else 38 (76 pts), ternaries 13 (28 pts), boolean chains 10, match/switch 2 (5 pts), error handling 2 (4 pts) (nesting depth added 58). Of this number, 121 points are the body\u0027s own statements and 2 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b55e4c826969e725655857045aa52a9e83bf8251d370f4d6c2df71908ed49f"}},{"ruleId":"D2","level":"warning","message":{"text":"PCM16StreamLimiter.append (cognitive 74): PCM16StreamLimiter.append has cognitive complexity 74 (threshold 15). Drivers by points: if/else 25 (64 pts), loops 2 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"552e04fe00a633731de8d35ebe50963e7891140be86217a564114b21274bbf32"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingExecutionContext.makeAudioQCReport (cognitive 70): StreamingExecutionContext.makeAudioQCReport has cognitive complexity 70 (threshold 15). Drivers by points: if/else 38 (40 pts), boolean chains 16, ternaries 13, loops 1 (nesting depth added 2). Of this number, 61 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":3312}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dc94ae9448a7d8519a93edc77a394eaebb29398b83e09a2a15abd37bbcb3be"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductionModelCatalog.validate (cognitive 69): ProductionModelCatalog.validate has cognitive complexity 69 (threshold 15). Drivers by points: boolean chains 32, if/else 17 (30 pts), loops 5 (7 pts) (nesting depth added 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/QwenVoiceCore/ProductionModelCatalog.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac3b9f15f2035a92721d114f83106d2dbca65dcdc9c9c3936469abba250e24d"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSLongFormProjectRunner.run (cognitive 65): IOSLongFormProjectRunner.run has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (46 pts), boolean chains 10, ternaries 1 (4 pts), error handling 2 (3 pts), loops 2 (nesting depth added 31). Of this number, 64 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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"0271820b5331e3ead6b8752effa2c53eceb1252069b14e5eaa7211bf0df0f936"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.runCloneConditioningAcceptance (cognitive 64): IOSDeviceDiagnosticsRunner.runCloneConditioningAcceptance has cognitive complexity 64 (threshold 15). Drivers by points: if/else 14 (36 pts), boolean chains 19, error handling 2 (4 pts), ternaries 1 (3 pts), loops 1 (2 pts) (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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8675b3d5341738a397f913063fc16295c52d8deb10aa491ac54dc1a70c70058"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchCodecReplay.run (cognitive 59): BenchCodecReplay.run has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 25, if/else 19 (25 pts), ternaries 5 (8 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/VocelloCLI/BenchCodecReplay.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b35a91fda7ca01d2043374475b5bc90cc382f8df28e379e4edf71521419b52"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSStartupReliabilityRunner.execute (cognitive 55): IOSStartupReliabilityRunner.execute has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (26 pts), ternaries 8 (17 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faa39bfe2279e3dee3896efa87ede40bd5437692bd371ffdd6243b0e034a258"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationHistoryOutboxStore.scan (cognitive 54): GenerationHistoryOutboxStore.scan has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (38 pts), error handling 3 (9 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 34). 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/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"48651f9a4a4028c2125cbe0079caf9247a93730feb1b1604ce2dc4c29af09337"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.runMemoryQualification (cognitive 53): IOSDeviceDiagnosticsRunner.runMemoryQualification has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (34 pts), error handling 4 (11 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 31). 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4884480b0877870d032125f01d14202e76dc1f2a1f63a6ba8ea70f142f44607a"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioQCSignalObserver.repetitionStripe (cognitive 52): AudioQCSignalObserver.repetitionStripe has cognitive complexity 52 (threshold 15). Drivers by points: if/else 8 (33 pts), loops 5 (12 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/AudioQCSignalObserver.swift"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"671042ca6de7d6cc999a758db83ea2dc4a7a57bbc80b9bf9832c8231342f247c"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceClipTranscriber.isValidConsistentEvidence (cognitive 51): VoiceClipTranscriber.isValidConsistentEvidence has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 46, 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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e9ad493ab4e1ab7e38e819119832262c97b0178012040ab1711aa2fb60082b"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAudioPreparationService.convertAudio (cognitive 49): NativeAudioPreparationService.convertAudio has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (29 pts), error handling 10 (13 pts), boolean chains 2, loops 1 (2 pts), ternaries 2, match/switch 1 (nesting depth added 19). 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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b175835281a49d1488fe067d9f0b84fd926c26af89e7676e2907ced445b8c6"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingExecutionContext.writeEngineTelemetryRecord (cognitive 49): StreamingExecutionContext.writeEngineTelemetryRecord has cognitive complexity 49 (threshold 15). Drivers by points: if/else 28 (38 pts), boolean chains 5, ternaries 2 (3 pts), match/switch 2, 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0336efe5320b2c638651e62f28d05c35cd0872bf6281f536857e19d620ce5a4"}},{"ruleId":"D2","level":"warning","message":{"text":"MacGenerationWarmupCoordinator.scheduleWarmupIfNeeded (cognitive 46): MacGenerationWarmupCoordinator.scheduleWarmupIfNeeded has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 17, error handling 2 (3 pts), ternaries 1 (2 pts), 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/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e60655a78eb135134496b8b35f1667c9e208a46b11fdbced332321374d051e"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopEngineHost.enrollVoice (cognitive 45): DesktopEngineHost.enrollVoice has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 7, match/switch 4 (7 pts), error handling 2 (4 pts), ternaries 2 (3 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/VocelloDesktopCore/DesktopVoiceEnrollment.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ff086f6ce56518434ba0e3d0f02f76089f7a70a48e4fbae4eaddefa5fdf53"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.requireQualificationTelemetry (cognitive 45): IOSDeviceDiagnosticsRunner.requireQualificationTelemetry has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 30, if/else 12 (13 pts), error handling 2 (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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a782cac9df960c9c9d3d118078cd4001f9f006f4a837ba9a94d259d281c9046a"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchCommand.run (cognitive 44): BatchCommand.run has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 5 (14 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 20). 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/VocelloCLI/BatchCommand.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e3e8304500c0264f9441906d03f6cad463e933b169cd99287bb8953d2f337a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsCommand.runVerify (cognitive 44): ModelsCommand.runVerify has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 9 (12 pts), loops 5 (12 pts), boolean chains 4 (nesting depth added 20). 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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5124a53faf87a398b737afe4ebc3ac55214f66a5eb9061c1084db65f5adf1"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsCommand.run (cognitive 43): ModelsCommand.run has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 5 (10 pts), loops 4 (8 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"114256babad0591098d32ad5e7d4693f8fc5b4bcb25a97900091ec4b43054a50"}},{"ruleId":"D2","level":"warning","message":{"text":"VoicesCommand.run (cognitive 43): VoicesCommand.run has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (25 pts), ternaries 3 (8 pts), loops 3 (7 pts), boolean chains 2, match/switch 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/VocelloCLI/VoicesCommand.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e843ea849810eea66e45088d04a61e5eef2b2779398a86197a662294503acc"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedVoiceRepository.reconcileCommitTransaction (cognitive 42): PreparedVoiceRepository.reconcileCommitTransaction has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 19). 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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf7c3f85ef3b2d13264c1787c1aedd088c8e09a2cbdb2b8ea9df04550785e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSVoiceDesignView.body (cognitive 42): IOSVoiceDesignView.body has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 8, error handling 2 (6 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a464eb4de6e4b014d807c1e345a4cefca9055cd0ee99d59615e2d0eb363b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.runVoiceReliabilityExport (cognitive 40): IOSDeviceDiagnosticsRunner.runVoiceReliabilityExport has cognitive complexity 40 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 12, ternaries 3 (9 pts), loops 2 (4 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"536974d419f05617c5cdb13bedd8debdd77495d8ce4a493e3fa32821acf61364"}},{"ruleId":"D2","level":"warning","message":{"text":"RunCommand.runRequests (cognitive 37): RunCommand.runRequests has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (27 pts), error handling 2 (5 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/RunCommand.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f38f0479ad6d4e7be11515d7b9f3719634bbec6c2389494177a8c3c9478fec"}},{"ruleId":"D2","level":"warning","message":{"text":"LongFormManifestV4.validated (cognitive 36): LongFormManifestV4.validated has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 8, loops 4 (7 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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9839187a960cee77646c8a9163e2437e2439486346148e10308fbe884b1087"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchCodecLoop.run (cognitive 36): BenchCodecLoop.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7, loops 3 (5 pts), error handling 3 (4 pts), ternaries 2 (4 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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe5beca33bc00d5f390de48967dbb2854b8856b5b20d230740b8018de642bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"site-contract.validateText (cognitive 36): site-contract.validateText has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 6 (10 pts), boolean chains 3 (nesting depth added 17). 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":"website/scripts/site-contract.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6eb6560071a7e4ca3b177aafdfe3953e775c10846c450eae53e55f5365623d9"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationStreamingTelemetryV9Bridge.make (cognitive 35): GenerationStreamingTelemetryV9Bridge.make has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 8 (10 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 3). Of this number, 31 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c33612e7b86a2836e70f5247263404f7f3993a8b91aae9ed62b9ea2432a246"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceDownloader.runChunkTransfers (cognitive 35): HuggingFaceDownloader.runChunkTransfers has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 5 (11 pts), error handling 3 (8 pts), boolean chains 1, ternaries 1 (nesting depth added 20). 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"e264f0e4a2f0b9fd3eba242c89c89fe31cb966d712ca403142dee6c3bab1d7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchCodecRoundTrip.run (cognitive 35): BenchCodecRoundTrip.run has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 6, error handling 3 (4 pts), ternaries 2 (4 pts), loops 2 (3 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/VocelloCLI/BenchCodecRoundTrip.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2eed7e9d4fae0639f4ce77f67cfc520281c034ca3adfc93bf71d0080562521f"}},{"ruleId":"D2","level":"warning","message":{"text":"DoctorCommand.run (cognitive 35): DoctorCommand.run has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 9 (11 pts), boolean chains 2, loops 1 (2 pts), error handling 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/VocelloCLI/DoctorCommand.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c9ec8d3790bbdaf76537deac4cd7c1888502f1d84d45f52270bb14e588db19"}},{"ruleId":"D2","level":"warning","message":{"text":"CodecRoundTripEvidence.monoPCM16Samples (cognitive 34): CodecRoundTripEvidence.monoPCM16Samples has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 15, match/switch 1 (2 pts), 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/QwenVoiceCore/CodecRoundTripEvidence.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a27ac012e979e666cb7da585913d0d5d86349a32fc54dd71b803abbf3dabf30"}},{"ruleId":"D2","level":"warning","message":{"text":"LongFormHistoryAcceptanceStore.commit (cognitive 34): LongFormHistoryAcceptanceStore.commit has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (22 pts), error handling 3 (8 pts), match/switch 1 (2 pts), boolean chains 1, loops 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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2afb27109588a47fcd0c3df21fef2e7bbbd454752089b2502e8fbcde37ea97"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.run (cognitive 34): IOSDeviceDiagnosticsRunner.run has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 5 (11 pts), boolean chains 2, error handling 2 (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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc712a27e6a9fabf2aed56eef5fd6fb8710ca4f2f6fd24fcf98068c379549380"}},{"ruleId":"D2","level":"warning","message":{"text":"QualityGateRegistry.evaluate (cognitive 33): QualityGateRegistry.evaluate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 5 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/GenerationQualityReport.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4976b2c156db1dbdeed3a456c61435730b4f6ce5d110d5497f0da21e08a7a4dd"}},{"ruleId":"D2","level":"warning","message":{"text":"MLXModelLoadCoordinator.loadModel (cognitive 33): MLXModelLoadCoordinator.loadModel has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 8, boolean chains 7, error handling 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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"976051fa3c37aff34fc09b500fcbb6b64a47ef18d432392c26f0946eb2654986"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalModelAssetStore.deepIntegrity (cognitive 33): LocalModelAssetStore.deepIntegrity has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 11, 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/QwenVoiceCore/ModelAssets.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5b0450e78bb18eb55c3650ad21f81be8d0aa302b73375ee6062204d5700eb8"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateCommand.run (cognitive 33): GenerateCommand.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 2 (5 pts), boolean chains 2, match/switch 1 (2 pts), error handling 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/VocelloCLI/GenerateCommand.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd56ff19f861644909d90b49a3b2cb62ad948c98f3deda8e88ceb3f021aa6768"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSVoiceCloningView.generate (cognitive 33): IOSVoiceCloningView.generate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 7, error handling 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d8739bd4006cad05cedf4a1b167b975790b6cb0730416a51cb8cab37b2d808"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceDownloader.downloadFile (cognitive 32): HuggingFaceDownloader.downloadFile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 1 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 20). 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d127825a3751d20754e23a5515e9c303b1909dbbbfaa45172fa05487e3f929"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagnosticPrivacy.redactingExceptionReasons (cognitive 31): DiagnosticPrivacy.redactingExceptionReasons has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (8 pts), boolean chains 5 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/DiagnosticPrivacy.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36aadf8dc8197ef7eb01c4f8a72937e6d6a126223ead0a3a2c116cfe908c0a8"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationFailureDiagnosticLogger.errorMetadata (cognitive 31): GenerationFailureDiagnosticLogger.errorMetadata has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (19 pts), match/switch 6 (12 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/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e21823cc3e7f8b146d88a5c6381b931b4d0da853c79f3d7c4d5665cf815e596"}},{"ruleId":"D2","level":"warning","message":{"text":"PCM16LeadingSilenceGate.filter (cognitive 31): PCM16LeadingSilenceGate.filter has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 4 (11 pts), boolean chains 3, 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d041cd6760f98414881c95a6c01776e6ac0250c10a122f412bec1fe5e5adb89"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceDownloader.downloadTemporaryFile (cognitive 31): HuggingFaceDownloader.downloadTemporaryFile has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 4, error handling 1 (3 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"407ff9b44d97e4ce528ac835085280b5123eef380f5a15ece0bab0138aee0bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"MLXTTSEngine.generate (cognitive 30): MLXTTSEngine.generate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (10 pts), error handling 3 (5 pts) (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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cee1e61bbcbf52c774e2df3901dc042e110d146201de6c77c575b91b94f2ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIFailure.classify (cognitive 30): CLIFailure.classify has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 3 (6 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/Core/Contract/CLIFailure.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9f76528dcb4e076722c4ef173014b3165aafae82bc5353649dded3a1cf44af"}},{"ruleId":"D2","level":"warning","message":{"text":"LongFormPlanner.scanWindow (cognitive 29): LongFormPlanner.scanWindow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c2ccff4257e31e0b739579dce630b2dc0aafbeefa6863d7658e5432159d64e"}},{"ruleId":"D2","level":"warning","message":{"text":"RunCommand.report (cognitive 29): RunCommand.report has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 1 (4 pts), boolean chains 2, loops 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/VocelloCLI/RunCommand.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ba230f818d5c72a0a014e8a7e2be3802d4fc8172993d99f8887d7592adedff"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSLongFormProjectRunner.regenerateSegment (cognitive 29): IOSLongFormProjectRunner.regenerateSegment has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1, 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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0492e4a3062588535bb61350ea58c84c767089f19b92a1f93ba6c4959af8fc5"}},{"ruleId":"D2","level":"warning","message":{"text":"rendered-contract.validateRenderedMarkup (cognitive 29): rendered-contract.validateRenderedMarkup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 6 (7 pts), boolean chains 4 (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":"website/scripts/rendered-contract.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5445833afbc08d46e8e6b4d69074ca0a116029a6177fdb14922518d2803b45a"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationStreamingTelemetryV9.validate (cognitive 28): GenerationStreamingTelemetryV9.validate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (22 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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfc7eaf465805313dca7ed5d0e96f2bf2bce59a328b3fd327499315c352d1cb"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedModelComponentStore.installStagedModel (cognitive 28): SharedModelComponentStore.installStagedModel has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (5 pts), boolean chains 3, error handling 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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aa0fe4962919f2971d4e4b0dceaeec27859c8c05557c19f37d58646199890e"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAudioPreparationService.decodedMonoSamples (cognitive 27): NativeAudioPreparationService.decodedMonoSamples has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (8 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 2 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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc67c74331913fc9528652ebf9d6ca69d2ad288740a856813ced17e8c7425bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptUnits.init (cognitive 27): ScriptUnits.init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (23 pts), match/switch 1 (2 pts), boolean chains 1, 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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f858426ebef101b18dc0d8c605b5771918c5fb647ab54456d5bcfd432f993fd"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIGenerateRequest.parse (cognitive 27): CLIGenerateRequest.parse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 3 (8 pts), boolean chains 2, 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/VocelloCLI/Core/Contract/CLIGenerateRequest.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"297d78a32204cb98f10b85ce3d2ebb6118f78955c208091680811f847d6432c4"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSModelDownloadLedger.validated (cognitive 26): IOSModelDownloadLedger.validated has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 22, if/else 2 (3 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/QwenVoiceCore/IOSModelDownloadLedger.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde20f262ba1ba21bb85eeeb391c002e00e207d4cc75234b0645e3fa60e27a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedVoiceRepository.commit (cognitive 26): PreparedVoiceRepository.commit has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 4 (5 pts), ternaries 2, boolean chains 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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"52608ed840271731d96032f8fe953086ec2d01aa94927cac624128269cab19a2"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceClipTranscriber.enrollmentResult (cognitive 26): VoiceClipTranscriber.enrollmentResult has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 4 (5 pts), boolean chains 4, 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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d409eb99e8c9222c7e7d2ba931fe06de31843d86b3636a70faabf5b9995f19cb"}},{"ruleId":"D2","level":"warning","message":{"text":"ShippingChunkObservationV9.validate (cognitive 25): ShippingChunkObservationV9.validate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 9 (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/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"75caef359e29b7964e62f070d7c91334f6ac3ce3a1795eeac8755a154eedf956"}},{"ruleId":"D2","level":"warning","message":{"text":"CLICompletionGenerator.zsh (cognitive 25): CLICompletionGenerator.zsh has cognitive complexity 25 (threshold 15). Drivers by points: loops 12 (18 pts), if/else 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/Core/CommandModel/CLICompletionGenerator.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6c0956ddc0b23422b0ad917497645efa372461bab4a0d189cc7144cfd9fbe0"}},{"ruleId":"D2","level":"warning","message":{"text":"app.App (cognitive 25): app.App has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, ternaries 5 (nesting depth added 3). Most of this is not in the body itself: 12 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 148, a function literal at line 179, a function literal at line 192, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/app.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c03c57d6339ea21858bfcb67c5fcaca2b87a045aa3c4e9e9c6a239b3e5c0c9"}},{"ruleId":"D2","level":"warning","message":{"text":"studio.Studio (cognitive 25): studio.Studio has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 21, ternaries 3 (4 pts) (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":"design_references/Vocello iOS/studio.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad20344b87abef10e09e27e76408ddf00fcb2fe640a4d3d20d5a4ebb2064441"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationQualityReportProducer.fastReport (cognitive 24): GenerationQualityReportProducer.fastReport has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, match/switch 2 (3 pts), ternaries 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/QwenVoiceCore/GenerationQualityReportProducer.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"205de6b55ad91f5847cebab79c1611975f27c8e9995cf1aa63172b2491186f94"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationTelemetryJSONLSink.pruneJSONLFromFront (cognitive 24): GenerationTelemetryJSONLSink.pruneJSONLFromFront has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, loops 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/QwenVoiceCore/GenerationTelemetryJSONLSink.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5916f010cd54949ed33029df0c75b8b79600b0c2f0fb9cca06667e8336cc7f74"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceDownloader.runDownload (cognitive 24): HuggingFaceDownloader.runDownload has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (6 pts), boolean chains 3 (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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18f554d93eb4cca0382e054eea8210da49af1abb95a928f8e5f14c0bf4d5dec"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSUnloadQuiescenceEvaluator.violations (cognitive 24): IOSUnloadQuiescenceEvaluator.violations has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 6 (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/QwenVoiceCore/IOSUnloadQuiescence.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea9f24ddec85350866ec206a5ad355c2eee47a41ba6377a9edbcdc6d1dab386"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeEngineRuntime.recordGenerationPlanShadow (cognitive 24): NativeEngineRuntime.recordGenerationPlanShadow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, match/switch 2 (4 pts), ternaries 2 (4 pts), error handling 2 (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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1782cf2d9ed8cd69d4b0d453564df0752248c76ffd4c3265b33f0f332b5ce85"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedModelComponentStore.replaceModelWithSharedLinks (cognitive 24): SharedModelComponentStore.replaceModelWithSharedLinks has cognitive complexity 24 (threshold 15). Drivers by points: error handling 7 (9 pts), if/else 4 (9 pts), loops 2 (4 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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b895106dcfc2f69e43fe905b9de61af7bbe27f5e85c6a6a0feb337a1b67c85a2"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIHelpRenderer.command (cognitive 24): CLIHelpRenderer.command has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 3 (6 pts), ternaries 2 (6 pts), boolean chains 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/VocelloCLI/Core/CommandModel/CLIHelpRenderer.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f30fbfa8576ad2d84009117b126724c0e3f07a64e461f6071ee3ffcdb1a7bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseAll (cognitive 24): Parser.parseAll has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7, ternaries 3, 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/VocelloCLI/Core/CommandModel/CLIParser.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ee8d13f8918f641601cfc89058514c334046e968b6879425b23f1f024ce686"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIEventStream.writeLoop (cognitive 24): CLIEventStream.writeLoop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 3, loops 2 (3 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/VocelloCLI/Core/Contract/CLIEventStream.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f73adce710a14bd442f8e1478256fc11208f8126324c2518fb60656bd853f3"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.runSpeechAssetBootstrap (cognitive 24): IOSDeviceDiagnosticsRunner.runSpeechAssetBootstrap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (5 pts), boolean chains 2, error handling 2, loops 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59e260d0d6b96ef54b68cca7ec789211eb1a133a9f419b0d34e24d249b75b4d"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAudioPreparationService.resampledToCanonicalRate (cognitive 23): NativeAudioPreparationService.resampledToCanonicalRate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, ternaries 2 (4 pts), 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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a6f278295fe4caf2dfee59b777a04f6c255e4fc247172c019d6a517749c6fc"}},{"ruleId":"D2","level":"warning","message":{"text":"Qwen3TTSRuntimeProfile.validate (cognitive 23): Qwen3TTSRuntimeProfile.validate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (22 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/QwenVoiceCore/Qwen3TTSRuntimeProfile.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a555eed05e53766942917d71cd3723c5512341871eb1e6d0828141d87b81ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationOutputVerifier.evaluate (cognitive 23): GenerationOutputVerifier.evaluate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, ternaries 2 (4 pts), match/switch 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/SharedSupport/Services/GenerationOutputVerifier.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"065d03647eefba6a4ab9a561a4c9e6b039c3ee765ce292be7691acf65b8f66f2"}},{"ruleId":"D2","level":"warning","message":{"text":"MacHistoryDisplayEntry.entries (cognitive 23): MacHistoryDisplayEntry.entries has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (6 pts), match/switch 2 (4 pts), boolean chains 2 (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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ed0808dbac5c39341615728e0ca61ba5d902662d1c292d2f6c80e246f10ee9"}},{"ruleId":"D2","level":"warning","message":{"text":"MacSavedVoiceSheet.body (cognitive 23): MacSavedVoiceSheet.body has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 5, ternaries 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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"40124d29583f3efddd3b9fd7ffdee8464b091f30b10af76c4773dc2f8b845fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"CLICompletionGenerator.fish (cognitive 23): CLICompletionGenerator.fish has cognitive complexity 23 (threshold 15). Drivers by points: loops 8 (14 pts), if/else 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/Core/CommandModel/CLICompletionGenerator.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c787c8933fc44883f9dae8c3d7ddd921ca811f3bed677ed6fce461bb7664bd"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopAppSettings.set (cognitive 23): DesktopAppSettings.set has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (2 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/VocelloDesktopCore/DesktopAppSettings.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c822265f80375546e443823774d60474d9b6f4020f334980a74fc42efd789f02"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSStartupReliabilityRunner.run (cognitive 23): IOSStartupReliabilityRunner.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (2 pts), error handling 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/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6411892f1c57ac217eef1d178f7d1950cf189094659c4a75b541a0f694d1bd"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioQCSignalObserver.loudnessMeasures (cognitive 22): AudioQCSignalObserver.loudnessMeasures has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), boolean chains 1, ternaries 1 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 3 belong to 3 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/QwenVoiceCore/AudioQCSignalObserver.swift"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23686bda8c773745f26bf6e089d76dc0437f49ee367a872d749a7c499720c36"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelDownloadRetryPolicy.disposition (cognitive 22): ModelDownloadRetryPolicy.disposition has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 4 (8 pts), boolean chains 2, 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/QwenVoiceCore/ModelDownloadContracts.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafb481d413da4f336cb2b5ac587f6741d0d27a4690ba3a8d5d2206e215ac086"}},{"ruleId":"D2","level":"warning","message":{"text":"NativePreparedCloneConditioningCache.resolveVoiceClonePrompt (cognitive 22): NativePreparedCloneConditioningCache.resolveVoiceClonePrompt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, error handling 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/QwenVoiceCore/NativeCloneSupport.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0323513b8108eb0cfc878f523ccfec6d861374eac69308ee5e52ebe5cebdd1e8"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedVoiceRepository.removeDerivedCloneReferences (cognitive 22): PreparedVoiceRepository.removeDerivedCloneReferences has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (6 pts), boolean chains 3 (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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fcc8ccba5d6035710e8e496770b07d70d54f7324ce7df9196b6d44b7ac0cf4"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.option (cognitive 22): Parser.option has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 4 (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/VocelloCLI/Core/CommandModel/CLIParser.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8c2d8ceba9c9da943334a6fde61f62cedadbaf36f3d6193c68e4edfd928f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIRequestLedger.pruneHoldingLedgerLock (cognitive 22): CLIRequestLedger.pruneHoldingLedgerLock has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, match/switch 1 (2 pts), 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/VocelloCLI/Core/Contract/CLIRequestLedger.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcfec51a5beb30635971e705e7361d4e5b4b70f16961a984f7bf6b149dcc7d8"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopModelInventory.verify (cognitive 22): DesktopModelInventory.verify has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (6 pts), boolean chains 2, 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/VocelloDesktopCore/DesktopModelInventory.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"27393eae03643557d6019ab02ed925fb84b073d82f02b255aeba2eb5c854bfce"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSCustomVoiceView.generate (cognitive 22): IOSCustomVoiceView.generate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (6 pts), boolean chains 2, error handling 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa070066abbf627d0451950b936f4ef433c4b18eefae45a56bed04bd800276c"}},{"ruleId":"D2","level":"warning","message":{"text":"QVoiceiOSApp.body (cognitive 22): QVoiceiOSApp.body has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, match/switch 1 (3 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/iOS/QVoiceiOSApp.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caabad6e0ff3961954a0bdfeb40bfdbdf9bce30fa2bd2dffe479876d6c3b8ae"}},{"ruleId":"D2","level":"warning","message":{"text":"TTSEngineStore.syncFromSnapshot (cognitive 22): TTSEngineStore.syncFromSnapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 6 (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/iOS/TTSEngineStore.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8a847fda4920637387d88c64dc04cca8abd8f2cee004d4b75ddd006542c440"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationStreamingTelemetryV9Publication.makeCompleteDocument (cognitive 21): GenerationStreamingTelemetryV9Publication.makeCompleteDocument has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 15, if/else 6. 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/QwenVoiceCore/GenerationStreamingTelemetryV9Publication.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f78f96c08b73b9d4287c85afdf381eb8bd829203452a10cc77bf0e2fbc78f33"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryPersistenceError.classify (cognitive 21): HistoryPersistenceError.classify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 6, match/switch 2 (4 pts) (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/SharedSupport/Database/HistoryPersistenceError.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef0112aecc91d7d5a02893c1b41b4692ff97692675a65c5f264faa4f48199dd"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceClipTranscriber.audibleSpan (cognitive 21): VoiceClipTranscriber.audibleSpan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (6 pts), boolean chains 2, error handling 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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133249ad2867bc138f5d62d259e507556071c650ae9e9cee4b62413bd9b85d3"}},{"ruleId":"D2","level":"warning","message":{"text":"MacHistoryScreen.reloadHistory (cognitive 21): MacHistoryScreen.reloadHistory has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cae8c49d5c47619d45f8dc51d7a38320871ae4c477ce72f69800db10220557"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.screenView (cognitive 21): ContentView.screenView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContentView.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"615fc29f217618e2609ee8de03aeace3d697080708a89fb32ffa5642ef5df7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSStudioComposerCard.body (cognitive 21): IOSStudioComposerCard.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8 (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/iOS/IOSGenerationSharedViews.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5475f285c3c2e1166586ba7682f334c676ca421919b17bcd956188f766d578ea"}},{"ruleId":"D2","level":"warning","message":{"text":"WAVDataLayout.init (cognitive 20): WAVDataLayout.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8, loops 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/QwenVoiceCore/AudioPublicationMarking.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"77583c0150ee065bc7477b056b523dfd3676370076a5572b410efc7a018084a2"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSStartupReliabilityLaunchSpec.validate (cognitive 20): IOSStartupReliabilityLaunchSpec.validate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, loops 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/QwenVoiceCore/IOSStartupReliabilityPlan.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e69bf35af405182243d61168ed6710280b58cc1618deb218746cd5767c4044"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedVoiceRepository.reconcileLocked (cognitive 20): PreparedVoiceRepository.reconcileLocked has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (4 pts), loops 2, 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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"739fbb279a9b5d083860a1baafaa06a19ffc6778ca28547f1e74d63320462f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationHistoryPageQuery.fetch (cognitive 20): GenerationHistoryPageQuery.fetch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4 (6 pts) (nesting depth added 6). 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/SharedSupport/Database/GenerationHistoryPage.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9da17b1df71e475530523e11b3180c8b464f6628b647e8e88ab3bc2097b5a34"}},{"ruleId":"D2","level":"warning","message":{"text":"LongFormHistoryAcceptanceStore.prepare (cognitive 20): LongFormHistoryAcceptanceStore.prepare has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (5 pts), loops 2 (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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf2b833b0bc1894b9b378ee78a7d261762e3140d3dad178d0d792d6a9f753ef"}},{"ruleId":"D2","level":"warning","message":{"text":"AppGenerationTimeline.recordCompleted (cognitive 20): AppGenerationTimeline.recordCompleted has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3 (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/SharedSupport/Telemetry/AppGenerationTimeline.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"253c9731bb6a90d8a41b28257e1ca613c1688026a06a3a50c33c35de1fc7d9be"}},{"ruleId":"D2","level":"warning","message":{"text":"MacShellStatusPresentation.resolve (cognitive 20): MacShellStatusPresentation.resolve has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 3 (4 pts), match/switch 2, 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/Views/Shell/MacShellStatus.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33c034207cfa6da477eb52ef1b26ab9e252a932c3d96968ab341c6f7ac8abbb"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateCommand.generateObservingFirstChunk (cognitive 20): GenerateCommand.generateObservingFirstChunk has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, match/switch 1 (2 pts), error handling 1, loops 1, ternaries 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/VocelloCLI/GenerateCommand.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a79d2f6b0a9b1b89261f6d98d0bc0e1844e492b1281f115f6690d8cb7f30b4"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTool.commandLine (cognitive 20): MCPTool.commandLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2, match/switch 1 (2 pts), boolean chains 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/VocelloCLI/Core/MCP/MCPTools.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f628f2fe5ea3fc98a2cb0b9e4067c57aecbea857b59a941c09ad640d8d13619b"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSModelDownloadCoordinator.restoreInFlightDownloadsIfNeeded (cognitive 20): IOSModelDownloadCoordinator.restoreInFlightDownloadsIfNeeded has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 1 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts), error handling 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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b099bbefd70ce914df1bf06b8ed5ffc65f879d8b76bb25af8e58afebe86bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSHistoryLibrarySection.makeGroupedItems (cognitive 20): IOSHistoryLibrarySection.makeGroupedItems has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (5 pts), boolean chains 4 (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/iOS/History/HistoryScreen.swift"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4633354042ca059231eebf732f6bae7a9471fefcec1fb0e64304fd494431c751"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSRecordVoiceSheet.body (cognitive 20): IOSRecordVoiceSheet.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 3 (4 pts), match/switch 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/iOS/Voices/IOSRecordVoiceSheet.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77d6b0bd27432d9716c8490ba28501b97bf155c5d32ae638d60f428f923a21b"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSPullableDiagnosticsMirror.syncGenerationTelemetry (cognitive 20): IOSPullableDiagnosticsMirror.syncGenerationTelemetry has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (3 pts), boolean chains 2, 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/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bfcfeaa469b6565ef4ddf64c2381549799d2547a7af5c1f03a77d4c6c54f31"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedGenerationEventChannel.send (cognitive 19): BoundedGenerationEventChannel.send has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5 (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/QwenVoiceCore/GenerationEventDeliveryProbe.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b04f24cbef842160ff0da705fc1366f25a2fc48a5ef26158d7db23d493023ed"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingExecutionContext.computeDerivedMetrics (cognitive 19): StreamingExecutionContext.computeDerivedMetrics has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":3722}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcfff9519f88a683ac400ff9e005ab8b45b873d6e0bd40a7b445b94e2731321"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationStreamingTelemetryV9Publication.isPublicationReady (cognitive 19): GenerationStreamingTelemetryV9Publication.isPublicationReady has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 19. 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/QwenVoiceCore/GenerationStreamingTelemetryV9Publication.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a51fbfa214376f624bc3472155fce8d2836dda267c9dbe760004ac0a5057cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedLongFormAssembler.assemble (cognitive 19): BoundedLongFormAssembler.assemble has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, error handling 2, loops 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/QwenVoiceCore/LongFormAssembly.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0d28980d8a93aeb6be430a6082f5e84fe0eb6aa48d3c7d66a430907250132b"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeEngineRuntime.prepareInteractiveReadiness (cognitive 19): NativeEngineRuntime.prepareInteractiveReadiness has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (5 pts), boolean chains 1, 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ef5fcbd4bc30fe363d41fad348f6f1e3ae71508a0c08a18e39780f17203fd2"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedVoiceRepository.publishClonePromptArtifact (cognitive 19): PreparedVoiceRepository.publishClonePromptArtifact has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts), ternaries 1 (2 pts) (nesting depth added 2). 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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99f04dee3c296bb21905cadfcba9f721f19bd3df73c7bbfa07a2421e814fe12"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceClipTranscriber.segmentationAwareDistance (cognitive 19): VoiceClipTranscriber.segmentationAwareDistance has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 3 (5 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9126a4cf1d6160856050c67ba3631669a7a721a1e0f58dcb1a467889e88eb183"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSModelInstallerViewModel.apply (cognitive 19): IOSModelInstallerViewModel.apply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, match/switch 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/iOS/IOSModelInstallerViewModel.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68c20b0d4cb06d97f7ccb485ac7c20da92d35ec206f64916182aa1225cbb843"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSRecordVoiceSheet.performEnroll (cognitive 19): IOSRecordVoiceSheet.performEnroll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (4 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/iOS/Voices/IOSRecordVoiceSheet.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"586887f0aafecc5669eedfa9ed5cfb8afdb1adef8751cbbcd5fb5183a3efd57f"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSLeftoverAudioAnalysis.listing (cognitive 19): IOSLeftoverAudioAnalysis.listing has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 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/iOSSupport/Services/IOSLeftoverAudioAnalysis.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc5b4a2902e6d0e9b5f8030ba12ca0d389ed64bdae20e1e5155189ed062ea5a"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioSpeakingRateQC.conservativeUnits (cognitive 18): AudioSpeakingRateQC.conservativeUnits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":4023}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a95b10699c78b80979d3a8f7653e5a8e69f070ef3792618326fc4dadfa592a"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryDeletionEngine.deleteUnit (cognitive 18): HistoryDeletionEngine.deleteUnit has cognitive complexity 18 (threshold 15). Drivers by points: loops 6 (9 pts), error handling 3 (5 pts), if/else 2 (4 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2370a381bad02eb79d0194d6f16f110c6df5edfc1b1ece0e63abf083f339e307"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedLongFormAssembler.write (cognitive 18): BoundedLongFormAssembler.write has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 2 (3 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/QwenVoiceCore/LongFormAssembly.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c6da9bdd556821901c7fb46aef4e7f608154ce165ee9a47a88d313800180af"}},{"ruleId":"D2","level":"warning","message":{"text":"LongFormPlanner.plan (cognitive 18): LongFormPlanner.plan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, 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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a532564109a63f61d215d0d15be7aea8f48de7fb136707748ca59849dc0163"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeEngineRuntime.ensureWarmStateIfNeeded (cognitive 18): NativeEngineRuntime.ensureWarmStateIfNeeded has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (3 pts), error handling 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5fe3615346bec7dab14580971093e26566e2a87bda17d2c036efef2521d371"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedModelComponentStore.audit (cognitive 18): SharedModelComponentStore.audit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 1 (3 pts), boolean chains 2, 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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"935fcab1ce0b52cf5ce8088202a755e6bca4290f38df0a1a7fe26c3100987c26"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelManagerViewModel.localModelInfo (cognitive 18): ModelManagerViewModel.localModelInfo has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 4 (5 pts), match/switch 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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"d156ea82ee22d84218caafe2e37dfc4c2bfcca62698d75265ef61f26b059f00d"}},{"ruleId":"D2","level":"warning","message":{"text":"MacSavedVoiceSheet.saveVoice (cognitive 18): MacSavedVoiceSheet.saveVoice has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), error handling 2 (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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced85c5aa50a274d885661039aa2bbd269476385b9db93286ef81a92b07c558a"}},{"ruleId":"D2","level":"warning","message":{"text":"DeliveriesCommand.run (cognitive 18): DeliveriesCommand.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (8 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/VocelloCLI/DeliveriesCommand.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"622092491e80c86a6442630e325b3b64cdeabbde069c85349956698d5f4eb684"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSDeviceDiagnosticsRunner.buildPayload (cognitive 18): IOSDeviceDiagnosticsRunner.buildPayload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 1 (3 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75fed45962cd44529773f8bd3f4bb2377628e5f9328fec6fb41f3a568311e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSModelInstallerViewModel.state (cognitive 18): IOSModelInstallerViewModel.state has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, 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/iOS/IOSModelInstallerViewModel.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c39f585fe33d85cf33f9b0f684e48a6b77ada699f644360bc3796b541440b7"}},{"ruleId":"D2","level":"warning","message":{"text":"player.PlayerSheet (cognitive 18): player.PlayerSheet has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 1. Of this number, 10 points are the body\u0027s own statements and 8 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":"design_references/Vocello iOS/player.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd48192f7649c850ca1047334bde31adc9be630185346bae5cae6005639f6d05"}},{"ruleId":"D2","level":"warning","message":{"text":"sheets.VoicePickerSheet (cognitive 18): sheets.VoicePickerSheet has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 4 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. 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":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c894158a01cad39f0cacfff0dda0a5214dba463cae835cdac805456354de2ba"}},{"ruleId":"D2","level":"warning","message":{"text":"site-contract.validateTokenContrast (cognitive 18): site-contract.validateTokenContrast has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 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":"website/scripts/site-contract.mjs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4790f4c29e1786c0f23cf7779c71ccb03b0ace52bf3b0a4b03c928455c4b2cf"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineHostLeaseKeeper.settle (cognitive 17): EngineHostLeaseKeeper.settle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, match/switch 1 (nesting depth added 5). 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/DesktopShared/EngineHostLease.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb31a8767c86a31e3cbacf827aab49d56b4ef165ee5844d0860f2ae8875dd81"}},{"ruleId":"D2","level":"warning","message":{"text":"CodecLoopMutationEvidence.decodeJob (cognitive 17): CodecLoopMutationEvidence.decodeJob has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, error handling 1, loops 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/QwenVoiceCore/CodecLoopMutationEvidence.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8e7afe1fb791d0a194a8d4307e326cbe7239e760b76e219acba2fb148b2773"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationOutputAdapter.runReservedTake (cognitive 17): GenerationOutputAdapter.runReservedTake has cognitive complexity 17 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 4 (7 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a23a279600f687072f70ff01ff508e14f8bfda59af79b4d8a8f2ff7df2ffd3"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingExecutionContext.makePersistedWAVAudioQCReport (cognitive 17): StreamingExecutionContext.makePersistedWAVAudioQCReport has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, 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, 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"277f722b247555489e91e3c180a188a54b238bee6982ea05c49ee444f1cde7f5"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeGenerationTerminalClassifier.disposition (cognitive 17): NativeGenerationTerminalClassifier.disposition has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9906736825ee1941522a0d10e7ceb546feee317c68daf91eb3ef69514cfe113"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedModelComponentStore.reclaimUnreferencedComponents (cognitive 17): SharedModelComponentStore.reclaimUnreferencedComponents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 5 (7 pts), error handling 1 (2 pts), boolean chains 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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"3067f07af0957b11dc003c27c74b4ed9c586a35f21f701b2ddae21e85bf35ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationPersistence.emitClonePromptMetricsIfNeeded (cognitive 17): GenerationPersistence.emitClonePromptMetricsIfNeeded has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, loops 3, ternaries 1 (3 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/SharedSupport/Services/GenerationPersistence.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"538b4962629ca3ea78e1de2e30e26dbd04154e7bc7b5649dc0ef09a209374480"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceClipTranscriber.recognizeDetailed (cognitive 17): VoiceClipTranscriber.recognizeDetailed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3, boolean chains 2, error handling 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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"081b056fc0efb37a41ca4f2c49abc0528d0d0aab2505fe885466b78d9d4722c0"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveformService.extractSamples (cognitive 17): WaveformService.extractSamples has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (6 pts), if/else 3 (4 pts), boolean chains 3, error handling 1 (2 pts), ternaries 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/SharedSupport/Services/WaveformService.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efb5df471d47d6d71d6cb97cb7e2b1a52feb5cd07067a9ed971723bc107f5d1"}},{"ruleId":"D2","level":"warning","message":{"text":"WordTimingPlanner.plan (cognitive 17): WordTimingPlanner.plan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/SharedSupport/Services/WordTimingPlanner.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b35cc1fc87592338124012eb79d5f6346872c41ebeb6b6c6fb743d4fd6512b"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPlayerViewModel.updatePlaybackProgress (cognitive 17): AudioPlayerViewModel.updatePlaybackProgress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/ViewModels/AudioPlayerViewModel.swift"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8736881af0b89627f0041410a38015736accbf94ab376786eeea0a956320019a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelManagerViewModel.runModelDownload (cognitive 17): ModelManagerViewModel.runModelDownload has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3, 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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f99928f605779f437bcf8b9ffb501ac916f502e199d1658ac7624c0f72c266"}},{"ruleId":"D2","level":"warning","message":{"text":"MacHistoryScreen.content (cognitive 17): MacHistoryScreen.content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (6 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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f313791d21a78e05c60b6eb43d3936d75abee6dc981839ab4fe0303d04cf23b"}},{"ruleId":"D2","level":"warning","message":{"text":"MacBatchGenerationSheet.editorView (cognitive 17): MacBatchGenerationSheet.editorView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 6 (7 pts), boolean chains 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, 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/Views/Studio/MacBatchGenerationSheet.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"149775879aea9b56fbb4106dfa244219a6b539c78d5d811c8005bd7a6eae25e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsCommand.install (cognitive 17): ModelsCommand.install has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, ternaries 2, error handling 1, 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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8e3254d5ebd533e2377ac0fefb5505376cf73d048abade7250fdef23115717"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsCommand.runInstallRecommended (cognitive 17): ModelsCommand.runInstallRecommended has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (5 pts), error handling 1 (2 pts), 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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4855697558912521dd8ab7ff7be0a84094eff2b7c6defba4b279dbacf1151c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"VoicesCommand.runWrite (cognitive 17): VoicesCommand.runWrite has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 1 (2 pts), error handling 1, loops 1, 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/VocelloCLI/VoicesCommand.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc73c9536d90bad180a8d4a9bc251d2b1ed37d05a967cfc9d48a7eead0b44cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSModelDeliverySupport.validate (cognitive 17): IOSModelDeliverySupport.validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, 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/iOSSupport/Services/IOSModelDeliverySupport.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9649396558bac1e8ad3f7bcd98223e9485a68e6aeca3505e4c2c5494c414e9b5"}},{"ruleId":"D2","level":"warning","message":{"text":"sheets.RecordingOverlay (cognitive 17): sheets.RecordingOverlay has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (7 pts), boolean chains 5, if/else 4 (5 pts) (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"335b6bc84360c4572d118ea68f4cb8776a387f15a8e9a4c98a543784908569a7"}},{"ruleId":"D2","level":"warning","message":{"text":"TTSContract.validate (cognitive 16): TTSContract.validate 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/Models/TTSContract.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee0b59ee4cb5e55d0ed7bdcf0822cf05a66e3702c75992c6b5c57542ff66422"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAudioPreparationService.normalizeAudioAsynchronously (cognitive 16): NativeAudioPreparationService.normalizeAudioAsynchronously has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, error handling 5, boolean chains 4, ternaries 1. 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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6bbd42a72c331d220013aea198e1cc3c12ff4fc16a841ae7b74c515bb57d18"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAudioPreparationService.decodedMonoSamples (cognitive 16): NativeAudioPreparationService.decodedMonoSamples has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, 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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b6066d1a0794e509f203c47b11b7441d582e0b7c59cf238e25f5ea037bc852"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioQCSignalObserver.observeSeams (cognitive 16): AudioQCSignalObserver.observeSeams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (4 pts), ternaries 1 (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/QwenVoiceCore/AudioQCSignalObserver.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28fe74e5f61bc362475f1b49cabd0cbd8f9e22f34e5b72d7e16dcf5a8b91796"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFaceDownloader.validateStagedRepository (cognitive 16): HuggingFaceDownloader.validateStagedRepository has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f352e159cb8df8811d7c139632aec51e8ba1cdf5b2623de464403d56e2b2cf77"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedLongFormAssembler.analyze (cognitive 16): BoundedLongFormAssembler.analyze has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/LongFormAssembly.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"80199d271cdb1ccdec7aa093c5395ae7da39bde278074e974b6688b3e50042e9"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedModelComponentStore.publishBlob (cognitive 16): SharedModelComponentStore.publishBlob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d4f6e1bda7b797a7d43c677d8ac09fd3c53d7f3f188e44755888427b77da69"}},{"ruleId":"D2","level":"warning","message":{"text":"StartupReliabilityDiagnosticEvidence.verifiedReplayTrace (cognitive 16): StartupReliabilityDiagnosticEvidence.verifiedReplayTrace has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, if/else 2, ternaries 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/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb3a0e711814fa4db6f03d64ee43aff1050ae11f794ae2fb8f510b3c5e8b25a"}},{"ruleId":"D2","level":"warning","message":{"text":"MacGenerationWarmupCoordinator.warmupDecision (cognitive 16): MacGenerationWarmupCoordinator.warmupDecision has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3a5f604c3764a88ede145f863869c011e559e01e5f04454eb0f83672e8a80"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationHistoryOutboxStore.loadClearTransaction (cognitive 16): GenerationHistoryOutboxStore.loadClearTransaction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 2 (3 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. This shape REPEATS in the file: one other method here (GenerationHistoryOutboxStore.loadPendingAudioRemovals) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"98802b9b053d62418f700e263b0e7f7bca8fad3817860620580f98fd9e0ca689"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationHistoryOutboxStore.loadPendingAudioRemovals (cognitive 16): GenerationHistoryOutboxStore.loadPendingAudioRemovals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 2 (3 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. This shape REPEATS in the file: one other method here (GenerationHistoryOutboxStore.loadClearTransaction) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"705e0992a88ba7a9c1090297582f5fa33715b2878763d263d6c8958872375eca"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceClipTranscriber.editMetrics (cognitive 16): VoiceClipTranscriber.editMetrics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9331481eb80c02826a8547f94516fd6ac83e174671a3aab6160a8a7c4ab12bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceClipRecorder.start (cognitive 16): ReferenceClipRecorder.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, error handling 2, match/switch 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/SharedSupport/ViewModels/ReferenceClipRecorder.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e044d6f31e0ba42253008bdc8a2ad2f6902da81523c08d34f222760a61993e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelManagerViewModel.downloadDetail (cognitive 16): ModelManagerViewModel.downloadDetail has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfb3c7b0b22f53d31de97df50edd58d9dfecdf9b8cc5fd94904662c79b13024"}},{"ruleId":"D2","level":"warning","message":{"text":"MacSettingsScreen.body (cognitive 16): MacSettingsScreen.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/Settings/MacSettingsScreen.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"650ce6be2e5d8e5e05cd02505daaeab07d0845d5c3065d143f3df7d651250853"}},{"ruleId":"D2","level":"warning","message":{"text":"MacVoiceCloningScreen.syncCloneReferencePriming (cognitive 16): MacVoiceCloningScreen.syncCloneReferencePriming has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, error handling 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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cd058eb494b032b15aa7ff7ea5cad4761ad757361015dc2d71edd04d4c5bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryCommand.list (cognitive 16): HistoryCommand.list has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5, 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/VocelloCLI/HistoryCommand.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee1d595d65a6d0d3e1e547b0edb28b476821835b169db409eba04d953401aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"CLISuggestion.editDistance (cognitive 16): CLISuggestion.editDistance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (5 pts), loops 4 (5 pts), boolean chains 3, ternaries 1 (3 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/VocelloCLI/Core/CommandModel/CLIParser.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f5c2fd969d8234c2b18a1684d40891c0a1bd97d8a597e40efe19bac1954efe"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSModelDownloadCoordinator.runDownload (cognitive 16): IOSModelDownloadCoordinator.runDownload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 3 (6 pts), boolean chains 2, 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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"82649775fa18e0ba52450262559a9c7bdcac8e3b2d9eb811e0d3d5a5ac92083e"}},{"ruleId":"D2","level":"warning","message":{"text":"IOSStorageProtectionPolicy.apply (cognitive 16): IOSStorageProtectionPolicy.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (6 pts), ternaries 1 (2 pts), boolean chains 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/iOSSupport/Services/IOSStorageProtectionPolicy.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d4d15bfaac04834b4b9bb22aafdb42dc2fcb0fe7a291af6d0c70b45deaa919"}},{"ruleId":"D2","level":"warning","message":{"text":"Nav.Nav (cognitive 16): Nav.Nav has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 5 (6 pts), boolean chains 3 (nesting depth added 1). None of this is in the body itself: all 16 points belong to 7 function items inside it that branch (currentFor, a function literal at line 64, a function literal at line 58, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/sections/Nav.jsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6b14030fbe446ecf90309b8e7e2a0c43e6e915340366ca3d26172d3cd67df4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HuggingFaceDownloader: ClassTooLong \u2014 2428 significant lines (blank, comment-only and punctuation-only lines excluded), 78 methods. The bar is 400 significant lines; this is 2028 over it, 6.07\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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ae65fdc668c9fb0e20f95c6b50d1db062cb8fee9f145a1ccbff2b69cd3c37f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingExecutionContext.run: MethodTooLong \u2014 run runs 600 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 500 over it, 6.00\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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc81755e2c273cb75cad61937309437abd58465bfd907401896691a89fb3b83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/GenerationOutputAdapter.swift: FileTooLong \u2014 2690 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2190 over it, 5.38\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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b44407351a507fd2e9a6019386dc18cecc883755826f827597114c0dacd84c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/HuggingFaceDownloader.swift: FileTooLong \u2014 2436 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: HuggingFaceDownloader (19-3749). The bar is 500 significant lines; this is 1936 over it, 4.87\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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc4034328914a72e30574cb29842002856a6df4eb840972bd635b0a3244e02d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSDeviceDiagnosticsRunner.swift: FileTooLong \u2014 2222 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1722 over it, 4.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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd1b97874de469c4ae387471586c848421806eb6d9fa2b34f20e948eae96846"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MacInterfaceText: ClassTooLong \u2014 1771 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 1371 over it, 4.43\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/Services/MacInterfaceText.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c7622a8339865e47af284ef5b176a0db2f71d6dd2ee5fd5d5411b5c4adf5aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeEngineRuntime.prepareGeneration: MethodTooLong \u2014 prepareGeneration runs 438 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 338 over it, 4.38\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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ab726134cb62ee1290aafb5ddb0a2e905c6b8fd5315fbbaaeb9deeb41f1b6f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MLXTTSEngine: ClassTooLong \u2014 1710 significant lines (blank, comment-only and punctuation-only lines excluded), 112 methods. The bar is 400 significant lines; this is 1310 over it, 4.28\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede7bdfc60b8f6de41f030ef85498ebfdd1327988696851c376c9193662de6fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BenchCommand.run: MethodTooLong \u2014 run runs 412 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 312 over it, 4.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/VocelloCLI/BenchCommand.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"763a0a626efefebca7960e45447e88da76dd2fad519cd8074ce97a2dfe713807"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StreamingExecutionContext: ClassTooLong \u2014 1497 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 1097 over it, 3.74\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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5355180c77aba18fc9fd34a30b2120adbea4d025785266d0705f54bf245c387f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MLXTTSEngine: TooManyMethods \u2014 112 methods. The bar is 30 methods; this is 82 over it, 3.73\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68e3020797bae1351579bdc85775e713af9196171eb27d26a28270cc67f7ff1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/MLXTTSEngine.swift: FileTooLong \u2014 1862 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MLXTTSEngine (107-2693). The bar is 500 significant lines; this is 1362 over it, 3.72\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62f6ef2269cffccc7a8af1544ceeec5134e0fbac4475cde025c929787629aa9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/NativeEngineRuntime.swift: FileTooLong \u2014 1843 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1343 over it, 3.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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6982ea331e0e7b44062e11a2b3168b56429105a9313488b4184d8b9c9c2ce73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/MacInterfaceText.swift: FileTooLong \u2014 1773 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: MacInterfaceText (10-2399). The bar is 500 significant lines; this is 1273 over it, 3.55\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/Services/MacInterfaceText.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f623b680d62a5d9d05eddcb94d7aaf9bfd538961805c5891168acb08060f7c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AudioPlayerViewModel: ClassTooLong \u2014 1405 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 1005 over it, 3.51\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/SharedSupport/ViewModels/AudioPlayerViewModel.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc0a0bf1ac40ee31145b8cd0a24e153c48335e34f82fdd0d7a5f0cd3b17c68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSGenerationModeViews.swift: FileTooLong \u2014 1661 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1161 over it, 3.32\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0662d1309bf8c4a8f89b8315cf19dcebdb4b274d3bec52f728d7b1918d8dfc7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BenchCommand: ClassTooLong \u2014 1274 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 874 over it, 3.19\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/VocelloCLI/BenchCommand.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88fd4c074b1fe59207b8e03e1a066257a208331a0dbed7a0a34e5bb33a14ffb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelManagerViewModel: TooManyMethods \u2014 89 methods. The bar is 30 methods; this is 59 over it, 2.97\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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa6c955b122736da11d0d0a274aad8401b21224522cee2b3c91cd3d27fac233"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelManagerViewModel: ClassTooLong \u2014 1162 significant lines (blank, comment-only and punctuation-only lines excluded), 89 methods. The bar is 400 significant lines; this is 762 over it, 2.91\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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c5a453397c88b3ff62f5c2d769c4d469ab81b94c862d01b855a72bdebb25c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/SemanticTypes.swift: FileTooLong \u2014 1426 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 926 over it, 2.85\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/QwenVoiceCore/SemanticTypes.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2a63273370b051e3fbc60847bbcd769703e0642812b6467bcbb284d7a63c76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/AudioPlayerViewModel.swift: FileTooLong \u2014 1413 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: AudioPlayerViewModel (12-2179). The bar is 500 significant lines; this is 913 over it, 2.83\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/SharedSupport/ViewModels/AudioPlayerViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9767f0bc7cd1f97caf45e11863d68a0b7a1516827d68dd81c37e7235c688b83c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VoiceClipTranscriber: ClassTooLong \u2014 1101 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 701 over it, 2.75\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"580e5909a1ad6ff0077936487094381f586b2017cfcaaf3f435a48d6da0dcf56"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSModelDownloadCoordinator: ClassTooLong \u2014 1067 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 667 over it, 2.67\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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0b0afc4bf0d048e04f88b278ee20a212642ef80dc7a6ffdd57b2fe7671663d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioPlayerViewModel: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\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/SharedSupport/ViewModels/AudioPlayerViewModel.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e0864ac1784f4bbe7b99bffc8e8b8d9eab413392e1db08c0c0cf6528d80a18"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HuggingFaceDownloader: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f6d8650c98683183f98d1fd20369c1267636d2fe2f75dea1a4a4ca50581cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: VocelloCLI/BenchCommand.swift: FileTooLong \u2014 1279 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: BenchCommand (14-1820). The bar is 500 significant lines; this is 779 over it, 2.56\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/VocelloCLI/BenchCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6124b35e72c4b824f657b7aa51dfa34ab61b356c6afd8f2028763ba0e863219a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/GenerationTelemetryRecord.swift: FileTooLong \u2014 1264 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 764 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3a023785963db3edd74e00f51e990174f2ba6912f4ba585c17c4f8a302391e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/SharedModelComponentStore.swift: FileTooLong \u2014 1259 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 759 over it, 2.52\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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d8051cef07ac26354fc603ea84f710a06567d8ed4031fdc3402e9719144189"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/ModelManagerViewModel.swift: FileTooLong \u2014 1203 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ModelManagerViewModel (9-1802). The bar is 500 significant lines; this is 703 over it, 2.41\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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8807f9e0d49903fc857a8ca61e643e9ecd6970aa9078ccc8f8d720bc0ece2bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TTSEngineStore: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\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/iOS/TTSEngineStore.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"81559b2e07a7f55361efdd98c74536cc09a9e74fd09607be60f6f0cdcf0baf72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/VoiceClipTranscriber.swift: FileTooLong \u2014 1148 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: VoiceClipTranscriber (16-1569). The bar is 500 significant lines; this is 648 over it, 2.30\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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af10e3a74fe531274d52db72a0db2e10bb7c486b7dae90dd003443d922cc0c2f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GenerateCommand: ClassTooLong \u2014 896 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 496 over it, 2.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/VocelloCLI/GenerateCommand.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dec6496dfe07a350c1ad71599f2a4baf871b58bf631c9bcfcdb1ee05f4016f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/NativeTelemetrySampler.swift: FileTooLong \u2014 1118 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 618 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/NativeTelemetrySampler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae36b2a5269153646ac3f5cd92b83c8f660c4cf4a18c23ea06d9947da5acbba4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GenerationSemantics: ClassTooLong \u2014 876 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 476 over it, 2.19\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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c5a5fc6ebc7eef1c939c6d19e6ffb36b972af7b9ea2f4c41ab2b34e71d180d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSModelDownloadCoordinator.swift: FileTooLong \u2014 1081 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: IOSModelDownloadCoordinator (28-1476). The bar is 500 significant lines; this is 581 over it, 2.16\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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e46344ab3543b8adadf1135719f26c19a2c507d4386e71c450fd75e0fe22081"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/MLXModelLoadCoordinator.swift: FileTooLong \u2014 1064 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 564 over it, 2.13\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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c307df415392c0d66aec375567ea9bc98f558120a1741c6bab4a78a315938a30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sheets/IOSBottomSheets.swift: FileTooLong \u2014 1059 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 559 over it, 2.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00829be3f8827c4fd2404d25e55ec07f5dbaac483712e5c8112cc94b595be19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Studio/IOSLongFormProject.swift: FileTooLong \u2014 1023 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 523 over it, 2.05\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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdd3111203e3a30bc10231eb91b5dfc63ceade8dbfc540c4057a000852a1f03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingExecutionContext.makeAudioQCReport: MethodTooLong \u2014 makeAudioQCReport runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":3312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4333b08f993d154db2f2f4ad3ac08fa3aafab63f7ccca2d500700e98ed9c837a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSRootNavigationModels.swift: FileTooLong \u2014 1013 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 513 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSRootNavigationModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919775bbdaf0c918189d165cc564eaa1f4d370904f1190561c55cd5fd73119de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IOSStartupReliabilityRunner.execute: MethodTooLong \u2014 execute runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42fa81566ed0c0b6e0c5650e2bdb6c4458997dd809a5943d6f7105caf04c1ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IOSLongFormProjectRunner.run: MethodTooLong \u2014 run runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"db785cbcb3ea4e4bc59c7040ff334dbdf421cb51b8e29d6756dad638a0b06ed7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: app.App: FunctionTooLong \u2014 App 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":"design_references/Vocello iOS/app.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9245bf0322da2f461321acd4088838d6a24f3f41164f791e03ba1a73207687"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSStartupReliabilityRunner: ClassTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 355 over it, 1.89\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/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc8681ada8e8e2131b71b679809e77b487cc52f588c35c0cb3648daf089fcf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/GenerationSemantics.swift: FileTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: GenerationSemantics (4-1343). The bar is 500 significant lines; this is 441 over it, 1.88\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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ac4d44392846a80b3e392f6de623f4b77210d0c873f1a51810fbe4875dce4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: VocelloCLI/GenerateCommand.swift: FileTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: GenerateCommand (9-1369). The bar is 500 significant lines; this is 434 over it, 1.87\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/VocelloCLI/GenerateCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee2399642d3135039ac54f2b6b6c3db0d3d0861af9f9f2e5fb16cfe921e057a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingExecutionContext.writeEngineTelemetryRecord: MethodTooLong \u2014 writeEngineTelemetryRecord runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfbc8bc06e355df83b3d7008279bd07a1e34e045df12ae7370458a9c79c4e48"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TTSEngineStore: ClassTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 343 over it, 1.86\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/iOS/TTSEngineStore.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf6938fa8333765eda6df023ab82c374c3e176da2a911b2de946cd9594d19f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MacVoiceCloningScreen: ClassTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 338 over it, 1.85\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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25abd0664091d4d6946f40d379d7886734b29ee312552d8330a52b61c5f9792"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MLXTTSEngine.generate: MethodTooLong \u2014 generate runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8a47a3efe1f30310dbfc84a2b3f24f8a12830c50ebad3de49eb2b4f77b7d00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: studio.Studio: FunctionTooLong \u2014 Studio runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"design_references/Vocello iOS/studio.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7995d2130f4b07de8d6fa29787b6ee10e41a30e2378d1f2ba5a1656dae854078"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommandLine.CommandLineGuide: FunctionTooLong \u2014 CommandLineGuide 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":"website/src/sections/CommandLine.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b695cad3326190297fe0a3715c8e784c1167be1e7d948754ce1d28892c90857c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Database/GenerationHistoryOutbox.swift: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 387 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2094640ef179f69a48c717fc9e1018ca71183ddf5a1dfcd0c9421a8328b68d7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MacSavedVoiceSheet.body: MethodTooLong \u2014 body runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a914a0bb0c17ec9029d5b2ecefd32bb14887ace042475604e85b6ea372f3f106"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeEngineRuntime: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff99d20b5b858d0d74debf5a971e88f708ef7a5d6cc32a77b495c95592e5b3c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeAudioPreparationService.convertAudio: MethodTooLong \u2014 convertAudio runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64958f5954a2257153e66f008a73a64ab13f45292da60775dec5c46d8a68e17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BenchCodecReplay.run: MethodTooLong \u2014 run runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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/VocelloCLI/BenchCodecReplay.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d32d04ab27b44a4144dbe7471063553c636f99b2d59b0ea01dd9e8b504a94c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MLXModelLoadCoordinator.loadModel: MethodTooLong \u2014 loadModel runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5a237b495eca59b81d35b9e4fbe32629b8159ea23b2a818fdaa095a9e94afa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IOSLongFormProjectRunner.regenerateSegment: MethodTooLong \u2014 regenerateSegment runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25b9df131d3cc7874c086337724b0f2cbf67fc6c8e58ac8d305d490ecbd8891"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NativeAudioPreparationService: ClassTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 250 over it, 1.63\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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f483b8535f23699c9092334109210ce69c27048537072f083ea5a08e3cb163"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IOSModelDownloadCoordinator: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30f9eeb2e14a172575645ed6ebaa9aa9008d9742fbdf701642e58e0d1f9aa04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/AudioPreparation.swift: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: NativeAudioPreparationService (201-1194). The bar is 500 significant lines; this is 300 over it, 1.60\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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"503d71f805ba0c6ef3ccd88350af6c55b88fe8fe0442a6b94a248d9c4866918b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/NativeCloneSupport.swift: FileTooLong \u2014 799 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 299 over it, 1.60\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/QwenVoiceCore/NativeCloneSupport.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f627d6dd8b4288146491863fa17b962bdf1e2859b65cbdb5332cd076b4778e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSVoiceCloningView: ClassTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 239 over it, 1.60\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"098e3964cbc7cf5000f1f8a33a25a8a3102b5311bf07ae398fa6940eaf510542"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SharedModelComponentStore: ClassTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 236 over it, 1.59\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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8a042a1e304aa1ca4ce141b6fcd26ad6599d989ac06c472fb1e7e88f642574"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSVoiceDesignView: ClassTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 231 over it, 1.58\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc938e4c3203ee509c3814bd32597a85b4d2372e458fece5bb17ff8ab0e4315b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSDesignSystemPrimitives.swift: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 288 over it, 1.58\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/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f550e72b5b049377e6db2f59d4de1828e283c99b6e0b31e3e0d2f9fb9ed56fdd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MLXModelLoadCoordinator: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f1afe7edeab9fe0364e74c13eff04021445f9c3f4e464f61512fdc95fc2510"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Studio/MacVoiceCloningScreen.swift: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MacVoiceCloningScreen (27-1086). The bar is 500 significant lines; this is 266 over it, 1.53\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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5e6bce506269bfc9ce7dd2154a743dca382a850473ac23f0aa48fd7acf7398"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsScreen.swift: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 265 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/Settings/SettingsScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f04354f7b9da442a02307e78bfaad77e5f66adc1430d29ba354a01bce974a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/TTSEngineStore.swift: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: TTSEngineStore (35-1193). The bar is 500 significant lines; this is 264 over it, 1.53\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/iOS/TTSEngineStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d264590eed5dbc6defcae5f99c5f5b20c0027fdb35fd1e8abfe54906ebf3f2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSStartupReliabilityRunner.swift: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: IOSStartupReliabilityRunner (14-976). The bar is 500 significant lines; this is 261 over it, 1.52\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/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f2e7eac67d82cb7344f6aa86aaf09b67084898c15fed12291273ee30518a42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: player.PlayerSheet: FunctionTooLong \u2014 PlayerSheet runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"design_references/Vocello iOS/player.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb441b9d666786e58c3af0a0d62c63e0d71b92d4ba57566417445eea2e25231c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VocelloPresentationText: ClassTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 203 over it, 1.51\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/SharedSupport/Services/VocelloPresentationText.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3265136fdc16bc12bd8b099badbe8fb1b741958e729318a5cd16e769746203"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: History/MacHistoryScreen.swift: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 over it, 1.50\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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a917d521d7b23daa0ca2d19721d11572115b57ec15b4b9f5f128ff70d0118"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativePreparedCloneConditioningCache: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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/QwenVoiceCore/NativeCloneSupport.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f1ff2bc2525c434c38889069b03a7110febe81c04f33407e34b9a1f207426d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: History/HistoryScreen.swift: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: IOSHistoryLibrarySection (160-864). The bar is 500 significant lines; this is 230 over it, 1.46\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/iOS/History/HistoryScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfa601ebac0364005595f70f54c9d4121f7399940d4631eb2ee011eeeff91ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: screens.SettingsTab: FunctionTooLong \u2014 SettingsTab runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1281c454947a3aef3847b31d561e7585aa49776e869aed0de9e9eda8319e859f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationStreamingTelemetryV9Bridge.make: MethodTooLong \u2014 make runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99dd777eb02022b6dc5f10f60c190a263548a2d2c583f6b1fad3e5feb6f70e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnyTTSEngineBackend: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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/QwenVoiceCore/AnyTTSEngineBackend.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"361fb72a5496ca0c9c81927018892ea883cf982acf512cd1a404849241537b35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/PreparedVoiceRepository.swift: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 213 over it, 1.43\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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2525edb2df7272c10e1a06004b9fea693ffc776b6e64273100178a72f90d93c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BenchCodecLoop.run: MethodTooLong \u2014 run runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69b6eb7796b359c79aa6f838bbfbd77c71519ab449ee800209fa06a3b120453"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationRequestReceipt.init: MethodTooLong \u2014 init runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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/QwenVoiceCore/GenerationStartupDiagnostics.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"750505e3a5f152042aab7e8f3df1800dbcb8546b5f10ee0bf6976404b51f46c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeTelemetrySampler.summarize: MethodTooLong \u2014 summarize runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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/QwenVoiceCore/NativeTelemetrySampler.swift"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b1efb1e87d69236d3f31b912fec637afd6d64f3d1554d9158205a6247dc432"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HuggingFaceDownloader.runDownload: MethodTooLong \u2014 runDownload runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"046c61b95698efc73ab1169b583c238d76c33f871832e7eeb8b6380747fe09ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BoundedLongFormAssembler.assemble: MethodTooLong \u2014 assemble runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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/QwenVoiceCore/LongFormAssembly.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb788cb42a4f0b290933f66877be564fb5c2b9c36f82d0ed940595d205bea55"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPTools.catalog: MethodTooLong \u2014 catalog runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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/VocelloCLI/Core/MCP/MCPTools.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ec037ea5e6c7254059e9e545bae248980168ec9e6f997b2a71a5d168e558cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/AudioQCSignalObserver.swift: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/AudioQCSignalObserver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9045224058fea0b05df3d9fb9ccd27d3c2f7c9c30b5049b8743b26fde642b3c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/LongFormPlanning.swift: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 175 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1f9dcd9ad32b2eda18f7f9cac84418895025045b31dcfc75c88bf2ff7b5c72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeEngineRuntime.recordGenerationPlanShadow: MethodTooLong \u2014 recordGenerationPlanShadow 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71349e7928df2c0901653dd65edc58cccd31c2858b9239fc31034cba1bfc62d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/VocelloPresentationText.swift: FileTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: VocelloPresentationText (10-909). The bar is 500 significant lines; this is 166 over it, 1.33\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/SharedSupport/Services/VocelloPresentationText.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2f82cb394b3d4f2a4f60a1c967b2254fa83c90aa4aa926a5bc416d89b0dde7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DownloadStateRegistry: 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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e53e00132588dbffd1371a0549db57223983a575ac510f8a2cd0c50687a59a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Icon.Icon: FunctionTooLong \u2014 Icon runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"website/src/components/Icon.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79cbe8b154ec144ac1f8c9d5572d2380681bc8eb18bbbdc586db2353fa8d87b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MacSavedVoiceSheet: ClassTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 114 over it, 1.29\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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4294a8fab0d08604000980b21514fa954ba3f313735b7010b147799a0379104"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BenchCodecRoundTrip.run: MethodTooLong \u2014 run runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.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/VocelloCLI/BenchCodecRoundTrip.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab63bfffedbf3967265d42cac8e3030f67917774718766e6a0bd96a2cc196d42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSLongFormProjectRunner: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 103 over it, 1.26\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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"c396620d8857ddc9b75ab652ad0e94ecdadb29620633300e258f890fafc28cc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSShellPrimitives.swift: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 125 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/iOS/IOSShellPrimitives.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"336458b3b5907660e6aa836cc4644f94dfcda78bf99048a9d59f3fe4dea47672"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VocelloPresentationText: TooManyMethods \u2014 37 methods, declared across 2 files: Services/VocelloPresentationText.swift (35), Commerce/IOSCommercePresentationText.swift (2). The bar is 30 methods; this is 7 over it, 1.23\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/SharedSupport/Services/VocelloPresentationText.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"713a4b78ee0ea8a6c7441ece882d2ee0bd6174dfa8cd185e11db847c7b4a75fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IOSVoiceDesignView.body: MethodTooLong \u2014 body runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"749878ad49741ea29054b73269037d623aea594d137cc2d9c17891c12ad29191"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationOutputVerifier.evaluate: MethodTooLong \u2014 evaluate runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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/SharedSupport/Services/GenerationOutputVerifier.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6f69e69f9fac6a541068f6749157599313d84346b261c75cd35701cd9af0bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iOS/IOSSettingsViews.swift: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: IOSModelRow (350-828). The bar is 500 significant lines; this is 102 over it, 1.20\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/iOS/IOSSettingsViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe732bb2c367710cc7823470968f6fc9df99d5412299f21e35e7493b9d308d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PreparedVoiceRepository: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0499f0e9c88b636625540425aafaa01195cdd1b32da493b6fa6b4cb278b401eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Studio/MacBatchGenerationSheet.swift: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: MacBatchGenerationSheet (16-652). The bar is 500 significant lines; this is 98 over it, 1.20\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/Views/Studio/MacBatchGenerationSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5c37a2bd5ccc0c24ffed5e82f3eaae5e14ce03488ad2b1bdd24a6c2911a765"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSHistoryLibrarySection: ClassTooLong \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 76 over it, 1.19\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/iOS/History/HistoryScreen.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd21562f6c2fda52256eea8f778cf428e076cc1106372356947ffe922b88de1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LongFormPlanner.plan: MethodTooLong \u2014 plan runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4cd1ee66c6ed6aa0d5579f54e0a6634e4cb0b43382639ae540ebc50c7601fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CLICompletionGenerator.zsh: MethodTooLong \u2014 zsh runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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/VocelloCLI/Core/CommandModel/CLICompletionGenerator.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1729ac11c4a016593be10bdc5de50e3e1e2ea8d8e671f02ad3b3b27e92e9ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MLXModelLoadCoordinator.prepareLocalCache: MethodTooLong \u2014 prepareLocalCache runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cd12b4eb0863265bb20de737a181a13b85deaf2472c1e066504372e6626d57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VoiceClipTranscriber.recognizeDetailed: MethodTooLong \u2014 recognizeDetailed runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"24166caa322ba091e9ece86fc0f71a1083a65e96cab754d60b318c5806b7e6fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeEngineRuntime.ensureDesignConditioningWarmStateIfNeeded: MethodTooLong \u2014 ensureDesignConditioningWarmStateIfNeeded runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ed4fd0b878ba2229d5f79b71004c2df6ffc7d8e5a09e4b97b3d7ee28033091"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sheets/IOSPlayerSheet.swift: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/Sheets/IOSPlayerSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98e551786464d377355228fff5a28eac173850913eb7a0554a869e8fa87a274"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IOSHistoryLibrarySection.body: MethodTooLong \u2014 body 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/iOS/History/HistoryScreen.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e9030c340214ea7574890c6034f0f2d5f7aa8715f2e16deda5d680a7ea7e21"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnyTTSEngineBackend.init: MethodTooLong \u2014 init runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/QwenVoiceCore/AnyTTSEngineBackend.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"599b376e2511e77dcf2c3d4e5f9420c38667e26271d19c1dbf4c44044dc20996"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerateCommand.execute: MethodTooLong \u2014 execute runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/VocelloCLI/GenerateCommand.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab048e5bebcb0b891eaa0498ed073c46fdb709a2313db5571c80b2c05ceefa6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SharedModelComponentStore: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cafad297c2c69c05d908252940ceef0dfdf250cab8669aa6db8dfca862b724"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelDownloadDiagnosticsStore: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 52 over it, 1.13\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/QwenVoiceCore/ModelDownloadDiagnosticsStore.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ad23fc3fe063dfcfe54c2fb5494498328d89a119cbc61134a362c585bbc128"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QwenVoiceCore/GenerationStreamingTelemetryV9.swift: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 64 over it, 1.13\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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5a5ef64a9819a44227e7d2cf01efbedf5b0c2555a68aff3095dc709b49b622"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelsCommand: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 51 over it, 1.13\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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd03d57407f5f3e6e107b7315256ced5eb6761ea8b993ba3c208496ef81759f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationTelemetryRecord.init: MethodTooLong \u2014 init 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/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efb98739195e34535af6866ac340105b3c4507d09e2eb92931cfcded84a7739"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MacGenerationWarmupCoordinator.scheduleWarmupIfNeeded: MethodTooLong \u2014 scheduleWarmupIfNeeded runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67e85fbaa1879e2d579270980cf54bd24c0f04e98834249a0cba8e3b8ae82cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Studio/IOSStudioInlinePlayerCard.swift: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 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/iOS/Studio/IOSStudioInlinePlayerCard.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1878adfe75891a8b55aaf06b455d215f8439db64262a7ba64f0610f55222834e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchCommand.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/VocelloCLI/BatchCommand.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c043e2bc22c5a363619f5120cc2ec7c22af73d7d141ff8355f2a9f6b776b18a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopEngineHost.enrollVoice: MethodTooLong \u2014 enrollVoice 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/VocelloDesktopCore/DesktopVoiceEnrollment.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"09251a17db045ee96c3f169bb2b49322e700478f40a1f053de3f8355136dd0b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RootView.body: MethodTooLong \u2014 body 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/iOS/App/RootView.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e304d50dc4673d1ee8e5abefdb8fbc63d6f4a96d8c0fb7ab60aa1fa95d7af1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelManagerViewModel.localModelInfo: MethodTooLong \u2014 localModelInfo runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be796489aeeeee542f40e045fa56c408092d980d91ab7c06a452a53fcf7ede"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Voices/MacSavedVoiceSheet.swift: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: MacSavedVoiceSheet (14-752). The bar is 500 significant lines; this is 40 over it, 1.08\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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dfea6e4eacf3f9bb0cd73b52c04ebf717c204ab26caa00cfe3777d7072f047"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSModelInstallerViewModel: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 28 over it, 1.07\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/iOS/IOSModelInstallerViewModel.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ed8bc4d90ad546ea29e176e085a098992833e2b9886c444ef492b3e93f32fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PCM16StreamLimiter.append: MethodTooLong \u2014 append 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c271d39b04a41a4d6821cb25a526bba0b6428090649b0c44340ee8fba8ed081"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IOSHistoryItemCard.body: MethodTooLong \u2014 body 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/iOS/History/HistoryScreen.swift"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ee38167d908cbb153560d4532904f0b6c7c7aee5cafe9d49f11f7da355e543"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MacBatchGenerationSheet: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 27 over it, 1.07\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/Views/Studio/MacBatchGenerationSheet.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7e54d04ef9c3ab0d8f13199ab87f6b3e1257b28745fcecb15b18ab16d029ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VoiceModelsScreen.body: MethodTooLong \u2014 body runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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/iOS/Settings/VoiceModelsScreen.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba49839d628fed264606e0f3bab47e831ba5f989728b1e2edafcec656d52b13"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IOSVoicesView: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 21 over it, 1.05\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/iOS/IOSVoicesView.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb87341e12a2c610ed86b9c6f983bfe924acb939e609e44ae12578dbadceaa1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LongFormHistoryAcceptanceStore: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83ed84adb0fdfbad19afb125e6eba9741b4378e78216fe97e413c6e9e61a82f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MacGenerationWarmupCoordinator: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 13 over it, 1.03\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/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09899dd6b73387e203b08955de81eaa7c5c62e767eebda00b1b78b67a215ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MacRecordVoiceSheet.body: MethodTooLong \u2014 body runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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/Views/Voices/MacRecordVoiceSheet.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"722fa206a6dd9e1736583e8f76c36feb5b3dc0fabd508ba4c8f6f897e3765ad9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IOSVoiceDesignBriefSheet.body: MethodTooLong \u2014 body runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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/iOS/Sheets/IOSVoiceDesignBriefSheet.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"388311435a33d991f890eb0e0552af96d391fc3193219ccb818e706044e0a296"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GenerationScreens.VoiceCloningScreen: FunctionTooLong \u2014 VoiceCloningScreen runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a75ae47e849000d279afe5bb7a2b7b764b290d6717b4a2cceea296cd246c02"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeEngineRuntime.ensureWarmStateIfNeeded: MethodTooLong \u2014 ensureWarmStateIfNeeded 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f0c8f6e84b943cef734f97e694e1597e80a5badbd7523a8b8b8f03e519606e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProductionModelCatalog: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 3 over it, 1.01\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/QwenVoiceCore/ProductionModelCatalog.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"35951ddef69aed2919b4f1d9fd286a9cd5b2b762cc285f691de8aa7245d866e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (68 shared lines): Sources/VocelloCLI/BenchCodecLoop.swift:70-248 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:67-224 \u2014 These two members are variants of one another: 68 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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcec51e31785fbf679ab863c4ca2098cd3a471e2773f776da33700bf5990b61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): Sources/iOS/IOSGenerationModeViews.swift:449-545 | Sources/iOS/IOSGenerationModeViews.swift:1336-1444 \u2014 These two members are variants of one another: 39 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbf4a593b04d60583c051447478097baed81fe501c4040958ecab3f90577135"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/QwenVoiceCore/NativeEngineRuntime.swift:1626-1699 | Sources/QwenVoiceCore/NativeEngineRuntime.swift:1701-1742 \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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6014befaecb7493cb39e953a41345586e6518d00231e53bfcec5b042955e864"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:334-357 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2112-2135 \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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39e330f98c39f9c28e51918eb310c9dd4e52b677718887b011ec969bff7a77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift:46-104 | Sources/QwenVoiceCore/GenerationTelemetryJSONLSink.swift:172-196 | Sources/QwenVoiceCore/MLXTTSEngine.swift:2769-2778 | Sources/Services/GenerationTelemetryMerger.swift:107-136 | Sources/iOSSupport/Services/IOSDeviceDiagnosticsRecorder.swift:166-175 \u2014 These 5 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 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/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db49e7a365f4167092cdee393a1289847e6abc4d0218ca74ca353da7e82af6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/iOS/Sheets/IOSBottomSheets.swift:100-166 | Sources/iOS/Sheets/IOSBottomSheets.swift:577-624 | Sources/iOS/Sheets/IOSBottomSheets.swift:835-903 | Sources/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:31-164 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:257-276 \u2014 These 5 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 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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"26908e42efd6d1d4b19b96be70dea73c78cf90e52bd0af8372917e69b9c4da52"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/iOS/Settings/OpenSourceLicensesScreen.swift:161-185 | Sources/iOS/Settings/OpenSourceLicensesScreen.swift:238-262 | Sources/iOS/Settings/SettingsScreen.swift:491-525 | Sources/iOS/Settings/VoiceModelsScreen.swift:199-228 \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/iOS/Settings/OpenSourceLicensesScreen.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a701de2a6194b71dd1175d5e9933729c7d2997570d2c844d779f803da7943db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:1329-1360 | Sources/QwenVoiceCore/NativeTelemetrySampler.swift:263-299 \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/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7a0fa95a9396ecfdb00c6ffeae7a198ce3f5fe582a93b2c1d68af44b369acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): Sources/Views/Studio/MacCustomVoiceScreen.swift:135-196 | Sources/Views/Studio/MacVoiceDesignScreen.swift:152-226 \u2014 These two members are one piece of code written twice and then edited apart: 62 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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9100d09db17c873ff860aa4911efe0f82e160345caf96179bd55e8b7bd4ce1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:863-931 | Sources/iOS/IOSStartupReliabilityRunner.swift:575-647 \u2014 These two members are one piece of code written twice and then edited apart: 69 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb58dda512277835c810dc7aeca5299012fa1a0ca602f03461ec505360a9862"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): Sources/QwenVoiceCore/ModelDownloadDiagnosticsStore.swift:89-164 | Sources/QwenVoiceCore/NativeTelemetrySampler.swift:160-225 \u2014 These two members are one piece of code written twice and then edited apart: 66 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/QwenVoiceCore/ModelDownloadDiagnosticsStore.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9faa2b36adc69f048122cdcdd202f446cd510a3b86fcaa47244b594c46e95b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/Services/UIPerfHistorySeeder.swift:65-87 | Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift:69-91 \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/Services/UIPerfHistorySeeder.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e524581833e77d3a813703aa29d0a3ada481690847ec610cae4b68fdc1ee7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:1055-1080 | Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:1445-1464 \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/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f8c318d2aee66754b9c3765f0abf850285b979bc2ed7f0a60ba3aeab81a676"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Sources/Views/Shell/MacInlinePlayerCard.swift:155-201 | Sources/Views/Studio/MacStudioPlayerCard.swift:297-338 \u2014 These two members are one piece of code written twice and then edited apart: 42 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/Views/Shell/MacInlinePlayerCard.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4031090210690f01cba9cbb706a42969d9613596dc10d06b9ef0507f8bc1f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): Sources/Views/Studio/MacCustomVoiceScreen.swift:313-361 | Sources/Views/Studio/MacVoiceDesignScreen.swift:368-432 \u2014 These two members are one piece of code written twice and then edited apart: 49 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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f64cd32a88ce0827f106376d62d4d7a299150916c5d83125db500b69e4f523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Sources/iOS/IOSDesignSystemPrimitives.swift:657-701 | Sources/iOS/IOSDesignSystemPrimitives.swift:806-850 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"f452c02630dbb35e95aedde6462646be1f4a5b083c21fe82514d208e485cd5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Sources/iOS/IOSVoicesView.swift:319-360 | Sources/iOS/Sheets/IOSBottomSheets.swift:1302-1349 \u2014 These two members are one piece of code written twice and then edited apart: 42 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/iOS/IOSVoicesView.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d5d23eaeeab329fac159c60a430347c6a2b92a655a33dd7ad6fa37987f0a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): Sources/SharedSupport/ViewModels/AudioPlayerViewModel.swift:1426-1492 | Sources/SharedSupport/ViewModels/AudioPlayerViewModel.swift:1536-1586 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/SharedSupport/ViewModels/AudioPlayerViewModel.swift"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"13144f91841dd9673bd456e943afcdc6ae56ae2f03c9ec3b3eb7ee42a4e5dfa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Sources/iOS/Sheets/IOSBottomSheets.swift:655-709 | Sources/iOS/Sheets/IOSBottomSheets.swift:1378-1421 \u2014 These two members are one piece of code written twice and then edited apart: 44 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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"1436cf16856332f58cedab28cb43a052f45186c0f6cf5c78681b53549c93f579"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/Services/UIPerfHistorySeeder.swift:37-62 | Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift:41-66 \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/Services/UIPerfHistorySeeder.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d763b8bb49c2a5a171245bb0870822eb6b64a33d23068146599c3d3d92eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Sources/Views/Studio/MacStudioCanvas.swift:127-171 | Sources/iOS/IOSStudioCanvas.swift:59-101 \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/Views/Studio/MacStudioCanvas.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb60597190a32216a8df240e3c7386004ef5db74501762fd00ef8ec9e76621d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 50\u002B corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:320-370 | Sources/iOS/IOSGenerationModeViews.swift:1223-1272 | Sources/iOS/IOSGenerationModeViews.swift:1878-1930 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 50 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d661b717b8310b19d4ceed54ba4731107f074b3bdc771a9f61f0f65eeee3bd29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/Services/UIPerfFrameProbe.swift:76-105 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:83-117 \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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3f691d9c155a8991a2cac48d01d3658abf750f7412ab17f033ff8cf2900f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Sources/Views/Primitives/MacListPrimitives.swift:47-81 | Sources/iOS/IOSDesignSystemPrimitives.swift:1043-1084 \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/Views/Primitives/MacListPrimitives.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d833cab90ab1fa1bc67911efa3071da5b033989ec3c0f5392bad08f38baba472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:252-273 | Sources/iOSSupport/Models/IOSStartupReliabilityRecord.swift:85-104 \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/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3c45cb31de4b34304214b957cead2a966ba2682ade3e5814b5971d2c822b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1912-1943 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1945-1981 \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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4703b768991cbd3e573c0c838da58ffceca7ace2acf3444d8045f763ec34277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/QwenVoiceCore/MLXTTSEngine.swift:1159-1189 | Sources/QwenVoiceCore/MLXTTSEngine.swift:1198-1251 \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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c57f62e9968f9282d0cc0f4e5801d396dfdcfa39e4ba73b5639cc1a6589fc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Sources/Views/Studio/MacVoiceCloningScreen.swift:946-988 | Sources/iOS/IOSGenerationModeViews.swift:2256-2295 \u2014 These two members are one piece of code written twice and then edited apart: 40 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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c74ff37e1d87ab974db7ba392802090392a7c02552754432993d4aaf61f7cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:218-259 | Sources/iOS/IOSGenerationModeViews.swift:1122-1164 | Sources/iOS/IOSGenerationModeViews.swift:1774-1818 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7183afe8d7c00c2b235d7ce561d8a4634ca5682811a98d1c2edfe53646f770ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/iOS/IOSShellPrimitives.swift:244-273 | Sources/iOS/IOSShellPrimitives.swift:304-335 \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/iOS/IOSShellPrimitives.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89f286ce18662c3f90f67c132e4a9802a8fc0b56281e29208ea850c860a4458"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Sources/Services/UIPerfFrameProbe.swift:258-295 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:247-280 \u2014 These two members are one piece of code written twice and then edited apart: 34 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fb20daa1cc7637ea90073b4d69622cf6acd0a63c719695b57dd4b50b874876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/QwenVoiceCore/CodecLoopMutationEvidence.swift:123-149 | Sources/QwenVoiceCore/CodecRoundTripEvidence.swift:68-91 \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/QwenVoiceCore/CodecLoopMutationEvidence.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6001eae363998648d3ffc53600f27a1d1ac808377633ddb41de2b41abba7376f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:282-317 | Sources/iOS/IOSGenerationModeViews.swift:1187-1220 | Sources/iOS/IOSGenerationModeViews.swift:1841-1875 \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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae3134fd1e2fa7aa4633fc355bc05fc79119a67834c0704f6fb80065fcb7ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/Services/MacMetricKitReporter.swift:195-219 | Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift:162-188 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/Services/MacMetricKitReporter.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"af99a6f43bfd373c251a5324b4b0531a0b7a8cc2637b6ff1e021834baadddc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/QwenVoiceCore/GenerationSemantics.swift:7-19 | Sources/VocelloCLI/Core/Generation/CLILongFormProject.swift:138-154 \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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd812ecfc3e019b48eee88144b2103356849cfbcc1b9036e3020493448a3642f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2008-2039 | Sources/iOS/IOSStartupReliabilityRunner.swift:863-889 \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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"01395fba780d7a8b0e4cd2e963768f8a482a7118c5cd4273ae8713bafb451ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/iOS/IOSShellPrimitives.swift:493-525 | Sources/iOS/IOSShellPrimitives.swift:549-575 \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/iOS/IOSShellPrimitives.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d6fc9bb7db025f317e8ab879c91537aeda5e9a7a09da8d7c3e8e812b83817b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioCore/Generation/GenerationTypes.swift:93-103 | Sources/QwenVoiceCore/SemanticTypes.swift:875-892 \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/QwenVoiceCore/SemanticTypes.swift"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"3060d52b3306eb3a74424202fccc651313045a80fb412f043146e8f3061a7f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:1015-1051 | Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:1407-1443 \u2014 These two members are one piece of code written twice and then edited apart: 37 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/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a93b844fa9714ec2c3d2b459eaac701d7124443f61094f3f61e6da1c3ca940e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/iOS/TTSEngineStore.swift:1092-1098 | Sources/iOS/TTSEngineStore.swift:1100-1106 \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/iOS/TTSEngineStore.swift"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc9601c35dfdee00bb1f2b568af4c1d9760fb9c1f57e8a122b7b3b1353a04b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/QwenVoiceCore/AudioPreparation.swift:1171-1179 | Sources/QwenVoiceCore/DocumentIO.swift:219-228 \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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffc7b3268ac613957cee8e6b5e4dbbefd992f253bed656c3ba8883c320559a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/SharedSupport/Views/VocelloModeBackdrop.swift:43-71 | Sources/iOS/Sheets/IOSPlayerSheet.swift:81-105 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/SharedSupport/Views/VocelloModeBackdrop.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"415f3df55a754a2f7d8ee5b4b1ea265a099568af25da3c4867eff4b027a8c520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift:180-201 | Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift:203-228 \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/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a52a9d26b308b278ea6435722c4f2fbb940270a95c19f18c46e6e02573ce04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/Models/TTSModel.swift:56-90 | Sources/QwenVoiceCore/SemanticTypes.swift:436-468 \u2014 These two members are one piece of code written twice and then edited apart: 33 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/Models/TTSModel.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b18ecc7c09454ed7c706aa280c1618b41589b20062ce52c1702b337a8d8846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/QwenVoiceCore/ProductionModelCatalog.swift:129-149 | Sources/SharedSupport/Database/GenerationHistoryOutbox.swift:74-84 \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/QwenVoiceCore/ProductionModelCatalog.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d719f5266bd8239c04e2cb6952cac836a355f8dc971fbaa4e8fb13a0f25ba330"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/QwenVoiceCore/PreparedVoiceRepository.swift:773-785 | Sources/SharedSupport/ViewModels/ReferenceClipRecordingStash.swift:83-98 \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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa82f6f945713f981557e8567873ec81d21f65220ffb2db95f6da95ac2c65d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/QwenVoiceCore/GenerationStreamingTelemetryV9.swift:405-433 | Sources/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift:108-142 \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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"59960df99dbe1524333772a3e17cf890d281e820a3ad8e524b26b5aec1657f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTSVoiceClonePrompt.swift:165-191 | Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/LoadedModel.swift:296-322 | Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:431-455 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef3b6f2c898ac565402c3cf665ca7c6dcd45f3be5a4ffe01481d3f27e1909cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:411-434 | Sources/iOS/IOSGenerationModeViews.swift:1304-1326 \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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fae7ad454821c1168a63d19e7a0983e276c8010e53fae71da025d63ef139fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/Services/MacStudioGenerationRequestFactory.swift:37-71 | Sources/Services/MacStudioGenerationRequestFactory.swift:77-102 \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/Services/MacStudioGenerationRequestFactory.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fada3b469ad7ff16bb600c0cff856956277788ceaf40fac7ce7ba613137a6011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/iOS/IOSSettingsViews.swift:93-113 | Sources/iOS/IOSSettingsViews.swift:386-408 \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/iOS/IOSSettingsViews.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"664ad4fe8b40265c72255bfba0ae64e27def62d226992d3f89f04b155e185eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Models/HistoryPresentation.swift:111-124 | Sources/iOS/History/HistoryScreen.swift:148-157 \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/Models/HistoryPresentation.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d5ad2fc188c0439acb2bdff72ab3aa4f41d641205f57d9d653f73ca31719a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/QwenVoiceCore/GenerationStreamingTelemetryV9.swift:159-171 | Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:1686-1697 \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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a7242ea4dd4a467a4141a5c27d50209edb471040932b3a04fbf5335ede6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/iOS/IOSDesignSystemPrimitives.swift:563-583 | Sources/iOS/IOSDesignSystemPrimitives.swift:755-771 \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/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c84c6a125bf03f5cbe71d2c8674b837aeb4733c5f7bc5a65834f19a5b78a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/SharedSupport/Views/VocelloCapsuleSelector.swift:96-116 | Sources/iOS/App/TabDock.swift:221-252 \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/SharedSupport/Views/VocelloCapsuleSelector.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26f784f550155c37e35232beb48ecc25da28d3bac67a639a02ef2da94843f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/iOS/Studio/IOSLongFormProject.swift:680-710 | Sources/iOS/Studio/IOSStudioGenerationActions.swift:24-53 \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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb7f312b50b082f8026937903acea3754f12f4aa5426ffea658b3de576e9758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Contracts.swift:460-471 | Sources/VocelloCLI/Core/Contract/CLIEnvelope.swift:64-78 \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/VocelloCLI/Core/Contract/CLIEnvelope.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e21799e990b3210e1e74afeed60c0c36a5299e5cce970f05df3d7a794365929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/QwenVoiceCore/SemanticTypes.swift:1055-1074 | Sources/Services/MacInterfaceText.swift:2349-2360 \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/QwenVoiceCore/SemanticTypes.swift"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4c80088ad03328962411635956cfe55f0f993923f90363db71128551a4c407"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/ViewModels/ModelManagerViewModel.swift:248-274 | Sources/iOSSupport/ViewModels/ModelManagerViewModel.swift:199-223 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d147076605972d0ae6a6bbe5e8c794caf5c89c940cbcd282909b69979d869abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/iOSSupport/Services/DatabaseService.swift:222-239 | Sources/iOSSupport/Services/DatabaseService.swift:247-270 \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/iOSSupport/Services/DatabaseService.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eb7bbcf58cd680213b5140e5ba62af7fc755439edc4eefe5d5621f4cdc9ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioCodecs/Mimi/Seanet.swift:22-50 | Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:1129-1159 \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/QwenVoiceCore/GenerationTelemetryRecord.swift"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c597e0b6ccd5a7d9ecdf4223d7d24515c27a49ba161ed96c736ef8dd827ef3a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Sources/iOS/IOSGenerationInputControls.swift:116-143 | Sources/iOS/IOSGenerationModeViews.swift:411-434 | Sources/iOS/IOSGenerationModeViews.swift:1304-1326 \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/iOS/IOSGenerationInputControls.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"057133f5624759c1bbddeecc91b55c6b47679e876312f1010b9f6c4147e7a476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/iOS/IOSVoicesView.swift:241-259 | Sources/iOS/Sheets/IOSBottomSheets.swift:1351-1368 \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/iOS/IOSVoicesView.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba561b7b90ecb5f50887b40e85e91caf0f929f9840d8eba54bd54e50ccb5b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/iOS/App/RootView.swift:305-334 | Sources/iOS/App/RootView.swift:337-360 \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/iOS/App/RootView.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee5ce9e2e49a7e28d39d6ae4ea587a652a9b3ccf2f7735adf3af8341258c988"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/QwenVoiceCore/ModelDownloadContracts.swift:212-222 | Sources/QwenVoiceCore/ProductionModelCatalog.swift:561-566 | Sources/QwenVoiceCore/SharedModelComponentStore.swift:1438-1448 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 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/QwenVoiceCore/ModelDownloadContracts.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8ba5e35c05e0c38b8afedefc2d3242bdabf7f2cbcf09427670fa77e9c33d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/iOSSupport/Services/IOSModelDeliverySupport.swift:338-355 | Sources/iOSSupport/Services/IOSModelDeliverySupport.swift:357-379 \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/iOSSupport/Services/IOSModelDeliverySupport.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aee92dbcc46e8faecd35e25f4de1d399107dbcdda4d9cb46e7ff9c3656ebd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioCore/Generation/GenerationTypes.swift:121-141 | Sources/QwenVoiceCore/LongFormAssembly.swift:50-72 \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/QwenVoiceCore/LongFormAssembly.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdae99981676e8608ec3db12139b719f724ec3a1370db03b70c89148203cca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): Sources/QwenVoiceCore/LongFormAssembly.swift:649-659 | Sources/QwenVoiceCore/NativeCloneSupport.swift:1008-1023 | Sources/SharedSupport/Services/VoiceClipTranscriber.swift:306-316 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2068-2078 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 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/QwenVoiceCore/LongFormAssembly.swift"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e97a2050c9dca68c6bef83e99daea2b8dbc369ab3636631196664f64d6a749"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/Views/Studio/MacVoiceCloningScreen.swift:799-822 | Sources/iOS/IOSGenerationModeViews.swift:2353-2377 \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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72a8feca8b527316c320797c01234b41bd61c4f04c43b28b4cbd578c97d6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/iOS/IOSShellPrimitives.swift:612-631 | Sources/iOS/IOSShellPrimitives.swift:877-901 \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/iOS/IOSShellPrimitives.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1c36e59ca1747d99a028f25366b611872f41c41aa03d4190c4dec26b5a8953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/QwenVoiceCore/GenerationStreamingTelemetryV9.swift:729-737 | Sources/VocelloCLI/Core/Contract/CLIEventStream.swift:109-118 \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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"045628e90208c82a2ea519c5463692dfc415c09989b6d81d420a875e8857d7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:262-280 | Sources/iOS/IOSGenerationModeViews.swift:1167-1185 | Sources/iOS/IOSGenerationModeViews.swift:1821-1839 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6162de304ec932d1e200ab0db79e12d48dfd4891048e2992a57c5a7856e96b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/iOSSupport/Services/IOSModelDownloadCancellationSequence.swift:52-69 | Sources/iOSSupport/Services/IOSModelDownloadCancellationSequence.swift:83-104 \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/iOSSupport/Services/IOSModelDownloadCancellationSequence.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ef29f4f22fa64bdfc52fbf6a8d05636016fe2e628a1a8084a8a56e7b621b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/QwenVoiceCore/MLXTTSEngine.swift:2780-2793 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2564-2574 \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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b7dd4d82fc520e99e1ae3c6e5362018e1a21e1fed104c6f1b8b13831f711ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/SharedSupport/Views/VocelloPrimaryCTAButton.swift:117-137 | Sources/Views/Primitives/MacVoicePrimitives.swift:19-35 \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/SharedSupport/Views/VocelloPrimaryCTAButton.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd7860006e18ec25bec3ba479af30f58f19d0b9486009a1f9b627a10474d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): Sources/iOS/IOSDesignSystemPrimitives.swift:351-367 | Sources/iOS/IOSDesignSystemPrimitives.swift:369-386 | Sources/iOS/IOSDesignSystemPrimitives.swift:388-406 | Sources/iOS/IOSDesignSystemPrimitives.swift:542-561 | Sources/iOS/IOSDesignSystemPrimitives.swift:738-753 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0458d26374ef9397d2897a38645afe227886aea46c1c029a3134114f209b1153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/Services/MacEngineBootstrap.swift:73-78 | Sources/VocelloCLI/CLIRuntime.swift:365-370 | Sources/iOS/IOSAppBootstrap.swift:105-110 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 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/Services/MacEngineBootstrap.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"69755d2ec1e770d3da62119ff790a853701cc95930945b2c240cdad3466b4bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/LoadedModel.swift:515-535 | Sources/QwenVoiceCore/UnsafeSpeechGenerationModel.swift:239-256 \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/QwenVoiceCore/UnsafeSpeechGenerationModel.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"46000e86f508564a307c6fb344addeb633fed18a4b0b620c271011112ab1b4b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Sources/Views/Voices/MacSavedVoiceSheet.swift:696-719 | Sources/Views/Voices/MacSavedVoiceSheet.swift:721-741 | Sources/iOS/Voices/IOSRecordVoiceSheet.swift:371-393 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"878cb1a3e7af928cafa69f49e54a9c3b92007270da2d23a80f350d144bcf53dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/VocelloCLI/ModelsCommand.swift:27-44 | Sources/iOSSupport/ViewModels/ModelManagerViewModel.swift:55-70 \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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e975bdae9d2cc2588f17bf0ac7e6e8666b77506f4508ec403aeb5591435372c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/QwenVoiceCore/ModelAssets.swift:467-484 | Sources/ViewModels/ModelManagerViewModel.swift:1757-1770 | Sources/VocelloCLI/Support.swift:155-164 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/ModelAssets.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd677092f08cf22077926b7d3f84596106234dac977754929da30dcce6c1bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:922-945 | Sources/iOS/IOSGenerationModeViews.swift:947-967 \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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb4ce67514857a4808e4ea1e0064edddfc80ff0be15e5412bf8338213401dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/QwenVoiceCore/SemanticTypes.swift:1778-1798 | Sources/QwenVoiceCore/SemanticTypes.swift:1802-1822 \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/QwenVoiceCore/SemanticTypes.swift"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20dfdd26fd888f670c54d634afdd65d8cdd35efa75be926afc8a43be86881a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/Views/Studio/MacVoiceCloningScreen.swift:122-139 | Sources/iOS/IOSGenerationModeViews.swift:1576-1593 \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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e539c7723e8dd32f61c100edf2cc3b081b0e0d8aefb91e3bc349d0379a76be89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/iOS/IOSDesignSystemPrimitives.swift:522-540 | Sources/iOS/IOSDesignSystemPrimitives.swift:722-736 \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/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f419b8b9c8dc28dccab29931806e2e20ebbaea9f57097bdda513be3efaa782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/Views/Studio/MacCustomVoiceScreen.swift:202-222 | Sources/Views/Studio/MacVoiceDesignScreen.swift:267-284 \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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47cc20bef280b9707bcedbde37639e39bc8e6bc6696e976130a7322b40bcc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Views/Studio/MacVoiceCloningScreen.swift:768-780 | Sources/iOS/IOSGenerationModeViews.swift:2297-2310 \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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14705da7278e4d509b299d3652a2794542c411db15ac68e49025bd4f1e96009"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/QwenVoiceCore/HuggingFaceDownloader.swift:1530-1543 | Sources/QwenVoiceCore/ModelAssets.swift:493-503 \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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcef353b650719bcd9ec9e9deadc03efe1c6c863c13d15739d34e81e6b6e6a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/QwenVoiceCore/ModelDownloadContracts.swift:103-122 | Sources/QwenVoiceCore/ModelDownloadContracts.swift:441-460 \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/QwenVoiceCore/ModelDownloadContracts.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4aa94713c38c16648d1cea68d2b1b3954249bd4ddf1125a33bfb2f6387894f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/QwenVoiceCore/PreparedVoiceRepository.swift:673-682 | Sources/QwenVoiceCore/PreparedVoiceRepository.swift:832-845 \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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb9a63c433f2c29c16ec4bd24f4c7c411d58f3cdb2cb474be4ccb5948fe0f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/iOS/IOSDesignSystemPrimitives.swift:1010-1024 | Sources/iOS/IOSDesignSystemPrimitives.swift:1088-1101 \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/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"58044cc237d73bb6e2fac8c917203f86ab01e1f946eb14a959f766b655c19c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/Models/GenerationScreenPresentation.swift:52-71 | Sources/Models/GenerationScreenPresentation.swift:75-96 \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/Models/GenerationScreenPresentation.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3138c3271204be388eb66dd91ebccde8f28618e537fb3fd386e46cf7128df911"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/Views/Theme/MacGlass.swift:115-131 | Sources/iOS/IOSShellPrimitives.swift:100-116 \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/Views/Theme/MacGlass.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1c8e8c24e932956ab94b62b21481de629ebc8e6593bffbad0e537a4017bb50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioCore/Generation/GenerationTypes.swift:69-87 | Sources/QwenVoiceCore/MetricKitMemoryExitSummary.swift:45-67 \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/QwenVoiceCore/MetricKitMemoryExitSummary.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed419b5e144b40d549c3c59e05f8086c179e30af78c3efaecc8cfe0ff0d311f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Models/TTSContract.swift:292-306 | Sources/iOSSupport/Models/TTSContract.swift:91-101 \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/Models/TTSContract.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"185d01c3a0399bc6fa984c80ecea0e9c895672f4839e92482c01629b7cf639f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/QwenVoiceCore/ProductionModelCatalog.swift:312-333 | Sources/QwenVoiceCore/ProductionModelCatalog.swift:374-391 \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/QwenVoiceCore/ProductionModelCatalog.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca957d44912089daaa67cf7a60cd17f27cd12f917f56c15b9d59221057229b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTSPromptAssembly.swift:40-52 | Sources/QwenVoiceCore/LongFormPlanning.swift:648-660 \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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"73371488617bb4f2a13f6025207780fd2b9f87f28c8d39a3cdd5496421d5bf25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/QwenVoiceCore/CodecLoopMutationEvidence.swift:165-173 | Sources/QwenVoiceCore/CodecRoundTripEvidence.swift:106-114 \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/QwenVoiceCore/CodecLoopMutationEvidence.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab00c568deda5b6a8ca604d4c3942d639db5d9864631a9501cc49e7087bcf16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/QwenVoiceCore/LongFormPlanning.swift:999-1010 | Sources/QwenVoiceCore/LongFormPlanning.swift:1012-1026 \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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d4ab66fc9dc78191fadcad79dbcc6a02d076d867093f3bf87e7ca28a25571"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1882-1893 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2104-2110 | Sources/iOS/IOSStartupReliabilityRunner.swift:778-787 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"160fb9b1e66b664d7b8a29bfc9c64126dc00296434cb9361e1e61bb7198e4238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/iOS/IOSGenerationSetupCards.swift:15-27 | Sources/iOS/IOSGenerationSetupCards.swift:43-55 \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/iOS/IOSGenerationSetupCards.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54a70233868a19b5b2c8d3a1a5c59c7e7317edf0f9661db8bbda818e53d62e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/iOS/Sheets/IOSPlayerSheet.swift:900-906 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:835-843 \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/iOS/Sheets/IOSPlayerSheet.swift"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4a6da10e836724521fb3a5f9628444c972e2fdcc50825db7e3d1b998a6bf9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/iOS/Studio/IOSLongFormProject.swift:429-443 | Sources/iOS/Studio/IOSLongFormProject.swift:445-459 \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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cf34bddc44f649dfde81382fc8d933c37960ad777d788b5e800e2b229d46c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/QwenVoiceCore/NativeMemoryPolicyResolver.swift:218-231 | Sources/QwenVoiceCore/NativeMemoryPolicyResolver.swift:365-376 \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/QwenVoiceCore/NativeMemoryPolicyResolver.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f8359710f646c7c405f2ca6057c7eb1d62f695cc7d3d27f9a3d7d44747e58b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/QwenVoiceCore/RuntimeRefactorContracts.swift:606-624 | Sources/iOS/IOSDesignSystemPrimitives.swift:916-934 \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/QwenVoiceCore/RuntimeRefactorContracts.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"1783730a0f8ef0e2dc704f4dbeecbed9326e4a286469414241c0ec2577f23445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/Views/History/MacHistoryScreen.swift:961-977 | Sources/iOS/History/HistoryScreen.swift:513-526 \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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8c53abcc38c0d7d9d1a5146dc58eb383f171b271cbaa419a997b49fc27e883"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/QwenVoiceApp.swift:269-280 | Sources/iOS/QVoiceiOSApp.swift:523-532 \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/QwenVoiceApp.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33268c60b51f7f5673bfe21d2253519e14bdd2bb1a2951f20a8d98631ed7dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Services/UIPerfFrameProbe.swift:302-311 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:287-298 \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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58817b5a01c54ecb19c066628103c5da2ff8c53806ee1a029c09a0e9f4867a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/QwenVoiceCore/GenerationSemantics.swift:723-728 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1612-1617 \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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d642494c35cd5b260a45638c39694688194cc263e074eaaa314c6bd0faa4f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/QwenVoiceCore/NativeCloneSupport.swift:98-105 | Sources/QwenVoiceCore/NativeCloneSupport.swift:137-144 | Sources/QwenVoiceCore/NativeCloneSupport.swift:190-197 \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/QwenVoiceCore/NativeCloneSupport.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d477efa11209061115f9900217d53104ff7e25fd9ebe43c12be059459dcfbb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift:207-218 | Sources/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift:441-451 \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/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6270f9f48a0618d4140790fe0338437c40ac1e2a72444a98f600363d5fccf4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/iOSSupport/Services/DatabaseService.swift:358-368 | Sources/iOSSupport/Services/DatabaseService.swift:472-482 \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/iOSSupport/Services/DatabaseService.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"553342cbe0101a871840ea5580f74f6d6871d49f10616ccf8902499111d12226"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift:97-103 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:933-941 \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/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e9a4409a0eaf852637e26644ad1f68c2552ff4c5861576cf2c728631211c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ViewModels/ModelManagerViewModel.swift:511-519 | Sources/Views/Settings/MacModelRow.swift:265-273 \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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"1880fc83285b6859821ac87543c106e83ffebbc4d385cb0603f7ebad4ea24c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/QwenVoiceCore/NativeTelemetry.swift:104-121 | Sources/QwenVoiceCore/NativeTelemetry.swift:126-142 \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/QwenVoiceCore/NativeTelemetry.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95b0e974ae65f86dd8b8ce77da1942e2460cd4e8e1b8f0dcbe012076415b60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/QwenVoiceCore/NativeTelemetryMetadata.swift:95-98 | Sources/QwenVoiceCore/NativeTelemetryMetadata.swift:180-184 \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/QwenVoiceCore/NativeTelemetryMetadata.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f81b18c4b8574af1ffd261c6362b6adffa7b6a3969d2d0a479f05ae54dcb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/SharedSupport/Telemetry/AppGenerationTimeline.swift:344-354 | Sources/SharedSupport/Telemetry/AppGenerationTimeline.swift:356-365 \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/SharedSupport/Telemetry/AppGenerationTimeline.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b20e696e18b1ddff97b1e156a6bf821236b680e7202c5be68c8d12368b35bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:396-409 | Sources/iOS/IOSGenerationModeViews.swift:1289-1302 | Sources/iOS/IOSGenerationModeViews.swift:2003-2016 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca5098fbc0695aef2d58c169acdcaef551308b6850a77f041a33e32ceeed248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/QwenVoiceCore/ToolchainNeutralUnsafeAccess.swift:37-47 | Sources/QwenVoiceCore/ToolchainNeutralUnsafeAccess.swift:50-60 \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/QwenVoiceCore/ToolchainNeutralUnsafeAccess.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2dcb7920397b73bd696945ee8a6df32ecc4b5b48e91c4a004e6a31ae7a1fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/iOSSupport/Services/IOSAudioSessionPolicy.swift:150-160 | Sources/iOSSupport/Services/IOSAudioSessionPolicy.swift:167-180 \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/iOSSupport/Services/IOSAudioSessionPolicy.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"431318ee358501009d1fcd462219fa4d5f19584b8d919a1a6bc89babd49650e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/ModelDiagnostics.swift:233-237 | Sources/QwenVoiceCore/AudioQCSignalObserver.swift:656-661 \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/QwenVoiceCore/AudioQCSignalObserver.swift"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"456ec3261bd383c4b3b797086235894e8c79acfc2eeacf2d3871f559783b3c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/QwenVoiceCore/IOSStartupReliabilityPlan.swift:123-130 | Sources/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift:462-467 \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/QwenVoiceCore/IOSStartupReliabilityPlan.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf905e586ac3df86bf6e571b606df2e814c05a5bf2d3a8a2c52effaa9eac905b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/QwenVoiceCore/NativeMemoryPolicyResolver.swift:46-52 | Sources/QwenVoiceCore/UnsafeSpeechGenerationModel.swift:61-67 | Sources/VocelloDesktopCore/DesktopAppSettings.swift:144-150 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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/QwenVoiceCore/NativeMemoryPolicyResolver.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac34110a3d29b366aa0422797994c882e4979a0bcc3703fe422cb2927c0e9fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/Views/Settings/MacSettingsRows.swift:226-233 | Sources/iOS/IOSSettingsViews.swift:299-306 \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/Views/Settings/MacSettingsRows.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b2a12f61692feb48bc58cb4278ef1eb38df71d3de997bb9e19c69926b22397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/iOS/IOSVoicesView.swift:261-269 | Sources/iOS/Sheets/IOSBottomSheets.swift:1370-1376 \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/iOS/IOSVoicesView.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4b457f7219abf4f8255157decedb5609693ef51b801ef2d29809f9121659eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/QwenVoiceCore/Qwen3TTSRuntimeProfile.swift:253-263 | Sources/QwenVoiceCore/Qwen3TTSRuntimeProfile.swift:265-275 \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/QwenVoiceCore/Qwen3TTSRuntimeProfile.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabdc42f21491fd4ad34c11610bdcb48899160fd3d0cd497b7eb213c4c719f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/QwenVoiceCore/SharedModelComponentStore.swift:1746-1758 | Sources/QwenVoiceCore/SharedModelComponentStore.swift:1760-1769 \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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c3983b54ae5865c34400ef505ddf2e47c8d969ec3a951ffec5a97c28c7f654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:31-37 | Sources/iOS/Sheets/IOSBottomSheets.swift:1142-1148 \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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbb6fa6e6f13672a01293703deea88842759e55eb3789b59779f1e17cb25779"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/QwenVoiceCore/IOSModelDownloadLedger.swift:212-217 | Sources/QwenVoiceCore/ProductionModelCatalog.swift:544-547 \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/QwenVoiceCore/IOSModelDownloadLedger.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d238200c99cb5367756a37b3b5a1e5fd1616668bd37d094c159265d1aba94e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/QwenVoiceCore/NativeTelemetrySampler.swift:18-26 | Sources/iOS/TTSEngineStore.swift:178-186 \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/QwenVoiceCore/NativeTelemetrySampler.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e31744ac1c4ab22490021fb0aeacffcae4bb761232dbe67e95605c6292c4de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/Views/Voices/SavedVoiceSheetConfiguration.swift:58-72 | Sources/Views/Voices/SavedVoiceSheetConfiguration.swift:74-91 \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/Views/Voices/SavedVoiceSheetConfiguration.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"392bdc22bccc355ca8ef467e0500c7ecf843f0249dd246a71e9d92045c3b6c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/iOS/App/AppModel.swift:310-318 | Sources/iOS/App/AppModel.swift:326-334 \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/iOS/App/AppModel.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f700924d1e69a765d528803e184b392d6aadd1f1b6c6d07f8a120c7de754ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/QwenVoiceCore/NativeCloneSupport.swift:626-638 | Sources/QwenVoiceCore/NativeCloneSupport.swift:785-800 \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/QwenVoiceCore/NativeCloneSupport.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8c75a181f7c27e677a72cf44908c0470fe5adeb3576a21f19f348c4677813d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1839-1847 | Sources/iOS/IOSStartupReliabilityRunner.swift:799-807 \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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"615512fc438d9dcb2c7e223486696190e9b76166953bae88a3afdf30861b1c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/SharedSupport/Services/VoiceClipTranscriber.swift:1101-1110 | Sources/SharedSupport/Services/GenerationOutputVerifier.swift:361-368 \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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0987ec8807bb2cdda7b1533a93415e251f582fad8c0534c23908648ff5c4ac1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ViewModels/ModelManagerViewModel.swift:1703-1710 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:1173-1181 \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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"8085b367aa2fcf05fee437310d01a0825ca71a2bcb40be624a53142c84c27e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Views/Studio/MacStudioCanvas.swift:599-611 | Sources/SharedSupport/Views/VocelloSetupChipPill.swift:93-104 \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/Views/Studio/MacStudioCanvas.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0f2b35c7e3a5ab024edc9de7453d1f667654f8b0f1a4632935e6e7af3cd957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/iOS/IOSModelDownloadCoordinator.swift:1068-1078 | Sources/iOS/IOSModelDownloadCoordinator.swift:1352-1361 \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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aeccad64343205303635161845b41ec8b1ab16a398cfeaf2f5eec9a6f6fa58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Sources/QwenVoiceCore/MLXTTSEngine.swift:2156-2171 | Sources/QwenVoiceCore/TTSEngine.swift:168-181 | Sources/iOS/TTSEngineStore.swift:519-535 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdbe11150a99f7749779f72357ab03ba802338313069f5730130f5445965188"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/SharedSupport/Services/VoiceClipTranscriber.swift:1521-1524 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:597-601 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:958-962 \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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"f386724e96c53ee899a1c1d6c062dfaf0021f92ace19c0a15b221e3fe866f068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/iOSSupport/Services/DatabaseService.swift:183-194 | Sources/iOSSupport/Services/DatabaseService.swift:200-210 \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/iOSSupport/Services/DatabaseService.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2a4b772441068495a5c90221ac5ff94562efd854d2cd76e20d7bc4e3feec01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/QwenVoiceCore/GenerationSemantics.swift:1174-1181 | Sources/QwenVoiceCore/RuntimeRefactorContracts.swift:675-679 \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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5daa2829bc71d969e3343f63545682da84a2d28a56b569e89afc016546e1a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/QwenVoiceCore/ModelDownloadContracts.swift:344-352 | Sources/QwenVoiceCore/ModelDownloadContracts.swift:354-366 \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/QwenVoiceCore/ModelDownloadContracts.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb03270d70cf0db1e73b5b3ee410819516980ff025ccad0811801bccbd77688"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/QwenVoiceCore/GenerationStreamingTelemetryV9.swift:314-326 | Sources/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift:204-216 \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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71cb6d0cdb849d35791767e12c68658fa7261f046dcc23fca8eaa59f681068a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): Sources/QwenVoiceCore/IOSMemoryQualificationPlan.swift:104-109 | Sources/QwenVoiceCore/IOSMemoryQualificationPlan.swift:235-240 | Sources/QwenVoiceCore/IOSStartupReliabilityPlan.swift:132-139 | Sources/iOS/IOSStartupReliabilityRunner.swift:896-901 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 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/QwenVoiceCore/IOSMemoryQualificationPlan.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09dbafabe38ccdc9f4cba4b2657ef63a0e647611d08e1fcc43d45bae66b5b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Contracts.swift:300-312 | Sources/QwenVoiceCore/RuntimeRefactorContracts.swift:112-124 \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/QwenVoiceCore/RuntimeRefactorContracts.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f499239248eb4e733a7f3d4b9f1519075147b3363777495ab5bb86019aa2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2659-2672 | Sources/QwenVoiceCore/NativeMemoryPolicyResolver.swift:233-247 \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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"128888b6dbe8bab3533b42ed2d9bcf960bd953d3254b6949b89267138f168237"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Views/Studio/MacVoiceCloningScreen.swift:782-788 | Sources/iOS/IOSGenerationModeViews.swift:2336-2342 \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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e742c4735880f9570de3c45cc46e3251fc1f996bb68a28705b28542be0e7846e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/QwenVoiceCore/GenerationStartupDiagnostics.swift:264-269 | Sources/QwenVoiceCore/GenerationTerminalDiagnosticEvidence.swift:114-119 \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/QwenVoiceCore/GenerationStartupDiagnostics.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8a9f63047ba3ef21c81b0e7c8b5d6e289b36d1b4c3d11519def927136cbc9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/QwenVoiceCore/MLXTTSEngine.swift:2141-2154 | Sources/iOS/TTSEngineStore.swift:503-517 \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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f8ec55d08edde64b3f31e2ce4a195d771511969bbc9dcede46647d39756043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/iOSSupport/Services/IOSModelUpdateAutoStartPolicy.swift:24-34 | Sources/QwenVoiceCore/ModelUpdateDecisions.swift:49-55 \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/iOSSupport/Services/IOSModelUpdateAutoStartPolicy.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd64fc5fc68f33b7f800ef5e6195d458526876113e2a9d42a29ab59cfac59e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTSPromptAssembly.swift:535-542 | Sources/QwenVoiceCore/LongFormPlanning.swift:638-641 \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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ffedfadedd0f73b35a91f7fdf877be33d3a9441de9268158dbd46375dbb62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/Services/MacMetricKitReporter.swift:236-241 | Sources/iOSSupport/Services/IOSCrashObserver.swift:72-77 \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/Services/MacMetricKitReporter.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5d57b4b1b7f3b6d8a573ebe3abb1d3892b5bd9aca4835b1069bf0bf380ee8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/SharedSupport/ViewModels/ClipReviewPlayer.swift:122-130 | Sources/iOS/Sheets/IOSPlayerSheet.swift:924-931 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:867-874 \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/SharedSupport/ViewModels/ClipReviewPlayer.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c038fa26d68fa8bd7695dd70639292a30f45b499f5539e1be67cf6c42b6512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/iOSSupport/Services/IOSCrashObserver.swift:37-42 | Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift:17-21 \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/iOSSupport/Services/IOSCrashObserver.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a5418d61f5672a1b45b640d7da9fc003d8c3d1f68c3205b7e8059550d0a301"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): Sources/QwenVoiceCore/GenerationSemantics.swift:1183-1187 | Sources/QwenVoiceCore/GenerationStartupDiagnostics.swift:275-277 | Sources/QwenVoiceCore/NativeCloneSupport.swift:1192-1196 | Sources/SharedSupport/Services/VoiceClipTranscriber.swift:265-269 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2492-2496 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 3 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"992268a0dd9291b92fb84cae256c71a345457d741394d3a2837f95501849bdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/Views/Settings/MacSettingsRows.swift:12-16 | Sources/iOS/IOSSettingsViews.swift:31-41 \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/Views/Settings/MacSettingsRows.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58227f8258caeb7fe8b7176a48dd8f84b7ee2509eac5295d22e0236d677d32f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Views/Studio/MacCustomVoiceScreen.swift:112-121 | Sources/Views/Studio/MacVoiceDesignScreen.swift:69-78 \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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0e12ba5483f808eb0def63e254c71f2f9dc713ba574266d55ea5fc815bfb63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/Views/Studio/MacVoiceCloningScreen.swift:148-159 | Sources/iOS/IOSGenerationModeViews.swift:1620-1631 \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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa59a143f64bb28c436f66d8bb65fa1cb0b44523766b40a74a7c41e0e7308f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Services/MacMetricKitReporter.swift:51-58 | Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift:33-39 \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/Services/MacMetricKitReporter.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3043eada8d44e753616e522bc21ad3d99eaa75ad478fe5c704933525111b74ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/Views/Theme/MacGlass.swift:59-71 | Sources/iOS/Theme/ThemeModifiers.swift:24-39 \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/Views/Theme/MacGlass.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b96bfaa21a1cd9b2f6407b2fe729c7213f3b1009822f0d0a2c5270536158008"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Views/Voices/MacRecordVoiceSheet.swift:89-92 | Sources/iOS/Overlays/IOSRecordingOverlay.swift:225-228 \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/Views/Voices/MacRecordVoiceSheet.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cf680b8d98f55bab60ba068df906b809daac6a785b54b8d1af7d601c4a89b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/Services/MacStudioSingleTakeGenerationHooks.swift:72-77 | Sources/iOS/Studio/IOSSingleTakeGenerationExecutionHooks.swift:96-105 \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/Services/MacStudioSingleTakeGenerationHooks.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dd2470a4ba655c4e5e59e693f29605b29e4a46bc320d24038169cae71a59ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Views/History/MacHistoryScreen.swift:905-914 | Sources/iOS/History/HistoryScreen.swift:652-660 \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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1f8737ae3ca3476b8f12e76859f3bf97941376726b3ed7a74e3e92dad3d471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/iOS/Settings/SettingsScreen.swift:556-565 | Sources/iOS/Settings/VoiceModelsScreen.swift:35-44 \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/iOS/Settings/SettingsScreen.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"426e34ec219e1addff4468d56be8ec82f3d9f4cd13534ff6301d153fba34c9aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/QwenVoiceCore/EmotionPreset.swift:140-148 | Sources/QwenVoiceCore/GenerationSemantics.swift:534-540 \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/QwenVoiceCore/EmotionPreset.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c409fe503ab0ce037976ddf3f254879b4dc69ee8a86278b1138691cf2faa579e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/Views/History/MacHistoryScreen.swift:687-697 | Sources/iOS/History/HistoryScreen.swift:572-582 \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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"46206b102bb22a262e1645b46c0c7d52c8a12656ff52b92ceee7394917394e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/QwenVoiceCore/GenerationStartupDiagnostics.swift:271-273 | Sources/QwenVoiceCore/SpokenTextPlanning.swift:514-516 \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/QwenVoiceCore/GenerationStartupDiagnostics.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9137d3594616bc118443d3461be21868b70fcfc4cf431eac559cb06a57a5ff8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/QwenVoiceCore/SharedModelComponentStore.swift:1771-1775 | Sources/SharedSupport/Database/GenerationHistoryOutbox.swift:745-750 \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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2585c6a1c79f8d9b3a033d27e501e45fb6d99f1139a82ab7377ca3dca12b395"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/ViewModels/ModelManagerViewModel.swift:567-574 | Sources/VocelloDesktopCore/DesktopModelSelection.swift:84-89 \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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ebd3edf2a6e0c630897815da9c95e1a9ee086ef36f3cd4e6d75d8d5d2d840c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Generation.swift:398-402 | Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Engine.swift:192-196 | Sources/QwenVoiceCore/TTSEngine.swift:216-221 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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/QwenVoiceCore/TTSEngine.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e951935ed6c7c189b9109222e1528e43add528f417342f24d63946e3a45b510"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): Sources/QwenVoiceCore/CodecLoopMutationEvidence.swift:248-250 | Sources/QwenVoiceCore/CodecRoundTripEvidence.swift:211-213 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:1405-1407 | Sources/QwenVoiceCore/RuntimeRefactorContracts.swift:685-687 | Sources/QwenVoiceCore/SpokenTextPlanning.swift:510-512 | Sources/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift:458-460 | Sources/SharedSupport/Database/LongFormHistoryAcceptance.swift:654-656 | Sources/VocelloCLI/BenchCodecReplay.swift:284-286 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 3 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/CodecLoopMutationEvidence.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b67adf84c71b6278786c50ab3273108c68a1c64c0da158b7f245cc3b93bfc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/VocelloCLI/Core/Contract/CLIEnvelope.swift:23-27 | Sources/VocelloCLI/Core/Contract/CLIError.swift:13-23 \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/VocelloCLI/Core/Contract/CLIEnvelope.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"549640885c4dfa2264dafd1ebf2a405e7dff68a19af977f6f6ee53e0cb4bd44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Sources/QwenVoiceCore/IOSModelDownloadLedger.swift:228-232 | Sources/QwenVoiceCore/ProductionModelCatalog.swift:549-553 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2313-2317 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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/QwenVoiceCore/IOSModelDownloadLedger.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c68f5e58916f9f76b896753d8aa789a0fa8623364782b48183d77988141d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/QwenVoiceCore/AnyTTSEngineBackend.swift:345-348 | Sources/VocelloCLI/CLIRuntime.swift:188-191 \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/QwenVoiceCore/AnyTTSEngineBackend.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6237f0ed6543bf47da631f427a7fcb40085513ac86788fc3c65e17cdce7770"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/Views/History/MacHistoryScreen.swift:951-957 | Sources/iOS/History/HistoryScreen.swift:502-508 \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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbd465d1ce3818cea5ee2bda02fad3318c6986a0c0a24b210b8884270aa8371"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.swift:3392-3397 | Sources/QwenVoiceCore/TimingExtensions.swift:23-28 \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/QwenVoiceCore/TimingExtensions.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb8df5b66dac05ff5e9a6c1fb2320b4d09d04f9fff7ca1bff5936ed69fb8a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Services/MacLineBatchRequest.swift:108-111 | Sources/iOS/Studio/IOSLongFormProject.swift:256-259 \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/Services/MacLineBatchRequest.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"137f9a9dd19eec0e69054043bb36dce7ffc0406efc95595655f3502118605e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:838-846 | Sources/QwenVoiceCore/NativeEngineRuntime.swift:2012-2020 \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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"838b0bb4a1653991a11484e3daac27d1a1490a5a4b13bacc5799e743b05f8635"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Views/History/MacHistoryScreen.swift:919-927 | Sources/iOS/History/HistoryScreen.swift:489-497 \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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"6add9b38b943bb7f9833da3e1108742bc8eb6a2c294102b9ead23024a2b9bd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/Views/Studio/MacVoiceCloningScreen.swift:70-73 | Sources/iOS/IOSGenerationModeViews.swift:1527-1530 \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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae93bf9c547ae032291269a28408793fda356a330230380c4c29acfbdefb01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/iOS/History/HistoryScreen.swift:89-96 | Sources/iOS/IOSRootNavigationModels.swift:1357-1369 \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/iOS/History/HistoryScreen.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd993fc3672a40dd3e46faf01d2fcb4d0954f4f48e8f345af39ffb69935741dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/iOS/IOSGenerationModeViews.swift:1977-1980 | Sources/iOS/IOSVoicesView.swift:236-239 \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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a500e708b2561bce447906e50665b2f395be5240b6c042741e0d0a1549eaeee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/QwenVoiceCore/IOSMemorySnapshot.swift:462-465 | Sources/QwenVoiceCore/NativeTelemetrySampler.swift:1155-1158 \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/QwenVoiceCore/IOSMemorySnapshot.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f9a7b1419e1d65beb3d59feba846fbcce50f0b6e514951ce88bc3356ecf8e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/Views/Theme/MacTheme.swift:82-84 | Sources/iOS/Theme/Theme.swift:171-173 \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/Views/Theme/MacTheme.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d3c26e88da49ad543d798454614ae8b16e03f00f0f7201f6d7d0012056a77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/QwenVoiceCore/IOSMemorySnapshot.swift:323-326 | Sources/iOSSupport/Services/IOSDeviceDiagnosticsRecorder.swift:321-324 \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/QwenVoiceCore/IOSMemorySnapshot.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc32421c911c7017073fb05a7906e4f3bc71cc9870681453213eb0b134fd7225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): Sources/VocelloDesktopCore/DesktopLongFormProject.swift:289-289 | Sources/iOS/Studio/IOSStudioLongFormPlatformHooks.swift:19-21 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/VocelloDesktopCore/DesktopLongFormProject.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a42c7b5d987554092c527a019fe3280b98d7df5309dc31658d95b70d46cbbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/QwenVoiceCore/AnyTTSEngineBackend.swift:360-366 | Sources/QwenVoiceCore/MLXTTSEngine.swift:2481-2491 \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/QwenVoiceCore/AnyTTSEngineBackend.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be6ac8617e204352af81b6afebfae09af04abdbb82b9329b4d86fba5b2e64d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/Views/Voices/MacSavedVoiceSheet.swift:151-159 | Sources/iOS/IOSGenerationInputControls.swift:388-396 \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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d58df523169199200886d2266517c2f4b7ee61437af8526d99b250182dbe682"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): Sources/SharedSupport/ViewModels/ClipReviewPlayer.swift:23-30 | Sources/iOS/Sheets/IOSPlayerSheet.swift:777-783 | Sources/iOS/Sheets/IOSVoicePreviewPlayer.swift:29-34 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:624-632 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 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/SharedSupport/ViewModels/ClipReviewPlayer.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e958941f954254079e745ff9134d63bd485d3a2da4b154901186e65457d2299d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): Sources/SharedSupport/ViewModels/AudioPlayerViewModel.swift:1439-1483 | Sources/SharedSupport/ViewModels/AudioPlayerViewModel.swift:1542-1585 \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/SharedSupport/ViewModels/AudioPlayerViewModel.swift:1439\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/SharedSupport/ViewModels/AudioPlayerViewModel.swift"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7ebe4f6deaed7e1f6d3249de67f55817b3850ee42ac5af189f08d1ec7c9d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:205-248 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:157-200 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9c05136829afd2ee6efe3da63a35cb7eb9b2e7dc071b6fef49a9df1b2ca173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): Sources/Services/MacMetricKitReporter.swift:85-123 | Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift:49-87 \u2014 before extracting anything, compare \u0060Sources/Services/MacMetricKitReporter.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 95 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/Services/MacMetricKitReporter.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c123c7e1357e11f3c0833494cda34a33734f3a9ddea2bb8c3e849af09a6e30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:872-910 | Sources/iOS/IOSStartupReliabilityRunner.swift:588-626 \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/iOS/IOSDeviceDiagnosticsRunner.swift:872\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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9579f895fc4cfa78624985ea4839b4d3db8029ed443f023ee4e9d526c03fa3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:170-203 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:122-155 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift:170\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. 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce7818a7fd8c0dc658e0fa57479f108993c44d00106564ef58ba873ec57084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Sources/Services/MacMetricKitReporter.swift:125-156 | Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift:92-123 \u2014 before extracting anything, compare \u0060Sources/Services/MacMetricKitReporter.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 95 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/Services/MacMetricKitReporter.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b0b4aa50f14f4415168f3338be56cbbf7c150c0975ba3e5153274fc42a1812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:110-139 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:208-237 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c7b1073b2f49f425503b1e59a9a06ae5c049bb44629f8e3061e65297bb2f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:258-285 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:247-274 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift:258\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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04afc1c97f6666027c58d9e9c4acb2d8df5c1f6bbbd876f5dcc287550d1cfe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1919-1943 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1956-1981 \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/iOS/IOSDeviceDiagnosticsRunner.swift:1919\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/iOS/IOSDeviceDiagnosticsRunner.swift:1954\u0060 calls \u0060DiagnosticsError\u0060 and \u0060Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1918\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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"5384705d41de54b6329c988ab30fed1d20b4a404d6899f5828628586aaf88c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:344-368 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:331-355 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1c3fa61e09f6c94ce95b388a03733010dff3c14e14757e67493e13f4b87e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/Views/Studio/MacCustomVoiceScreen.swift:163-187 | Sources/Views/Studio/MacVoiceDesignScreen.swift:181-205 \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/Views/Studio/MacCustomVoiceScreen.swift:163\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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6ca43028678f5a9a0d0b2d6c08cd0b6aaaa02268e926b330c6884ab12e9678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/Views/Voices/MacSavedVoiceSheet.swift:597-621 | Sources/iOS/Voices/IOSRecordVoiceSheet.swift:259-283 \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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e955ecaec83caad0b1db11affee862988be75b5e1d77af161a2d0eefe50f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): Sources/iOS/Sheets/IOSBottomSheets.swift:401-422 | Sources/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:182-205 \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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa4992800e4aa33f90909838590ad62fa90cbf3f724c41c51d56632150f33da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): Sources/iOS/Sheets/IOSBottomSheets.swift:1398-1419 | Sources/iOS/Sheets/IOSBottomSheets.swift:1480-1497 \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/iOS/Sheets/IOSBottomSheets.swift:1398\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/iOS/Sheets/IOSBottomSheets.swift:1420\u0060 calls \u0060accessibilityAddTraits\u0060 and \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:1498\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf5bc9898ea3cec8d2a787f2d114c5c020c77121f6190a5e90898e5d60709eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2143-2163 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2195-2215 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2367-2387 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2164\u0060 calls \u0060discard\u0060, \u0060removeItem\u0060 and \u0060Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2388\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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aeca3f91c227b5432f06b16dfcb3a983f0ae65354ee4b9081c84479cb7c3aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): Sources/SharedSupport/Database/GenerationMigrations.swift:77-93 | Sources/SharedSupport/Database/GenerationMigrations.swift:113-133 \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/SharedSupport/Database/GenerationMigrations.swift:77\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/SharedSupport/Database/GenerationMigrations.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1008f6c34553d946ee6e474f88dd99e8ad8166cfc7dc46505556cd80061e00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/iOS/IOSGenerationModeViews.swift:234-254 | Sources/iOS/IOSGenerationModeViews.swift:1138-1158 \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/iOS/IOSGenerationModeViews.swift:1159\u0060 calls \u0060presentSaveDesignedVoice\u0060 and \u0060Sources/iOS/IOSGenerationModeViews.swift:255\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd4279ba6fbbdb5a5024fab560963c8bc5431f78c20acde982374d436613a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/Services/UIPerfHistorySeeder.swift:37-56 | Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift:41-60 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfHistorySeeder.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Services/UIPerfHistorySeeder.swift:37\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/Services/UIPerfHistorySeeder.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2ec81998489f8fce43477e88002d88da53a84ad3186a4cb9d51f8aab921690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/iOS/IOSGenerationModeViews.swift:522-540 | Sources/iOS/IOSGenerationModeViews.swift:2231-2249 \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/iOS/IOSGenerationModeViews.swift:522\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec24d8302de0e2e00962114ebbc53fbcdd186b044205c3216637629b9e14d819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/Views/History/MacHistoryScreen.swift:749-766 | Sources/Views/Voices/MacVoicesScreen.swift:235-252 \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/Views/History/MacHistoryScreen.swift:749\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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfe5d35ee2d46f47ea429d028c0713f1dd0445a6f40136746e5e7e2c2e968e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1632-1649 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2474-2490 \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/iOS/IOSDeviceDiagnosticsRunner.swift:1632\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. 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2fefbe3f85d047adb5cf318afd499b5c03e35cce8a125f80be7db3b3de8298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Sources/iOS/IOSGenerationModeViews.swift:233-249 | Sources/iOS/IOSGenerationModeViews.swift:1137-1153 | Sources/iOS/IOSGenerationModeViews.swift:1790-1806 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/IOSGenerationModeViews.swift:233\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"858dc77da8b341228f9a61acd0ead2205f250cc850e994f84681679bd8fc5a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): Sources/iOS/IOSGenerationModeViews.swift:531-545 | Sources/iOS/IOSGenerationModeViews.swift:1428-1444 | Sources/iOS/IOSGenerationModeViews.swift:2240-2254 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/IOSGenerationModeViews.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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8593d84c0046aceb82e61c08cfa18180328d427dcbeac55b8dfbd1e0644f38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Sources/iOS/Sheets/IOSBottomSheets.swift:143-159 | Sources/iOS/Sheets/IOSBottomSheets.swift:591-607 | Sources/iOS/Sheets/IOSBottomSheets.swift:849-865 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:143\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2862b356f600e6b1885172dcaa5bdee333415bab7724de614403e02ade3615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/QwenVoiceCore/MLXTTSEngine.swift:756-772 | Sources/QwenVoiceCore/SemanticTypes.swift:1752-1768 \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/QwenVoiceCore/MLXTTSEngine.swift:756\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4619a478fb6715729d65dbb8a44243fdcbc2ac4801ec2ecee1e02085846157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): Sources/Services/MacStudioSingleTakeGenerationHooks.swift:82-95 | Sources/iOS/Studio/IOSSingleTakeGenerationExecutionHooks.swift:107-123 \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/Services/MacStudioSingleTakeGenerationHooks.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b93aea6d8270eb495fc2c4bf4f233d00622d62a9d5d01c5d7b51fe5c2537eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/iOS/IOSDesignSystemPrimitives.swift:657-673 | Sources/iOS/IOSDesignSystemPrimitives.swift:806-822 \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/iOS/IOSDesignSystemPrimitives.swift:657\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. 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/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9ba3f89503b59945e32dd19eb1c1f93ef3f3ec4e5fe9e5e841a7d1f6bf54b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): Sources/iOS/IOSDesignSystemPrimitives.swift:678-693 | Sources/iOS/IOSDesignSystemPrimitives.swift:828-843 | Sources/iOS/Overlays/IOSRecordingOverlay.swift:122-137 | Sources/iOS/Sheets/IOSBottomSheets.swift:115-130 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/IOSDesignSystemPrimitives.swift:678\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/iOS/IOSDesignSystemPrimitives.swift:694\u0060 calls \u0060buttonStyle\u0060 and \u0060Sources/iOS/IOSDesignSystemPrimitives.swift:844\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/iOS/IOSDesignSystemPrimitives.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"032dd24d62abaddac72355300bc6da41458a5468e972f3d7f4d6491d5cfb8108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 3): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:342-357 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2120-2135 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2505-2516 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/IOSDeviceDiagnosticsRunner.swift:342\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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbb587e4583b39b8ac27d6cc4ed23c5eefe08f9de3f8e968880ae63480b4d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/QwenVoiceCore/GenerationOutputAdapter.swift:3158-3173 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:3236-3251 \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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4e4b34cfe6f3014c72d6356ab3069b3ddb5b7c5f5068382428d12048b4a0c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Sources/QwenVoiceCore/MLXTTSEngine.swift:1566-1581 | Sources/QwenVoiceCore/MLXTTSEngine.swift:1663-1677 \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/QwenVoiceCore/MLXTTSEngine.swift:1566\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f141c260616cd37ae9fa51071dbc632632c8f850f90714b4f85bd3e5218f753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Sources/Views/Studio/MacVoiceCloningScreen.swift:550-565 | Sources/Views/Voices/MacSavedVoiceSheet.swift:119-133 \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/Views/Studio/MacVoiceCloningScreen.swift:550\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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db17d9287e872872c2dd325379bf5b52e39c9188d0fc337e27033cf5f4bd989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/iOS/IOSVoicesView.swift:328-343 | Sources/iOS/Sheets/IOSBottomSheets.swift:1311-1326 \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/iOS/IOSVoicesView.swift:328\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u006012\u0060 in one and \u006014\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/iOS/IOSVoicesView.swift:344\u0060 calls \u0060fixedSize\u0060 and \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:1327\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/iOS/IOSVoicesView.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"9604e421708c71faaa998b5c47e0dd0d540eac20bb3faf4b16720e5eb63828fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): Sources/QwenVoiceCore/HuggingFaceDownloader.swift:2388-2402 | Sources/QwenVoiceCore/HuggingFaceDownloader.swift:2582-2592 \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/QwenVoiceCore/HuggingFaceDownloader.swift:2388\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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e47c55620ee0b176e009baf01eda9e336b69a346fdb1ab1667501dbda46b373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/QwenVoiceCore/HuggingFaceDownloader.swift:3098-3111 | Sources/QwenVoiceCore/HuggingFaceDownloader.swift:3137-3151 \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/QwenVoiceCore/HuggingFaceDownloader.swift:3098\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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3098}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad4544dbf74fa25a15f15a35fe25f7982500602b501e7124edde2f93b0a92f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/QwenVoiceCore/MLXTTSEngine.swift:1730-1744 | Sources/QwenVoiceCore/MLXTTSEngine.swift:1760-1774 \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/QwenVoiceCore/MLXTTSEngine.swift:1730\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe8172052b53903981a3e2ad89ac7301336984b7f944abd90b2b78e4d0152ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/QwenVoiceCore/SharedModelComponentStore.swift:626-640 | Sources/QwenVoiceCore/SharedModelComponentStore.swift:1158-1172 \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/QwenVoiceCore/SharedModelComponentStore.swift:626\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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fed640b8c5496ce93f5a32bae2f9e44e41f7933178d57853563bd8411eb4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/VocelloCLI/BenchCodecLoop.swift:118-132 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:114-128 \u2014 before extracting anything, compare \u0060Sources/VocelloCLI/BenchCodecLoop.swift\u0060 and \u0060Sources/VocelloCLI/BenchCodecRoundTrip.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 87 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/VocelloCLI/BenchCodecLoop.swift:118\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/VocelloCLI/BenchCodecLoop.swift:134\u0060 calls \u0060CLIError\u0060 and \u0060Sources/VocelloCLI/BenchCodecRoundTrip.swift:130\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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5aa2621d3f8050b035e41e4504ad478f6e0a34d48fd07e0253adb0e70c139b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/VocelloCLI/BenchCodecLoop.swift:234-248 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:210-224 \u2014 before extracting anything, compare \u0060Sources/VocelloCLI/BenchCodecLoop.swift\u0060 and \u0060Sources/VocelloCLI/BenchCodecRoundTrip.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 87 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/VocelloCLI/BenchCodecLoop.swift:234\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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"172183915fa3d540c7b0663b77a84bc90ff8c6debdbfd4303c40ee851e3cff1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/VocelloCLI/BenchCodecReplay.swift:159-173 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:127-141 \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/VocelloCLI/BenchCodecReplay.swift:159\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/VocelloCLI/BenchCodecReplay.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"426895a23e58cd052321d9a1b5a5f0636bf3b2c3bd1d2c76224639eb4c1c21af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/iOS/IOSGenerationModeViews.swift:472-486 | Sources/iOS/IOSGenerationModeViews.swift:2165-2179 \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/iOS/IOSGenerationModeViews.swift:472\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 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30a2c909c4bd7f4fd2a8dca66d49f17fc36c37cb623cb3ec048711d3f73e9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/iOS/IOSShellPrimitives.swift:228-242 | Sources/iOS/IOSShellPrimitives.swift:288-302 \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/iOS/IOSShellPrimitives.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bba2add54dfb4212f984de96b306ca9ffdf3b5846cf5e569afa872a6ede721e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/iOS/TTSEngineStore.swift:211-225 | Sources/iOS/TTSEngineStore.swift:803-817 \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/iOS/TTSEngineStore.swift:211\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/iOS/TTSEngineStore.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dcaf29a64e984bd0293665e63e714d7b62ae16afce6203aa7a45d331cdc8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Sources/iOS/Sheets/IOSBottomSheets.swift:138-151 | Sources/iOS/Sheets/IOSBottomSheets.swift:586-599 | Sources/iOS/Sheets/IOSBottomSheets.swift:844-857 | Sources/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:41-54 \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/iOS/Sheets/IOSBottomSheets.swift:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:153\u0060 calls \u0060frame\u0060, \u0060contentShape\u0060, \u0060Rectangle\u0060 and \u0060Sources/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:55\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50e9490aaab17cdbe6c8724129cf9b77dbdf199de84f5e0beb919d6e4835dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Sources/QwenVoiceCore/GenerationOutputAdapter.swift:3135-3146 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:3218-3231 \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/QwenVoiceCore/GenerationOutputAdapter.swift:3218\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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":3135}}}],"partialFingerprints":{"codehealthFindingId/v1":"800e080e9ac6bdb50dbd79e62db8ee4e87e825592cf7204db70908bf01527668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Views/Studio/MacStudioChips.swift:104-117 | Sources/Views/Studio/MacVoiceCloningScreen.swift:681-694 \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/Views/Studio/MacStudioChips.swift:104\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/Views/Studio/MacStudioChips.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dad09533ae523c5594437d85a9fcd640535c6fac490ccd4e1ca83c03b536790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/iOS/IOSGenerationModeViews.swift:477-490 | Sources/iOS/IOSGenerationModeViews.swift:1372-1385 \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/iOS/IOSGenerationModeViews.swift:477\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. 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3efdc3d6f4efe6ceee9fc1345dbcd565e516478f3726fa2e1958026089bef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/iOS/Studio/IOSLongFormProject.swift:1028-1041 | Sources/iOS/Studio/IOSLongFormProject.swift:1299-1312 \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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f66b4a16b614d366ea320df83093ad7c4fb817e08c391069f264331918372fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/VocelloCLI/BenchCodecLoop.swift:112-124 | Sources/VocelloCLI/BenchCodecReplay.swift:140-152 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:108-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0290b3df49e57dc72420d23341cb5c8310dc11d6db611b0f55a9a853ac8c5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/iOS/IOSGenerationModeViews.swift:352-364 | Sources/iOS/IOSGenerationModeViews.swift:1254-1266 | Sources/iOS/IOSGenerationModeViews.swift:1912-1924 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/IOSGenerationModeViews.swift:352\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 before the matched lines, \u0060Sources/iOS/IOSGenerationModeViews.swift:350\u0060 calls \u0060disabled\u0060, \u0060opacity\u0060 and \u0060Sources/iOS/IOSGenerationModeViews.swift:1253\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71ec488c8f282c7907ac061c5405ac0bc47f691313cdff65f3b3c7594fff319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/QwenVoiceCore/MLXTTSEngine.swift:1617-1629 | Sources/QwenVoiceCore/MLXTTSEngine.swift:1699-1711 \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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"76987124baccdbd416d27bae3dcae0fd171c8c498f39ab4dee3b7746ab320d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/QwenVoiceCore/SemanticTypes.swift:1689-1701 | Sources/QwenVoiceCore/SemanticTypes.swift:1726-1738 \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/QwenVoiceCore/SemanticTypes.swift:1689\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/QwenVoiceCore/SemanticTypes.swift"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"884950409c306d373e03c955a5a01345b996af35e94d62be43f8cbd6a961dd10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Services/MacMetricKitReporter.swift:158-170 | Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift:125-137 \u2014 before extracting anything, compare \u0060Sources/Services/MacMetricKitReporter.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 95 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/Services/MacMetricKitReporter.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7942acce3a98820efc31284a01e3d41f59dd3e68924d889806afd1dc2618c3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/Services/MacStudioSingleTakeGenerationHooks.swift:98-110 | Sources/iOS/Studio/IOSSingleTakeGenerationExecutionHooks.swift:59-70 \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/iOS/Studio/IOSSingleTakeGenerationExecutionHooks.swift:59\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/Services/MacStudioSingleTakeGenerationHooks.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1cd9c669a61e50fc27835c544bf8d4276e0be633a2cdf3a21b7230e69c5f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:78-90 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:89-101 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift:78\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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae09f1c78d6b271ad90ba907f0311d3c8bf874201a47835dff8588aa4ccaa9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 2): Sources/SharedSupport/Telemetry/AppGenerationTimeline.swift:89-96 | Sources/SharedSupport/Telemetry/AppGenerationTimeline.swift:211-223 \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/SharedSupport/Telemetry/AppGenerationTimeline.swift:89\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Telemetry/AppGenerationTimeline.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7721c2186a0a94f2159e373edc821abd110578cba650880bb3f264f2826164d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/SharedSupport/Views/VocelloCapsuleSelector.swift:103-115 | Sources/iOS/App/TabDock.swift:182-193 \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/SharedSupport/Views/VocelloCapsuleSelector.swift:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/iOS/App/TabDock.swift:195\u0060 calls \u0060stroke\u0060, \u0060opacity\u0060 and \u0060Sources/SharedSupport/Views/VocelloCapsuleSelector.swift:116\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/SharedSupport/Views/VocelloCapsuleSelector.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f06b36a16a0bc316aaf7c128ae0c602ffc140e0cb3f9d24361029d81035c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Views/Shell/MacInlinePlayerCard.swift:49-63 | Sources/Views/Studio/MacStudioPlayerCard.swift:90-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Views/Shell/MacInlinePlayerCard.swift:49\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/Views/Shell/MacInlinePlayerCard.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"448f134a69c298d3391814967d2e414a7b6f7c902abb5e512703ef18a21dd542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Views/Studio/MacVoiceCloningScreen.swift:917-929 | Sources/iOS/IOSGenerationModeViews.swift:2109-2121 \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/Views/Studio/MacVoiceCloningScreen.swift:917\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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaaf63703ab698e422735a2158c8280cf48b68a04a426acba9a060f21ae98d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/iOS/Sheets/IOSBottomSheets.swift:950-962 | Sources/iOS/Sheets/IOSBottomSheets.swift:1382-1394 \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/iOS/Sheets/IOSBottomSheets.swift:950\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/iOS/Sheets/IOSBottomSheets.swift:963\u0060 calls \u0060lineLimit\u0060 and \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:1395\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"902e1c1a6dc014990f84dbdd6c1fd0e7923f8844ef81494b9cfc48a3a7785f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Models/TTSContract.swift:308-319 | Sources/QwenVoiceCore/ContractBackedModelRegistry.swift:384-395 \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/Models/TTSContract.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e0b64b62aba279de1a709edcc554951aff0b6d421501880b1fd276e1b7a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/QwenVoiceCore/MLXTTSEngine.swift:2782-2791 | Sources/iOSSupport/Services/IOSDeviceDiagnosticsRecorder.swift:62-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOSSupport/Services/IOSDeviceDiagnosticsRecorder.swift:62\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"87951aeef2f0d6e765da533d4cb96837cd3b36e20da67156ab259a744fe92d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/QwenVoiceCore/ProductionModelCatalog.swift:187-198 | Sources/QwenVoiceCore/ProductionModelCatalog.swift:242-253 \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/QwenVoiceCore/ProductionModelCatalog.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec9fcd2e517b0a99955909e74bfcad2cf0cd8fd8c0b59f97d68dfa3f6b6b9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:331-342 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:318-329 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e308d2fa9c3d260ff9afba7aca9e31c5542287a0796b10a9c404c4a2a491fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Views/Shell/MacInlinePlayerCard.swift:78-89 | Sources/Views/Studio/MacStudioPlayerCard.swift:156-167 \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/Views/Shell/MacInlinePlayerCard.swift:78\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/Views/Shell/MacInlinePlayerCard.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedbcc1903829d852760b4a3e3308eed43b4882d04ceb5212d51b8723bb69f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Views/Shell/MacInlinePlayerCard.swift:186-197 | Sources/Views/Studio/MacStudioPlayerCard.swift:323-334 \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/Views/Shell/MacInlinePlayerCard.swift:186\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/Views/Shell/MacInlinePlayerCard.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b0f564c2e5534a52c68c2d4675bbef3586e731d8def9563763210078792273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/VocelloCLI/BenchCodecLoop.swift:70-81 | Sources/VocelloCLI/BenchCodecReplay.swift:62-73 \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/VocelloCLI/BenchCodecLoop.swift:70\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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a431ff1f6de9ad76fcf10c25564c694daaa1b54435006399e1fbd67c0effa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1073-1083 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1329-1340 \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/iOS/IOSDeviceDiagnosticsRunner.swift:1073\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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6d666b0c58a06e74aa9fdcb682573b7952f24a6709e4c47a929a6123f14287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/iOS/IOSGenerationModeViews.swift:413-424 | Sources/iOS/IOSGenerationModeViews.swift:1305-1316 \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/iOS/IOSGenerationModeViews.swift:413\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcc9fbac6888ace2b2393effe9eac3482a7c0cf466b81c0634350c1939104a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): Sources/iOS/IOSVoicesView.swift:418-429 | Sources/iOS/IOSVoicesView.swift:478-486 \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/iOS/IOSVoicesView.swift:418\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/iOS/IOSVoicesView.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b659e3028cfcd5d9d0c31b96ccbba588bd2a7c359f111506852f65fec12222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/iOS/Sheets/IOSBottomSheets.swift:317-326 | Sources/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:80-91 \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/iOS/Sheets/IOSBottomSheets.swift:317\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c26baf640044951d35b2e7240cffbab042fbec3baee019c526775686586368f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/iOS/Studio/IOSLongFormProject.swift:1001-1012 | Sources/iOS/Studio/IOSLongFormProject.swift:1270-1281 \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/iOS/Studio/IOSLongFormProject.swift:1001\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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf104bb1893d1b2c8b0278bf737f8e94dc0a4437588f21e5f61cb68dd0fb952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sources/QwenVoiceCore/GenerationOutputAdapter.swift:810-820 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:825-835 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:840-850 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2293-2303 \u2014 all 4 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. 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b34169c0aad88e071749749384f14adc74002523480bb8151778e573abe26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/QwenVoiceCore/NativeEngineRuntime.swift:1637-1648 | Sources/QwenVoiceCore/NativeEngineRuntime.swift:1712-1723 | Sources/QwenVoiceCore/NativeEngineRuntime.swift:1788-1799 \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. 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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a29f8f1f37f16e04561d1a97067abe468802345e75e33a6349a460302b2f922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/Views/Studio/MacCustomVoiceScreen.swift:173-183 | Sources/Views/Studio/MacVoiceCloningScreen.swift:280-290 | Sources/Views/Studio/MacVoiceDesignScreen.swift:191-201 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Views/Studio/MacCustomVoiceScreen.swift:173\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1206d8e0958b239f4c2e5ae13d017305a10eac31cd24a0a4060b1050d70b8f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/iOS/IOSGenerationModeViews.swift:283-293 | Sources/iOS/IOSGenerationModeViews.swift:1188-1198 | Sources/iOS/IOSGenerationModeViews.swift:1842-1852 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/IOSGenerationModeViews.swift:283\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. 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e585bb2164327a0bec9bdb4db123f39af7a69e3bc89663498695910b7dbe9be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Sources/iOS/IOSGenerationModeViews.swift:520-529 | Sources/iOS/IOSGenerationModeViews.swift:1408-1418 | Sources/iOS/IOSGenerationModeViews.swift:2229-2238 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/IOSGenerationModeViews.swift:1408\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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"273941253913684f7cb907fcddd8d3a87614bc3b510a033b4510278ede762dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/iOS/IOSStudioShellViews.swift:132-142 | Sources/iOS/IOSVoicesView.swift:423-433 | Sources/iOS/IOSVoicesView.swift:480-490 \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/iOS/IOSStudioShellViews.swift:132\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/iOS/IOSStudioShellViews.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f9be6f9732d63177dd0d84b7bafbef3113388a9ac08d529ff81360561479c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/QwenVoiceCore/GenerationOutputAdapter.swift:1480-1490 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:1549-1559 \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 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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f1275cca907ab0eddd6835a0a577602b395f232aa5736bcea892130e3b22c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/QwenVoiceCore/NativeEngineRuntime.swift:1046-1056 | Sources/QwenVoiceCore/NativeEngineRuntime.swift:1092-1102 \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/QwenVoiceCore/NativeEngineRuntime.swift:1046\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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aefcf2dad6c89394fe898d9f154057c3f7652d41352127603802319931daef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Services/MacMetricKitReporter.swift:200-210 | Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift:167-177 \u2014 before extracting anything, compare \u0060Sources/Services/MacMetricKitReporter.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSMetricKitMemoryReporter.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 95 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/Services/MacMetricKitReporter.swift:200\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/Services/MacMetricKitReporter.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"582113edb2f51ac452f1df7db7de094a897ad2c07655ca1eebe530aa1d36007e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Services/UIPerfHistorySeeder.swift:25-35 | Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift:29-39 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfHistorySeeder.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Services/UIPerfHistorySeeder.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba5afc65c445f304c0f587a1920f2302be4693c23594b5c12ad34e0da958f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/iOS/App/RootView.swift:219-229 | Sources/iOS/IOSVoicesView.swift:165-175 \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/iOS/App/RootView.swift:219\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/iOS/App/RootView.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1bdabec70334dcb72b14f8d58e479418f2786f83f5de8957c5f6dd527bb90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift:168-178 | Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift:218-228 \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/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift:168\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/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f218d89f4241583ff9818d41c7f79c222eb945ddfd4b3f7e10e9d979676b3ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): Sources/VocelloCLI/BenchCodecLoop.swift:137-146 | Sources/VocelloCLI/BenchCodecReplay.swift:164-171 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:130-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 all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/VocelloCLI/BenchCodecLoop.swift:148\u0060 calls \u0060resolvedEnabled\u0060 and \u0060Sources/VocelloCLI/BenchCodecRoundTrip.swift:141\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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48e48d6cb3b4f8a80714e4c258f7caa6c700565311c4c64bdb1d3c219d629a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Sources/QwenVoiceCore/MLXTTSEngine.swift:2781-2790 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2565-2572 \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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"9568b77369aad2ff8ba9ef359bdcace20a18cd319002f49748cb17733d30b540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Services/MacInterfaceText.swift:2351-2360 | Sources/iOS/IOSRootNavigationModels.swift:252-261 \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/Services/MacInterfaceText.swift:2351\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/Services/MacInterfaceText.swift"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d34d1d86ff71f4d0ec632772b0b0675fe12466d3cdc5ecf980a1313d6cf1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Views/Voices/MacVoicesScreen.swift:384-393 | Sources/iOS/IOSVoicesView.swift:646-655 \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/Views/Voices/MacVoicesScreen.swift"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77acf9751ef0580e4b851d47ba71eb44c2008db41ec620e6c1b56cee99b9080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/iOS/Sheets/IOSBottomSheets.swift:696-705 | Sources/iOS/Sheets/IOSBottomSheets.swift:1027-1036 \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/iOS/Sheets/IOSBottomSheets.swift:696\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:695\u0060 calls \u0060contentShape\u0060, \u0060Rectangle\u0060 and \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:1026\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4519d83f20a63ece9559603317cb1cfafcf9737989752fab99e8c64783fa0a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): Sources/iOS/Settings/OpenSourceLicensesScreen.swift:162-168 | Sources/iOS/Settings/OpenSourceLicensesScreen.swift:239-245 | Sources/iOS/Settings/SettingsScreen.swift:497-503 | Sources/iOS/Settings/VoiceModelsScreen.swift:200-208 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/Settings/OpenSourceLicensesScreen.swift:162\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/iOS/Settings/OpenSourceLicensesScreen.swift:169\u0060 calls \u0060Circle\u0060, \u0060stroke\u0060 and \u0060Sources/iOS/Settings/SettingsScreen.swift:504\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/iOS/Settings/OpenSourceLicensesScreen.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb401db402d07a1a01c9df4ca578c9c48eb61f76b3e9999147de97fb6d38ebe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Sources/QwenVoiceCore/GenerationTelemetryJSONLSink.swift:182-189 | Sources/QwenVoiceCore/MLXTTSEngine.swift:2770-2778 | Sources/iOSSupport/Services/IOSDeviceDiagnosticsRecorder.swift:167-175 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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/QwenVoiceCore/GenerationTelemetryJSONLSink.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9c3f1f2edcfcf860d7b39dfda476703d672120100704f33025da8bbaf5e77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Sources/iOS/History/HistoryScreen.swift:1030-1037 | Sources/iOS/Overlays/IOSRecordingOverlay.swift:119-127 | Sources/iOS/Sheets/IOSBottomSheets.swift:112-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/History/HistoryScreen.swift:1030\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/iOS/History/HistoryScreen.swift"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c562336641d090d617618fe11fdbe192e8aa939dee57ebdc01dd15098372f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Services/UIPerfHistorySeeder.swift:65-73 | Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift:69-77 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfHistorySeeder.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Services/UIPerfHistorySeeder.swift:65\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/Services/UIPerfHistorySeeder.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"639c5e9381a51a41b11273d433371feb1903def8a73b3f25aa37f42b864dafda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/VocelloCLI/BenchCodecLoop.swift:161-169 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:151-159 \u2014 before extracting anything, compare \u0060Sources/VocelloCLI/BenchCodecLoop.swift\u0060 and \u0060Sources/VocelloCLI/BenchCodecRoundTrip.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 87 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/VocelloCLI/BenchCodecLoop.swift:161\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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"70219e0e0ab272dbe52d0464786036f3a5f48b3e435eb9c04bd25ade190743be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:2021-2029 | Sources/iOS/IOSStartupReliabilityRunner.swift:873-880 \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/iOS/IOSDeviceDiagnosticsRunner.swift:2021\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. 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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f3b9a879fefa767b5aef1fdce2ee6798bec380e9fdac485d6b66390e35887e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/iOS/IOSGenerationInputControls.swift:641-649 | Sources/iOS/Sheets/IOSBottomSheets.swift:1338-1346 \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/iOS/IOSGenerationInputControls.swift:641\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/iOS/IOSGenerationInputControls.swift"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0c735baaed51d93943738a0c4bb96e305117102e2b592213df32bbe48c20a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/iOS/IOSGenerationModeViews.swift:206-214 | Sources/iOS/IOSGenerationModeViews.swift:741-749 \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/iOS/IOSGenerationModeViews.swift:206\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. 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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"032b3c8640952a73260027bdd94fc2b52902e80093ed357de6cf6281ebea276f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/iOS/IOSStudioCanvas.swift:404-412 | Sources/iOS/IOSStudioCanvas.swift:452-460 \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/iOS/IOSStudioCanvas.swift:404\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00608\u0060 in one and \u00602\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/iOS/IOSStudioCanvas.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2c8af871cbb43682d94b48ce7a809086aea5cb4987fd72fa4efc4d6181992b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/iOS/IOSStudioCanvas.swift:430-438 | Sources/iOS/IOSStudioCanvas.swift:542-550 \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/iOS/IOSStudioCanvas.swift:430\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/iOS/IOSStudioCanvas.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e84ab2883ee9e7d8b6a489d5510172916e0e9240dcfd69f6ffe83d5d7267201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/iOS/Sheets/IOSBottomSheets.swift:626-634 | Sources/iOS/Sheets/IOSBottomSheets.swift:927-935 \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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e27717726c6b7aeb36457496a24c8907b273b5bb6b033234999a6164bf7c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/iOS/Sheets/IOSBottomSheets.swift:686-694 | Sources/iOS/Sheets/IOSBottomSheets.swift:1018-1026 \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/iOS/Sheets/IOSBottomSheets.swift:686\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/iOS/Sheets/IOSBottomSheets.swift:695\u0060 calls \u0060contentShape\u0060, \u0060Rectangle\u0060 and \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:1027\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"d762350890b4ddac88d3fbfe2e47e41eeb0cd0b23c71480e6f012c5a992a717d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/iOSSupport/Services/DatabaseService.swift:223-231 | Sources/iOSSupport/Services/DatabaseService.swift:248-256 \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/iOSSupport/Services/DatabaseService.swift:223\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. 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/iOSSupport/Services/DatabaseService.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"473c6f0249acfc5d9a071e2afb69602a97f4be3c6b6f7c5fe2ac9e4528dbdae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Sources/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift:87-94 | Sources/QwenVoiceCore/GenerationTelemetryJSONLSink.swift:182-189 | Sources/QwenVoiceCore/MLXTTSEngine.swift:2770-2777 | Sources/Services/GenerationTelemetryMerger.swift:115-122 | Sources/iOSSupport/Services/IOSDeviceDiagnosticsRecorder.swift:167-174 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. 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/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ad93a948016b773cc079c4a85046de7dbd1d7494b65848c7b03958386f6ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/QwenVoiceCore/AudioPreparation.swift:1186-1193 | Sources/QwenVoiceCore/DocumentIO.swift:230-237 | Sources/QwenVoiceCore/NativeCloneSupport.swift:982-989 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/QwenVoiceCore/AudioPreparation.swift:1186\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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7508bc3792fe42f2e6c4b87e458718242d193b2d88659ad813b4c61e03ccfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:348-355 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:365-372 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:422-429 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:348\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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0149607eefc3cc48116eb54e9bced41a7dd957f55bf6610eed343fb2a0dcc84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/iOS/Sheets/IOSBottomSheets.swift:1021-1028 | Sources/iOS/Sheets/IOSBottomSheets.swift:1407-1414 | Sources/iOS/Sheets/IOSBottomSheets.swift:1485-1492 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/iOS/Sheets/IOSBottomSheets.swift:1021\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/iOS/Sheets/IOSBottomSheets.swift"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c0727b186bd61dd2ea69bd07a4e083df8b7b0865af42bee2369ead0f7f36da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/QwenVoiceCore/CodecLoopMutationEvidence.swift:124-131 | Sources/QwenVoiceCore/CodecRoundTripEvidence.swift:69-76 \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/QwenVoiceCore/CodecLoopMutationEvidence.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"554e676b07bbbf6d110a6f4e31a4bb83e969ff1672ea9cd44d8905eb7e7974e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/QwenVoiceCore/HuggingFaceDownloader.swift:553-560 | Sources/QwenVoiceCore/HuggingFaceDownloader.swift:703-710 \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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e42f591858cd29b357792e8b030ad4f7b59f3a00a89f8a01617d605e81ffff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/QwenVoiceCore/IOSModelDownloadLedger.swift:219-226 | Sources/QwenVoiceCore/ModelDownloadContracts.swift:203-210 \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/QwenVoiceCore/IOSModelDownloadLedger.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1191dcdf5165fe7acdccfd7f2d0c8d29a6211001b66d4f0383465a97259957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/SharedSupport/Telemetry/AppGenerationTimeline.swift:100-107 | Sources/SharedSupport/Telemetry/AppGenerationTimeline.swift:229-236 \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/SharedSupport/Telemetry/AppGenerationTimeline.swift:100\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/SharedSupport/Telemetry/AppGenerationTimeline.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7ad08bd9c164a421aa81c851bb35603900400dabf456ce96c7c72483077146"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/iOS/IOSDeviceDiagnosticsRunner.swift:943-956 | Sources/iOS/IOSStartupReliabilityRunner.swift:713-726 \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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"07caa0ebab162aa08ac7221c72b02072307dd1b838f0f17a3bc7df71261599e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Sources/iOS/IOSStudioCanvas.swift:531-538 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:393-398 \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/iOS/IOSStudioCanvas.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/iOS/IOSStudioCanvas.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e261a80e05b1bac5d725c25252401eb31873abc735c03cef4983ab6c5ed1c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/iOS/IOSStudioShellViews.swift:119-126 | Sources/iOS/IOSVoicesView.swift:262-269 \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/iOS/IOSStudioShellViews.swift:119\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/iOS/IOSStudioShellViews.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e991911584bf2708161da5e2bf9abfaaffdb6b8e194dfaa2321293ee6b819554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/Models/TTSContract.swift:248-254 | Sources/Models/TTSContract.swift:293-302 | Sources/iOSSupport/Models/TTSContract.swift:92-98 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Models/TTSContract.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ac62fa98bc1a500657e2030b5c8259e43006bdd1a8b8a5c620529b14dc48f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/QwenVoiceCore/SemanticTypes.swift:1003-1016 | Sources/QwenVoiceCore/SemanticTypes.swift:1028-1041 | Sources/iOS/Sheets/IOSBottomSheets.swift:1102-1108 \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/iOS/Sheets/IOSBottomSheets.swift:1102\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/SemanticTypes.swift"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d959e6401075320433766b7a0ad20f62fa28c8271230c3981650675f9ef189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Views/Studio/MacCustomVoiceScreen.swift:315-321 | Sources/Views/Studio/MacVoiceDesignScreen.swift:370-376 \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/Views/Studio/MacCustomVoiceScreen.swift:315\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. 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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"28915f4198070862c4c585e386cc0f9d9827de906b5470bdbbd3ae74cf8cd6fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/VocelloCLI/BenchCodecLoop.swift:152-158 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:143-149 \u2014 before extracting anything, compare \u0060Sources/VocelloCLI/BenchCodecLoop.swift\u0060 and \u0060Sources/VocelloCLI/BenchCodecRoundTrip.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 87 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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"532821a8beb49f2f01b59536d19cb3a5640ed262e6d8a532e7e1da6cc0603c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/iOS/IOSStudioCanvas.swift:528-534 | Sources/iOS/Overlays/IOSRecordingOverlay.swift:118-125 \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/iOS/IOSStudioCanvas.swift:528\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. 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/iOS/IOSStudioCanvas.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcefae556eff2d99685d9b214fd87f18c5acf03e5cfe16fc0ca62d87e9084810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/iOS/Settings/OpenSourceLicensesScreen.swift:153-159 | Sources/iOS/Settings/OpenSourceLicensesScreen.swift:230-236 \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/iOS/Settings/OpenSourceLicensesScreen.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/iOS/Settings/OpenSourceLicensesScreen.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"717141fe1a9edc028c49204ec9cd90154d892746f9939cf8a907e036cd3f6a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/iOS/Sheets/IOSPlayerSheet.swift:892-898 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:827-833 \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/iOS/Sheets/IOSPlayerSheet.swift"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"368945697543b15f5a808bb137af19a9b57791263ab3042be39d9b228d25a37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Models/HistoryPresentation.swift:115-124 | Sources/iOS/History/HistoryScreen.swift:152-157 \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/Models/HistoryPresentation.swift:115\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/Models/HistoryPresentation.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b375ff0654e16285478f2c7b22dcba83bf44ae448ef88abb55f0462b18ab4ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/ModelUpdateLedger.swift:332-337 | Sources/VocelloCLI/Core/Contract/CLIRequestLedger.swift:354-359 \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/QwenVoiceCore/ModelUpdateLedger.swift:332\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/QwenVoiceCore/ModelUpdateLedger.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4634fbea09b08b17029f0c2eecd3ac803ecc164d11f2e550aae3fb06ae932507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/NativeEngineRuntime.swift:789-794 | Sources/QwenVoiceCore/NativeEngineRuntime.swift:1118-1123 \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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"418566c54f1b4507abe9c387adc21fc2a00410deef6d5bfe605d251112063907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/SpokenTextPlanning.swift:331-336 | Sources/QwenVoiceCore/SpokenTextPlanning.swift:337-342 \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/QwenVoiceCore/SpokenTextPlanning.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de769d47af6a46423e12a770b99ef0e14587b7d3698e82702ae8fb376851496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): Sources/VocelloCLI/BenchCodecLoop.swift:101-106 | Sources/VocelloCLI/BenchCodecReplay.swift:128-131 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:95-101 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/VocelloCLI/BenchCodecLoop.swift:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3a0a7e3302b632e3e281b9736ea78dbc3273557fcdf7f50e8a0505bf70662b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/iOS/Sheets/IOSPlayerSheet.swift:901-906 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:836-843 \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/iOS/Sheets/IOSPlayerSheet.swift"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbd0541055f63845d01a5340f66d4ddfe06986694644b237ea6b2eb80f249b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:353-358 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:370-375 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:427-432 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:451-456 \u2014 all 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:353\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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59d788bc7ed1f5bdaace5c5f1273a84696f463c4c52a08ac0b16abde8a586d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/TTSModel.swift:182-187 | Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift:1316-1321 \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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38fd3188dc3baa1e0ffbe10fe99507581a876daedde52b5532f92ea0cbdbcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2355-2360 | Sources/QwenVoiceCore/GenerationOutputAdapter.swift:2390-2395 \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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40a3760038285a133d843bf651d04cc56186b4c7606bc3cb51233907ebce14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/QwenVoiceCore/MLXTTSEngine.swift:674-680 | Sources/QwenVoiceCore/MLXTTSEngine.swift:707-713 \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/QwenVoiceCore/MLXTTSEngine.swift:674\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b33362cd4adac7f4f7786f382f60dc9d78f4ff84abaf1333df0a055ef783e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/QwenVoiceCore/NativeEngineRuntime.swift:1783-1787 | Sources/QwenVoiceCore/NativeEngineRuntime.swift:2201-2205 \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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"141f5b1b5ffbd1a93f02f97cad11c7b038673902b4e1f9da61b49f2909438f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/PreparedVoiceRepository.swift:774-779 | Sources/SharedSupport/ViewModels/ReferenceClipRecordingStash.swift:84-89 \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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb957d8050ba873733c74e599dc8812c6dc589643e7921dca2caeef0958d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:323-329 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:310-316 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9074e8a9444ef62e2ade88b773f6260c925b098722aeedf050309e6c99878b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Services/UIPerfHistorySeeder.swift:75-87 | Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift:79-91 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfHistorySeeder.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfHistorySeeder.swift\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Services/UIPerfHistorySeeder.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Services/UIPerfHistorySeeder.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9db5cfec26d158c5ad741a575c0d984a4bb9c83f9c3752820caaf96fbee5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/SharedSupport/Database/GenerationMigrations.swift:9-20 | Sources/SharedSupport/Database/GenerationMigrations.swift:43-54 \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/SharedSupport/Database/GenerationMigrations.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8397bedf7ec66a507f11fd3313e72d31974b0400b2200d7d27ace261bd402420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Views/Primitives/MacVoicePrimitives.swift:85-90 | Sources/iOS/Overlays/IOSRecordingOverlay.swift:341-346 \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/Views/Primitives/MacVoicePrimitives.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a619e15ee1263587bc2e06cb4cc58557d32009ba596cdd1b43224897d1f6e0f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:46-56 | Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:270-274 \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/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/iOS/Sheets/IOSVoiceDesignBriefSheet.swift:57\u0060 calls \u0060disabled\u0060, \u0060opacity\u0060 and \u0060Sources/iOS/Studio/IOSStudioInlinePlayerCard.swift:275\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/iOS/Sheets/IOSVoiceDesignBriefSheet.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"29263f2bcc3d326a362fe78aec820f35bce16a7e81336d3a1e4562a56036dabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Services/AppPerformanceSignposts.swift:18-32 | Sources/iOSSupport/Services/AppPerformanceSignposts.swift:18-32 \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/Services/AppPerformanceSignposts.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5eb4e3df069c7e48d9c4d85e59d7fdc599e63ed5da0678dbd13eb036b71b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Generation.swift:373-377 | Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Engine.swift:174-178 | Sources/QwenVoiceCore/TTSEngine.swift:199-203 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/TTSEngine.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acb736b24ecc2c4ec8eb8875aff896af9f29a181b2072bbf2d0921d91fc6675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/QwenVoiceCore/GenerationStreamingTelemetryV9.swift:689-699 | Sources/QwenVoiceCore/GenerationTelemetryRecord.swift:331-341 \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/QwenVoiceCore/GenerationStreamingTelemetryV9.swift"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cd5c508b1b1faa91ef98c61450441cd41faff642091630e593e9206ec8918e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/IOSModelDownloadLedger.swift:234-239 | Sources/QwenVoiceCore/ModelDownloadContracts.swift:224-229 \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/QwenVoiceCore/IOSModelDownloadLedger.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"82956d26683fc7a5e3c8aa5a14cf02bb0283b123dcda186542dd7f9be83cad0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/QwenVoiceCore/IOSStartupReliabilityPlan.swift:141-145 | Sources/QwenVoiceCore/ProductionModelCatalog.swift:555-559 \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/QwenVoiceCore/IOSStartupReliabilityPlan.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1f38b46bb97abc43c8df718e301854fa6d262b69195b21a2c664b88ba5ad87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/QwenVoiceCore/LongFormPlanning.swift:194-198 | Sources/QwenVoiceCore/RuntimeRefactorContracts.swift:663-667 | Sources/QwenVoiceCore/SpokenTextPlanning.swift:139-143 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/QwenVoiceCore/SpokenTextPlanning.swift:145\u0060 calls \u0060canonicalDigest\u0060, \u0060digest\u0060, \u0060canonicalJSONData\u0060 and \u0060Sources/QwenVoiceCore/LongFormPlanning.swift:199\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/QwenVoiceCore/LongFormPlanning.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7da5f4b81431abfd1cf7d1e81ee73fddaf6aab93668932f7cd43aad1c918e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/Services/MacLineBatchRequest.swift:289-302 | Sources/iOS/Studio/IOSLongFormProject.swift:414-427 \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/Services/MacLineBatchRequest.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"454dc65f60ded6dd021aaf50ce17ea75ac279e5ff4e23374e6c632b275a92f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:70-74 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:77-81 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0e08c955e615cf63c14ee401d579a6b9f2e1aac42b0a87e8d80ea9241098a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:313-321 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:300-308 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e05003db3388087436a9fae43e5953f64b0a04ccd4d0045296bd34e81080e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/SharedSupport/Theme/VocelloThemeTokens.swift:29-35 | Sources/iOS/Theme/Theme.swift:51-57 \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/SharedSupport/Theme/VocelloThemeTokens.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3732986ef038fd2bd8fc56e7b4e81ba7b5f9b5eb48bfcfdec2459c03b67dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ViewModels/GenerationPerformanceGateModel.swift:20-25 | Sources/iOS/App/IOSGenerationPerformanceGateModel.swift:19-24 \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/ViewModels/GenerationPerformanceGateModel.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c586043eac9755bf3a09648e435acdafd0e7cda0f9d6f106acd27cd7a5a82a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ViewModels/MacAppModel.swift:69-75 | Sources/iOS/App/AppModel.swift:200-206 \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/ViewModels/MacAppModel.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f560c85c653fa0c559f869828290a4b95346f52ce2560037dba2a3d8bb9934f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Views/Primitives/MacVoicePrimitives.swift:92-96 | Sources/iOS/Overlays/IOSRecordingOverlay.swift:349-353 \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/Views/Primitives/MacVoicePrimitives.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"558a0efbbc85f14a14706f1883b2167b20ec5d6634842edd435773b599409e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/Views/Studio/MacCustomVoiceScreen.swift:27-33 | Sources/Views/Studio/MacVoiceCloningScreen.swift:479-484 | Sources/Views/Studio/MacVoiceDesignScreen.swift:31-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ddc2505bb2d49844cdf4dd1431deb1a47bcc3506a74acb160cdda9c9903b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/Views/Studio/MacCustomVoiceScreen.swift:85-98 | Sources/Views/Studio/MacVoiceCloningScreen.swift:194-205 | Sources/Views/Studio/MacVoiceDesignScreen.swift:101-112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. 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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3d91daed526c8ed0988568217e062949939891eb43b25c41802f7bacf9bd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/VocelloCLI/BenchCodecLoop.swift:271-275 | Sources/VocelloCLI/BenchCodecReplay.swift:288-292 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:235-239 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"068161009565c5defaf981542db218321d56edd606049126565c80b61ad18b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Generation.swift:19-24 | Sources/QwenVoiceCore/RuntimeRefactorContracts.swift:23-28 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060minP\u0060 to \u0060Float\u0060 in one and \u0060Double\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/QwenVoiceCore/RuntimeRefactorContracts.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efe166f167e0a82a76bc7baece9de3b6b32f977055a87a7808846a177beae37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/QwenVoiceCore/ActiveGenerationCoordinator.swift:127-133 | Sources/QwenVoiceCore/MLXTTSEngine.swift:470-476 \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/QwenVoiceCore/ActiveGenerationCoordinator.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa39f0471d6c468248b696c7c606a138f38a9f22292f64e64ed27d4af2b99833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/QwenVoiceCore/BenchRunContext.swift:142-149 | Sources/iOS/IOSDeviceDiagnosticsRunner.swift:1578-1585 \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/QwenVoiceCore/BenchRunContext.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3629fde45a1a3a23ed66d69b1c3f64fffd6d5ebde72978333c9348eb69fc95e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift:134-139 | Sources/QwenVoiceCore/HuggingFaceDownloader.swift:3436-3441 \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/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eaf87e95a9f7ab865e75562b053cbd15c47ff973b6bcd962ec933e82e3e1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/QwenVoiceCore/IOSModelDownloadLedger.swift:47-51 | Sources/QwenVoiceCore/ModelAssets.swift:166-170 \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/QwenVoiceCore/IOSModelDownloadLedger.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2936a0686d7c1e68dfb7d24a5385ff8532c8aa304179404cc9ff44f9ddeb46b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Services/UIPerfFrameProbe.swift:32-42 | Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift:39-49 \u2014 before extracting anything, compare \u0060Sources/Services/UIPerfFrameProbe.swift\u0060 and \u0060Sources/iOSSupport/Services/IOSUIPerfFrameProbe.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 218 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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a32721a1425babbcafbffae313d64cb07ad736e7f70072c16035cf7696436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Views/Settings/MacSettingsRows.swift:211-217 | Sources/iOS/IOSSettingsViews.swift:282-288 \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/Views/Settings/MacSettingsRows.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b59fd9e479c6cac4641fd9d468585055e54da3cb04e97f6604ce6b4a4ea5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Views/Theme/MacGlass.swift:84-92 | Sources/iOS/IOSShellPrimitives.swift:83-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/Theme/MacGlass.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"823b09b0e5fe3f115c5a66ff6c71d61c80f78f21b71a5827a03de6db3aa13446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/Views/Theme/MacGlass.swift:99-113 | Sources/iOS/Theme/ThemeModifiers.swift:63-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/Theme/MacGlass.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7181e36f215fdc88ce9e7191de0aaafcffd7e2b4abcfabc856453e540848ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/VocelloCLI/BenchCodecLoop.swift:264-269 | Sources/VocelloCLI/BenchCodecRoundTrip.swift:228-233 \u2014 before extracting anything, compare \u0060Sources/VocelloCLI/BenchCodecLoop.swift\u0060 and \u0060Sources/VocelloCLI/BenchCodecRoundTrip.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 87 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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b06e9c3a03acea7bf925109daf2ad62228e50c6d654b52129513d140caaed06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/QwenVoiceCore/AudioPreparation.swift:1174-1179 | Sources/QwenVoiceCore/DocumentIO.swift:223-228 \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/QwenVoiceCore/AudioPreparation.swift:1174\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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad6d518e9d50175bf23eb7c33ffa91a3c312b6d82319e860a3cb94128ce14d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/QwenVoiceCore/AudioPublicationMarking.swift:157-161 | Sources/QwenVoiceCore/WAVProvenanceChunk.swift:70-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/QwenVoiceCore/WAVProvenanceChunk.swift:69\u0060 calls \u0060seek\u0060 and \u0060Sources/QwenVoiceCore/AudioPublicationMarking.swift:156\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/QwenVoiceCore/AudioPublicationMarking.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc58a0873d7ee162c4cd8ab9736ba2598100004e59462a027f9c44daeda61b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Services/MacEngineBootstrap.swift:74-78 | Sources/iOS/IOSAppBootstrap.swift:106-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Services/MacEngineBootstrap.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1371900661ba4accad1d70c97fabd6bd24da481b38f4480e5519715bce7c1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): scripts/check_ios_ui_perf.py:549-733 | scripts/check_macos_ui_perf.py:697-866 \u2014 These two members are variants of one another: 57 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"068dcd34fa9c3bcd4f6db0d74710b40179fa3e1c3f5131eeada8c904f7ccdb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): scripts/check_ios_ui_perf.py:363-403 | scripts/check_macos_ui_perf.py:445-471 \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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75151257511b83d653c171b6718d745ddfd210cb87e88b54ac7ebd705196fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): scripts/check_ios_ui_perf.py:334-354 | scripts/check_macos_ui_perf.py:475-493 \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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9899f6348ed464383c8d71214d32c2e27ba9373890488bb95435f0317f010fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): scripts/check_ios_ui_benchmark.py:298-385 | scripts/check_macos_ui_bench.py:843-942 \u2014 These two members are one piece of code written twice and then edited apart: 88 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"862091a7af52f3e8c0c3fd88a7c0e45f75738dc5c33a9615bf5ad0e918bb31f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): scripts/check_ios_ui_perf.py:188-292 | scripts/check_macos_ui_perf.py:278-383 \u2014 These two members are one piece of code written twice and then edited apart: 105 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a278abd686699a03e698428513c52b069c302bdb9e056769eeb75ed20961bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): scripts/qc/features.py:81-116 | scripts/qc/runners/_kit.py:187-238 \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":"scripts/qc/features.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b630110d7789da6b110dfe1404532b745e4a07057d2b0be8cddd4ef89ae2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): scripts/check_ios_ui_benchmark.py:166-206 | scripts/check_macos_ui_bench.py:563-605 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df7f31e0e4e32b21635e8c7eced2c3ad9d368824c02b80d6d0f9ef7457874dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): scripts/quality_screen.py:663-700 | scripts/quality_screen.py:705-740 \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":"scripts/quality_screen.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"61958ca6205decb84a8e91279f74dcfc2c769c2d70e413f833f763d40fb7766a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): scripts/check_ios_ui_benchmark.py:70-87 | scripts/check_macos_ui_bench.py:476-497 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d72354419de14931eacf8498322aa71a1ff33f523261f7be141b8fe2bb9d5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): scripts/check_macos_ui_perf.py:661-693 | scripts/lib/ui_perf_thresholds.py:268-295 \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":"scripts/check_macos_ui_perf.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e240ca73e6eb096e29d94a73dee54b3bf3af5a287bc46df3c5d1a1f9f0eeb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): scripts/generate_cli_scheme.py:54-87 | scripts/generate_ios_logic_scheme.py:46-71 \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":"scripts/generate_cli_scheme.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"95234dddb3d48167855dbb0a7fd10d7508bd45bcca6f39cd837cefaaf7024b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): scripts/check_ios_ui_benchmark.py:255-275 | scripts/check_macos_ui_bench.py:670-691 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed51fd12ae7f54b96134e16c4436e310727638e20777e898fa32b07eff82accd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): scripts/release_source_authority.py:62-84 | scripts/release_source_authority.py:91-120 \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":"scripts/release_source_authority.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9dae318c13a1a7a9f080d965cff6ee4c9021600f3881d9426a96da30398aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): scripts/build_cleanup.py:414-442 | scripts/build_output_policy.py:714-745 \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":"scripts/build_cleanup.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d264ee68941aee199b0024ffab32bfd4d218f4eaf367535c4bfa48f4a75c03e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): scripts/qc/features.py:512-527 | scripts/qc/features.py:531-545 \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":"scripts/qc/features.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d353c43bddb9dbd5039515f88719c2082ec2f85688e2aeb70a980a08967761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): scripts/lib/audio_qc_observations.py:261-274 | scripts/qc/features.py:486-497 \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":"scripts/lib/audio_qc_observations.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5365d06fe3ea4281ea175bdc3a9e64aba1ead95a0ae2c44049623422c3d75ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): scripts/entitlement_contract.py:90-102 | scripts/swift_dependency_updates.py:105-120 \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":"scripts/entitlement_contract.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a06793fed9f692feb852a93e3ee38de3ade83a62f62d734e5da5d1749849574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): scripts/qc/phones.py:574-585 | scripts/qc/phones.py:589-601 \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":"scripts/qc/phones.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa529bf74bd943c7a287a510775c4a9624c6fa632219cf0a5a1125738aa9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): scripts/build_cleanup.py:388-408 | scripts/build_output_policy.py:665-692 \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":"scripts/build_cleanup.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05ffcf27bae2d638e202577776d1c41747ea16e6c2c46bbb9a7f999a34624cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): scripts/qc/features.py:1074-1078 | scripts/qc/fidelity.py:60-66 \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":"scripts/qc/features.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdf7eaf476f2db93529157a92cc8c1641ce752159ca8345f9f74cbf3b58cbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): scripts/hooks/git_commands.py:682-704 | scripts/hooks/git_commands.py:708-730 \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":"scripts/hooks/git_commands.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"2058cf65b29ba3ba207a302ef7ab9f82beb26adc71d6775e97913cecaae0b1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): scripts/auto_language_check.py:473-482 | scripts/publish_benchmark_history.py:1004-1014 \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":"scripts/auto_language_check.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fec0139dd089a110cbd7b4cdfe5724030c1173409f866a792f217495c765530"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): scripts/qc/phones.py:505-531 | scripts/qc/pronunciation.py:121-141 \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":"scripts/qc/phones.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b080b478b1e6dedc594156faf7c929d95fc6e6139a8b5fcc64582d9b825f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): scripts/model_host_availability.py:344-351 | scripts/verify_ios_release_artifacts.py:150-157 \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":"scripts/model_host_availability.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"832ff02a19da4e884067c64cd675cde7ebd423134a8be4a749fcad9bb980fb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): scripts/benchmark_history.py:4199-4207 | scripts/privacy_scan.py:72-81 \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":"scripts/benchmark_history.py"},"region":{"startLine":4199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9f707e85867d3e25e3525f1acdeb0d8cca46d8296102521658319bb135c0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): scripts/ci/coverage_report.py:72-82 | scripts/ci/summarize_test_failures.py:76-90 \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":"scripts/ci/coverage_report.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba739f685aab51b077f9099d01384a229817c4ad2460f0a6f378283e43eeda4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): scripts/analyze_prosody.py:1242-1256 | scripts/prosody_quality_gate.py:163-178 \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":"scripts/analyze_prosody.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4081a0150a73fb30efa20155cc93ed18f0e9337f00ba933e455addbceb8553ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): scripts/build_output_policy.py:1221-1235 | scripts/build_output_policy.py:1498-1512 \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":"scripts/build_output_policy.py"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecddceb20b99de3b2d4f3f0cbe4341c9cdce8095f74d62fe0dd3869b3c3bebf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): scripts/benchmark_history.py:857-867 | scripts/lib/jsonio.py:127-144 | scripts/release_evidence.py:67-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"scripts/benchmark_history.py"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ace4c692dd5f0dc89b448825028ea2a6721856bc355d2f80c83ef46232cf02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): scripts/qc/features.py:120-124 | scripts/qc/pitch.py:189-194 \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":"scripts/qc/features.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4648333597b762c5d205d4f331b0d213d9c4f8e17f0e94a6f6f00f2a05759027"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): scripts/auto_language_check.py:333-340 | scripts/benchmark_history.py:2456-2466 \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":"scripts/auto_language_check.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36c8ecf16c5041d9681344d51a67ac06825b95ac6ce0d8abe3234e877d61d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): scripts/build_cleanup.py:277-289 | scripts/build_cleanup.py:801-814 \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":"scripts/build_cleanup.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"535457fee9ebe7bea5fd32a930eaebe7d200edc31dfd4dfed1938f7977d087d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/build_cleanup.py:919-925 | scripts/build_cleanup.py:994-1001 \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":"scripts/build_cleanup.py"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df54dc8b1c214ff9bf7ea4915560f8088da5647ff4f16d9d7d806b1f0152da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): scripts/qc/calibrate.py:378-386 | scripts/qc/runners/_kit.py:71-79 | scripts/qc/runners/speech_common.py:91-99 | scripts/qc/store.py:183-195 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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":"scripts/qc/calibrate.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f092a1056cc0dded61e8855a343d32184549b4bc4470645cb235ec9581a6358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): scripts/qc.py:284-295 | scripts/qc.py:344-355 \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":"scripts/qc.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0dc37c4953bfcb108bdaf6d7b9489bfed5310e33cba115ba05d3f1c582be39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): scripts/check_ios_ui_perf.py:465-526 | scripts/check_macos_ui_perf.py:555-610 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d51fe0d6136afa716afe5fa746a79b171e0d8aece4fd2d3d2aa79311fd74d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/check_ios_ui_benchmark.py:98-104 | scripts/check_macos_ui_bench.py:508-516 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"988c72b819feb1afe114560f4ab789831104adb1658aa0c342e40b3c6f20eeb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): scripts/qc.py:319-327 | scripts/qc.py:331-340 \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":"scripts/qc.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62ff7b08a49c9243dd35a51fc115e6329a7c89c2351e50dbb2c0657f2293ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): scripts/build_cleanup.py:448-459 | scripts/build_cleanup.py:465-477 | scripts/build_output_policy.py:757-769 | scripts/build_output_policy.py:780-797 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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":"scripts/build_cleanup.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"414b254acf27f6e9c21981125103359ae29a61d4141b51dae35a5380baff878c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): scripts/lib/playback_capture.py:130-134 | scripts/lib/playback_capture.py:138-141 \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":"scripts/lib/playback_capture.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8399d57743e75ccc93ea4139a9199a9797aa26894ed1b3c4d02090e804cd8ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): scripts/audio_qc_calibration_takes.py:258-266 | scripts/language_bench_evidence.py:149-160 \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":"scripts/audio_qc_calibration_takes.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aab4e926623ecb231157ed5aad73f29c507791a790a17322a250b091b4beb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): scripts/ios_device_eligibility.py:91-104 | scripts/ios_storage_protection_policy.py:131-144 | scripts/saved_voice_lifecycle_contract.py:212-222 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"scripts/ios_device_eligibility.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14d12b88ae91b729bd38d66f1bd2d7397c6ec0e3a55fec1ee6f5a79551e0eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/pcm_identity.py:74-82 | scripts/quality_screen.py:485-491 \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":"scripts/pcm_identity.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db9fb15614f6fbe185690094623952d14061a0a0f6b40a7856a7a9ec597042b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/qc/features.py:619-625 | scripts/quality_screen.py:818-824 \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":"scripts/qc/features.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fb2170a4fe4d751749669e2ed6f744657305f0ba9d287b834aaa0252efc97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): scripts/check_ios_clone_conditioning.py:87-93 | scripts/lib/playback_capture.py:361-367 | scripts/model_host_availability.py:30-36 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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":"scripts/check_ios_clone_conditioning.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c97143771674f309f316a6c19e49e7cc09e17ab5fe2ed346de7cb015d8bde30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): scripts/benchmark_memory.py:456-459 | scripts/lib/rtf.py:62-65 \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":"scripts/benchmark_memory.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a1bbefa8d0831e09bbbfb490b5c3bb03122f23e1133141aece48e1b25c429e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): scripts/check_ios_ui_benchmark.py:91-94 | scripts/check_macos_ui_bench.py:501-504 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a428d4e5ef4bb97d0c51b64141b9ec52df0cecfd6c11e3a33e755aa16f68cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/attribution_manifest.py:45-51 | scripts/localization_contract.py:203-209 \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":"scripts/attribution_manifest.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da839c02ae7978446e9f5ec96710129616a7e30bc20731492a126485d2a0ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): scripts/qc/runners/_kit.py:45-50 | scripts/qc/runners/speech_common.py:115-120 \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":"scripts/qc/runners/_kit.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f6389d1a1643c0014c00cf942c91b685c023e75c7a47ed5733711178efe551"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): scripts/build_output_policy.py:1546-1558 | scripts/quality_promotion.py:307-310 \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":"scripts/build_output_policy.py"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"61300508f8e4756c4187e18abd067476764fbff94380c91db0e9d00b02878658"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): scripts/qc/store.py:199-207 | scripts/voice_identity_language_reliability.py:77-82 \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":"scripts/qc/store.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1019a31187682ccf903554f53be79ea5175a3ccfbabda92278e5c9e25a851b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): scripts/entitlement_contract.py:34-40 | scripts/entitlement_contract.py:50-56 | scripts/swift_dependency_snapshot.py:52-58 | scripts/swift_dependency_updates.py:37-43 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 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":"scripts/entitlement_contract.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dacd53eac1aaa697538cbdded71732be7b22518496a38060fb75480a591246b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): scripts/localization_contract.py:411-418 | scripts/quality_screen.py:97-100 \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":"scripts/localization_contract.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ef068f20acaf89105773bbaef5a1d4f634fdf47b7964fb60f68c1ff8be5c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/check_language_hints.py:44-50 | scripts/lib/rtf.py:69-75 \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":"scripts/check_language_hints.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fe045ef9b0019ab19e17698799ef9b99c3725f0c895b328f4562ef82e5096e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): scripts/pcm_identity.py:67-70 | scripts/quality_screen.py:519-520 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"scripts/pcm_identity.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ff1a0900817827a7fe20076c0f5c80e1ffc059e966ddef5b6fc2c2d34f2840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/qc/features.py:673-679 | scripts/qc/language.py:200-208 \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":"scripts/qc/features.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fe32715abbe8bc16bf829a72f943400cc824be9edd9eeda8106aba8ea5bc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): scripts/attribution_manifest.py:68-73 | scripts/support_contact_contract.py:33-37 \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":"scripts/attribution_manifest.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eae66404e57f4759f63fcb003e935732567e3f4f844a763d7e09818c85114f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): scripts/benchmark_memory.py:288-295 | scripts/check_ios_clone_conditioning.py:106-113 | scripts/qc/qualification.py:59-61 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"scripts/benchmark_memory.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd8af0b14cde6dbd54f1ea540abd58ecd2c6754ffe0c62629bcc5dcb73dad82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): scripts/language_bench_evidence.py:506-509 | scripts/lib/audio_qc.py:73-76 \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":"scripts/language_bench_evidence.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9147484d39fa88f6ce75930c6f04efc7046525e095711e4715ee4581142279f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): scripts/entitlement_contract.py:44-46 | scripts/release_evidence.py:119-121 \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":"scripts/entitlement_contract.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"316e74a3e46e7c9452f6eaa63fe0e4722ed0e47ccbaf4ff0de5e9d7df3d54d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): scripts/release_build_number.py:71-71 | scripts/roadmap.py:146-147 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"scripts/release_build_number.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaf4c8dd520e81e0e209864ab69c78b879466e137b9803648f838e349264109"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): scripts/qc/runners/speech_common.py:59-65 | scripts/qc/store.py:244-246 \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":"scripts/qc/runners/speech_common.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c3689d013a31aeb07de8c4fe52a77e35e0c4de21c7b78df6554efa72d0d447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201347 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:298-343 | scripts/check_macos_ui_bench.py:843-889 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"386d9394ac0c9644a6d47048a31bbb8b5d8acfb953c549e5e3ed2d1126a6fb3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:349-378 | scripts/check_macos_ui_bench.py:903-935 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060scripts/check_macos_ui_bench.py:903\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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0271f13c95e485eb75a07706073f55abca61b741fe216f969a8003076344b841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): scripts/check_ios_ui_perf.py:465-492 | scripts/check_macos_ui_perf.py:555-579 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \u0060scripts/check_ios_ui_perf.py:465\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. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f09512c3d23754abd600de933b171846929f07da7b0ba9e09e925d4c947494e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): scripts/build_cleanup.py:172-198 | scripts/lib/build_artifact_retention.py:54-80 \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 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":"scripts/build_cleanup.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e15ed589b85e38ee2852f2e3c9a7a7f6178a5541e6fda874c512844eefce39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:446-469 | scripts/check_macos_ui_bench.py:1232-1256 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060scripts/check_ios_ui_benchmark.py:446\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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf169eaaf4dbe703bc6466b45d3b1e76d4ef78eeb22e5d0972ae0a385b64941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 2): scripts/generate_cli_scheme.py:61-85 | scripts/generate_ios_logic_scheme.py:49-69 \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 \u0060scripts/generate_cli_scheme.py:61\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_cli_scheme.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a4ca61ff408fd36b62f059f98aacd21362df5cdbb7673c1f606d92e7a63e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): scripts/check_ios_ui_perf.py:606-626 | scripts/check_macos_ui_perf.py:739-759 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 after the matched lines, \u0060scripts/check_ios_ui_perf.py:627\u0060 calls \u0060evaluate_cadence\u0060 and \u0060scripts/check_macos_ui_perf.py:760\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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b00a3d336bd948e583baff91a12d50c54fbffde6cc20e20fd72f3d3e0e31cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): scripts/check_ios_ui_perf.py:559-577 | scripts/check_macos_ui_perf.py:702-721 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \u0060scripts/check_ios_ui_perf.py:559\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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e48b6e3d5d63b2bc75ce60a32116a82b1b423d9e76a0726b2ded885da5c5d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): scripts/check_ios_ui_perf.py:99-117 | scripts/check_macos_ui_perf.py:112-130 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"411e0c0060ea8cd871765be334438a680e9812783a1056e98c1f8024c4c5594f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): scripts/check_ios_ui_perf.py:134-150 | scripts/check_macos_ui_perf.py:147-161 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ed5716c4e0511b86fab97a127ff18ecbca9addefcd2f3f7bec6ddc749a8cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): scripts/check_ios_ui_perf.py:217-233 | scripts/check_macos_ui_perf.py:300-316 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 after the matched lines, \u0060scripts/check_ios_ui_perf.py:234\u0060 calls \u0060median_block_cadence_hz\u0060 and \u0060scripts/check_macos_ui_perf.py:317\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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f85eda33811bba29067790cd1e2c8204ef926817db2cedbf8cc75172d9d802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): scripts/check_language_hints.py:124-140 | scripts/check_language_output.py:400-416 \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":"scripts/check_language_hints.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20c17817109aed058e1bf2cc5767b716d111613b1ccd00b73e848864d51f944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:235-246 | scripts/check_macos_ui_bench.py:646-661 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56296ca3b688650f603e6b15234f4aeab5a82351631b630c280034a9be2a790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): scripts/check_ios_ui_perf.py:188-203 | scripts/check_macos_ui_perf.py:278-293 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f7e6e049b1520cd1c49422fdfe648445daed3a3f91cf033184475bcbe2e02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/bench_delivery_prosody.py:168-182 | scripts/bench_delivery_prosody.py:220-234 \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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b5375e76d3e4a6f67a07848d966d7fc825630c64341c78016f4280a0d30a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:57-66 | scripts/check_macos_ui_bench.py:446-460 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e3e4d6c56ad7d1fa71693a726f07c69c9e220b15f0644389ccc5c28255f2af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:138-154 | scripts/check_macos_ui_bench.py:527-543 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"de723ebfe34b8051bb358b4d7e2b7fdf09a2a07924ee7388408c6f9bb24e24e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/check_ios_ui_perf.py:154-168 | scripts/check_macos_ui_perf.py:165-179 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \u0060scripts/check_ios_ui_perf.py:154\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check_ios_ui_perf.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1a984aadc343a477a3f8e45456f96ca1c92b56c30d2066c89744c3ed78b1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/check_ios_ui_perf.py:340-354 | scripts/check_macos_ui_perf.py:479-493 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060thresholds\u0060 to \u0060dict | None\u0060 in one and \u0060dict\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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6256aab97ec30961519976677f3d9940d96487c6e24fbead0c857f68a9e40785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): scripts/generate_cli_scheme.py:36-50 | scripts/generate_ios_logic_scheme.py:29-42 \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 \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":"scripts/generate_cli_scheme.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"755fedc8c5b6bfb34a09ea7333180ff2c348725d343aa579a4c7be7e69e406a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): scripts/qwen3_core_contract.py:1185-1203 | scripts/qwen3_core_contract.py:1278-1296 \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":"scripts/qwen3_core_contract.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fc663df5a9bb9ad85791248a12c038282c0bc19ec4c2083117b7c622a99485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): scripts/benchmark_history.py:3064-3077 | scripts/publish_benchmark_history.py:4291-4304 \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":"scripts/benchmark_history.py"},"region":{"startLine":3064}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb85fad0ff0110dece48b28450e140e0704b9cfca503a24f8144d124b760ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): scripts/build_output_policy.py:434-447 | scripts/build_output_policy.py:454-465 \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 \u0060scripts/build_output_policy.py:434\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":"scripts/build_output_policy.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"123cc113e14d03bd81da84c99039eb834b1c6b277ea0f3972fd2a97a6144bfe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): scripts/check_macos_ui_perf.py:203-214 | scripts/check_macos_ui_perf.py:244-257 \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":"scripts/check_macos_ui_perf.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ae64a13132746a59783fc74ad2cd35e6357aaa452eb4a01fb51811118ce753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): scripts/summarize_generation_telemetry.py:160-169 | scripts/summarize_generation_telemetry.py:232-244 \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":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcf7449dc969c2720a95889a730f830d776050b64537a40dc441dc3b8056c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 2): scripts/summarize_generation_telemetry.py:190-196 | scripts/summarize_generation_telemetry.py:278-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. 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":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48168254d3fb1109e8a028499d5d3799d4d516ee82c5a5f61f4de6d141594de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): scripts/build_cleanup.py:396-407 | scripts/build_cleanup.py:422-433 \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 \u0060scripts/build_cleanup.py:396\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build_cleanup.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8073b405e40bb3d8fa0a5ed328500acf9f0b17f1c401d2caf496db8cf8d8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): scripts/check_ios_ui_perf.py:411-422 | scripts/check_macos_ui_perf.py:501-511 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \u0060scripts/check_ios_ui_perf.py:411\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check_ios_ui_perf.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb123622e68ac6d4e0ec5bf0ad2e5aba2a9898d0e320172c8627e43a35e6ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): scripts/check_language_hints.py:254-265 | scripts/check_language_output.py:501-510 \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":"scripts/check_language_hints.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"474c297839bb01366495873ef7d52dad55bfea20d0f303e5176c4a0b33e48950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): scripts/lib/ui_lane_data.py:161-174 | scripts/required_step_ledger.py:48-61 \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":"scripts/lib/ui_lane_data.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62afaf0117267eeb177d7f31577da8cd08e0aea169460bad00552368d19e1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): scripts/publish_benchmark_history.py:581-590 | scripts/publish_benchmark_history.py:603-614 \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":"scripts/publish_benchmark_history.py"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e62d14c86a72481e6a330df40fcb021fc14984f23785acdae682e8bb81b4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): scripts/summarize_generation_telemetry.py:2384-2393 | scripts/summarize_generation_telemetry.py:2407-2417 | scripts/summarize_generation_telemetry.py:2440-2449 | scripts/summarize_generation_telemetry.py:2469-2478 \u2014 all 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/summarize_generation_telemetry.py:2384\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":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c7a4d94b82ce726490aedbf79861c61d9151ba23d00fd9276fa40f468ecc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): scripts/build_cleanup.py:448-457 | scripts/build_output_policy.py:757-767 | scripts/build_output_policy.py:783-792 \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 \u0060scripts/build_cleanup.py:448\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. 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":"scripts/build_cleanup.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3927b1b2e586f21cfde97888c36e1f8e999a2a99ad769541449c71d5caa09541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/check_ios_model_management.py:139-149 | scripts/check_ios_model_management.py:193-203 \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":"scripts/check_ios_model_management.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0913c44875b0eaed171ff9fdf3ee43b7bd54bc315a09b507aecf660fc0f8ba54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/check_language_hints.py:178-188 | scripts/check_language_output.py:432-442 \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":"scripts/check_language_hints.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9412d4c292aa5b3c71a86f90932b86150ecb4e1d6e6eef8714ee0eed510246b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/check_ios_ui_perf.py:724-733 | scripts/check_macos_ui_perf.py:857-866 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \u0060scripts/check_ios_ui_perf.py:724\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 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/check_macos_ui_perf.py:854\u0060 calls \u0060hexdigest\u0060, \u0060items\u0060 and \u0060scripts/check_ios_ui_perf.py:723\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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e21151f89c35816c870463e2a853795e66c696d82ec318ac0331c251e494c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/check_macos_ui_perf.py:684-693 | scripts/lib/ui_perf_thresholds.py:286-295 \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 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":"scripts/check_macos_ui_perf.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cc12305f3cacf8e259a4d65b398b7eafc5393e62de05f9255175fbe3b33f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 4): scripts/summarize_generation_telemetry.py:2395-2398 | scripts/summarize_generation_telemetry.py:2423-2432 | scripts/summarize_generation_telemetry.py:2454-2461 | scripts/summarize_generation_telemetry.py:2485-2488 \u2014 all 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/summarize_generation_telemetry.py:2395\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f181b6d306173222466305b415ad2ce72d868335906e3e1c19fe62b0a4dfe89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:182-190 | scripts/check_macos_ui_bench.py:581-589 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e117df7691873197413fd01d09ba8967f9bbd3846f7c7a8c4d9ee605ac11b5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:214-222 | scripts/check_macos_ui_bench.py:613-621 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8ebf079f1c7a690aa1d597714232ff95485871ff906e5671862655125feeab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:665-673 | scripts/check_macos_ui_bench.py:1484-1494 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060scripts/check_macos_ui_bench.py:1484\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed8839898994bd6554e0095d4eb2bc75a144cb90b05b1ff0d2ff32b850670ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): scripts/check_ios_ui_perf.py:387-403 | scripts/check_macos_ui_perf.py:459-471 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a900acf0c62827f76177e26e3e02641a0f619b24a96e00a73375953068ca27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/summarize_generation_telemetry.py:495-503 | scripts/summarize_generation_telemetry.py:883-891 \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":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5ea331eb67368d35b4d18555396e155afb6781de7a1a63a2a0e1cf1030c944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): scripts/bench_delivery_prosody.py:114-121 | scripts/bench_delivery_prosody.py:166-173 | scripts/bench_delivery_prosody.py:218-225 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/bench_delivery_prosody.py:122\u0060 calls \u0060get\u0060 and \u0060scripts/bench_delivery_prosody.py:174\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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"baabe755e38737acc09b89c7cc23f5bb04c62b24fc8419b732e2ee3746c6f99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): scripts/bench_delivery_prosody.py:547-554 | scripts/lib/ui_lane_data.py:163-169 | scripts/required_step_ledger.py:50-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/bench_delivery_prosody.py:547\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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b2d88bc5b69eac9580ac5d4004ff508856188d13586c38d4b8a28cfd9be103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:268-275 | scripts/check_macos_ui_bench.py:684-691 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060scripts/check_ios_ui_benchmark.py:268\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 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03bb7fcd9522c26bb31edbb96e07a9c1bfef046dfd391e7a24d4c3d0c417a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): scripts/publish_benchmark_history.py:1298-1304 | scripts/publish_benchmark_history.py:1315-1322 \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":"scripts/publish_benchmark_history.py"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3bdcb70746b0d394831a9322b748a1957443876c9103c19508496dd49ff077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/quality_screen.py:631-638 | scripts/quality_screen.py:716-723 \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 \u0060scripts/quality_screen.py:631\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":"scripts/quality_screen.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f7274f8629d8277d6ecaf3f2f38c671f834bd5fba10e60d361266a85f2e526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/required_step_ledger.py:366-374 | scripts/required_step_ledger.py:424-432 \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":"scripts/required_step_ledger.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"229bd69e73db3311cbdb3003e048df383cb117b1252bf1b23107690c4d3c5a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:286-294 | scripts/check_macos_ui_bench.py:831-839 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aa65cff8861bd61d796adddf40bcf3b3eff6c2343f4dec3951c1a60c995cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/check_ios_ui_perf.py:596-602 | scripts/check_macos_ui_perf.py:729-735 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"502f19c417ea2a1bc4c1e9366b104f77ed4897c94c191d322dd7abaff8b5c35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/publish_benchmark_history.py:4893-4899 | scripts/publish_benchmark_history.py:4950-4956 \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":"scripts/publish_benchmark_history.py"},"region":{"startLine":4893}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1447f8c5c1aab21da539598ea207d8a7c18cb97d9e53aef5447d2be30ac70ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): scripts/qc/features.py:87-99 | scripts/qc/runners/_kit.py:202-214 \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":"scripts/qc/features.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f013b97f24b3450dd901c86fd3bf5303708c31dacc54b19117218e357f6108d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/quality_screen.py:667-673 | scripts/quality_screen.py:714-720 \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, \u0060scripts/quality_screen.py:721\u0060 calls \u0060get\u0060 and \u0060scripts/quality_screen.py:674\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":"scripts/quality_screen.py"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dea3721a7fbc6f572622b7aad8c988cb72ac65472982552c292f1f7eb61157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): scripts/check_ios_ui_perf.py:235-253 | scripts/check_macos_ui_perf.py:317-335 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3229f536cf6384c2f79a522f9e0b6df0147f34bb230b7422e7708af1c1da269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/check_ios_ui_perf.py:371-380 | scripts/check_macos_ui_perf.py:450-455 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \u0060scripts/check_ios_ui_perf.py:371\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check_ios_ui_perf.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"016435b1dc6d846be4b34653a15c7ff44f305f141be06534f92d4e38cb7c50c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/hooks/agent_guard.py:116-122 | scripts/hooks/agent_guard.py:204-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. 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":"scripts/hooks/agent_guard.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2c94e6c9f8cec6bae2a9783bad8985b7d5c9570608e922c97a1edf199604c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/ios_device_eligibility.py:91-96 | scripts/ios_storage_protection_policy.py:131-136 \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":"scripts/ios_device_eligibility.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"627e6ab1f222b0c596320e21f544686322205734bf9c1403745449b7c6ccd27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/model_host_availability.py:346-351 | scripts/verify_ios_release_artifacts.py:152-157 \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":"scripts/model_host_availability.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c6f8ffc50cf82a0117d15b71e3ab957146627cf1961568d863048fdf44e8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/qc/features.py:521-526 | scripts/qc/features.py:539-544 \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":"scripts/qc/features.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67da50c141db28b51cb3775538c5e617c22f29b592a925bf902ef08949191e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/qwen3_core_contract.py:1227-1232 | scripts/qwen3_core_contract.py:1302-1307 \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 before the matched lines, \u0060scripts/qwen3_core_contract.py:1226\u0060 calls \u0060str\u0060, \u0060get\u0060, \u0060strip\u0060 and \u0060scripts/qwen3_core_contract.py:1301\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":"scripts/qwen3_core_contract.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a550dea57957977b4d9290324da08a13a4141694f66583916e0365398b5d46d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): scripts/ios_startup_reliability.py:1397-1401 | scripts/ios_startup_reliability.py:1408-1412 | scripts/ios_startup_reliability.py:1413-1417 | scripts/ios_startup_reliability.py:1422-1426 | scripts/ios_startup_reliability.py:1427-1431 \u2014 all 5 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/ios_startup_reliability.py:1402\u0060 calls \u0060add_argument\u0060 and \u0060scripts/ios_startup_reliability.py:1413\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":"scripts/ios_startup_reliability.py"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c83e334622898789ee162c2edb35f3c88e5914ae36472337b92435afcf6994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): scripts/check_ios_ui_benchmark.py:288-293 | scripts/check_macos_ui_bench.py:833-838 | scripts/publish_benchmark_history.py:770-775 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bece09543cc9c055e50fce3baf6b55699c4aa1f229313e83f705beb19ac2274a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): scripts/ios_startup_reliability.py:1402-1406 | scripts/ios_startup_reliability.py:1412-1416 | scripts/ios_startup_reliability.py:1426-1430 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/ios_startup_reliability.py:1401\u0060 calls \u0060add_argument\u0060 and \u0060scripts/ios_startup_reliability.py:1411\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":"scripts/ios_startup_reliability.py"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f033b7a579616757f687dae110f60eb7c19786ef3377114d632f36b325be7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): scripts/publish_benchmark_history.py:4866-4870 | scripts/publish_benchmark_history.py:4895-4899 | scripts/publish_benchmark_history.py:4952-4956 \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":"scripts/publish_benchmark_history.py"},"region":{"startLine":4866}}}],"partialFingerprints":{"codehealthFindingId/v1":"041f1704eff82c6a4ca039e2040b1ed7e7841ace0748f63ab5d2753d42260add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/auto_language_check.py:473-477 | scripts/publish_benchmark_history.py:1005-1009 \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":"scripts/auto_language_check.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f70de7188e45a04be1b630da294cf6fb9fd921537aa604afe1d03794c599772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/build_cleanup.py:919-925 | scripts/build_cleanup.py:995-1001 \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":"scripts/build_cleanup.py"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09115670095ad95999d8231bc916ad21f40906b5afbd59a7acc774610f0c0d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:81-87 | scripts/check_macos_ui_bench.py:491-497 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb8ef588ec941bc3be84bf30a7833890361e88c040a1ae430f9db7b334e6d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/publish_benchmark_history.py:4936-4941 | scripts/publish_benchmark_history.py:4957-4962 \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":"scripts/publish_benchmark_history.py"},"region":{"startLine":4936}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a7b98604aeeb55ac43797cbba96d8002d0960b64ab87501cc1b5aaadb22a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/qwen3_core_contract.py:1327-1331 | scripts/qwen3_core_contract.py:1344-1349 \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 \u0060scripts/qwen3_core_contract.py:1327\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":"scripts/qwen3_core_contract.py"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a459ce552f5f35721cfbe2a3918c445a37a84cefef1f1e3cdc4bb95e6a1a74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): scripts/audio_qc_script_pool.py:501-505 | scripts/lib/farm_smoke.py:81-85 | scripts/pcm_identity.py:59-63 | scripts/qc/qualification.py:39-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/audio_qc_script_pool.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10fd7b75858e15ffe1bf010dd4cd4c875a703bdc4cd084c5113a1c4593a0f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/auto_language_check.py:417-422 | scripts/lib/jsonio.py:36-41 \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 \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":"scripts/auto_language_check.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4c9e6f5f066a32035e9a26c4287df18e4c8ac49acab907b7ae749d89f3d40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/build_hybrid_model.py:60-64 | scripts/qc/models.py:260-264 \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":"scripts/build_hybrid_model.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ad7247a5c2e92c245aab2466e18a023b25437e516641a169dca163632efb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/build_output_policy.py:657-661 | scripts/lib/build_artifact_retention.py:46-50 \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 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":"scripts/build_output_policy.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"0082a566e74b5bbe69d78bf726468a4a4b540d165cadc638be13bac4993fb674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:610-616 | scripts/check_macos_ui_bench.py:152-158 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd021931c681695d764e639c01a51429d0e54af6c81b5c762bf4fad867dfc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/check_ios_ui_perf.py:121-130 | scripts/check_macos_ui_perf.py:134-143 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d7063444e2324c4bb7a5d693db781a44d044fa5cca4c443cb6b8ae3d53bf2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): scripts/check_ios_ui_perf.py:426-452 | scripts/check_macos_ui_perf.py:515-542 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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 \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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3177f2d66b52d923efee981f2abf396441b9475dd56adbea04f019e01aaf84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): scripts/convert_codec_f16.py:43-47 | scripts/encoder_golden_codes.py:173-177 | scripts/qc/runners/speech_common.py:127-131 | scripts/quality_screen.py:85-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060path\u0060 to \u0060Path\u0060 in one and \u0060Path | str\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":"scripts/convert_codec_f16.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdabd3d319750d77aa220267a0f7815c823d9cd1d257ed1a108673ffd9f714b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/lib/trace_cpu.py:131-136 | scripts/lib/trace_intervals.py:288-293 \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 \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":"scripts/lib/trace_cpu.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00b673b155ffda519d90892c9437830f8bb558d644e44ddd53eb1040cb90d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): scripts/release_sbom.py:28-32 | scripts/verify_ios_release_artifacts.py:127-131 | scripts/workflow_diagnostics.py:183-187 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release_sbom.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"706fcf57e39889871aa65ec826c63c88f4d738f2bbc267ee87cdba2d1290ef72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/ios_startup_reliability.py:164-169 | scripts/quality_promotion.py:321-326 \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":"scripts/ios_startup_reliability.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5742a5e4d72946d65bbfbedb1764d1594caa5b35895ae03198c2f1373c03cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/check_ios_ui_benchmark.py:255-262 | scripts/check_macos_ui_bench.py:670-677 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_benchmark.py\u0060 and \u0060scripts/check_macos_ui_bench.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58a54b1bcb414bc8ece9756ee3cc23e5a1563036b0e83d58aac42dcad9c5f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/check_ios_ui_perf.py:210-214 | scripts/check_macos_ui_perf.py:187-191 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329078fb482261a9a98f4f8b846bd521f332947a977f2132e1ee1fdb4bf32c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/check_ios_ui_perf.py:319-324 | scripts/check_macos_ui_perf.py:397-402 \u2014 before extracting anything, compare \u0060scripts/check_ios_ui_perf.py\u0060 and \u0060scripts/check_macos_ui_perf.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 292 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f585e037ce5a89baf612a59cd9d3b7fe6c64ec1b042009bd1a2388da964fa28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/qc/acoustics.py:95-99 | scripts/qc/candidates.py:162-166 \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":"scripts/qc/acoustics.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b78c5ef40fd07b993a119339921fa49054d640874859ab8c47ff587ed42ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/qc/features.py:106-110 | scripts/qc/runners/_kit.py:226-230 \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 \u0060scripts/qc/features.py:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/qc/runners/_kit.py:225\u0060 calls \u0060frombuffer\u0060, \u0060astype\u0060 and \u0060scripts/qc/features.py:105\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":"scripts/qc/features.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b787b942b6d710b46abfc22295d7b21a7097b5dde7a132dc069df333cc25d9c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/qc/features.py:120-124 | scripts/qc/pitch.py:190-194 \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":"scripts/qc/features.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2133ad54e785b942c775e27bf1ea3398eb5853feb5ff7dc735e0a28ece0f9195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/summarize_generation_telemetry.py:2319-2323 | scripts/summarize_generation_telemetry.py:2360-2364 \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":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c93fddf2dffe4079de3ca03d40583fea0fc17bc4773d3334f716874bcf652ce"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: QwenVoiceBackendCore: QwenVoiceBackendCore: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6cafa8a8959a7850f231ad14683642f8104e6188ba18837d8412197587d63843"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnyTTSEngineBackend (LCOM4 13): AnyTTSEngineBackend\u0027s methods fall into 13 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 13 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/QwenVoiceCore/AnyTTSEngineBackend.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d14c98b1a13a806d1e45a2658c9d90c3fc42015164b2102c48b276a482b272"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppModel (LCOM4 10): AppModel\u0027s methods fall into 10 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 10 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/iOS/App/AppModel.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"374cc0fa7dfd86e7a18da78ded7bbbf908aaa15df4e6ec6112960cf76a354274"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IOSLongFormProductionServices (LCOM4 6): IOSLongFormProductionServices\u0027s methods fall into 6 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 6 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/SharedSupport/Services/IOSLongFormProductionServices.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d867dbe2b7d2b9e4e39de93a2beeb487a2e3e8b1f805739517779c2d74acdd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IOSStudioLongFormPlatformHooks (LCOM4 6): IOSStudioLongFormPlatformHooks\u0027s methods fall into 6 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 6 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/iOS/Studio/IOSStudioLongFormPlatformHooks.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bab5d5ca37e40c326d5b907ca0a08f570d09c8bd30ea59225beea64d12ebaf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MLXTTSEngine (LCOM4 5): MLXTTSEngine\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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"da32ecdac3237c51831243fe1724d08c773ea50254a2de0575eea2bc30c39665"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 5): String\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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c4d667d89d5671055dbff2694ed29e385901b03e1ec6f82e94143f02352f4e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModelManagerViewModel (LCOM4 5): ModelManagerViewModel\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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f8ecdf4933c0a1171b58d531d7694f30d70161f6b9097cf838d3f0145cf970"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HeadlessLongFormServices (LCOM4 5): HeadlessLongFormServices\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/VocelloDesktopCore/DesktopLongFormProject.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"28839ea86d6f0d37afa21424193ddd02aba3a2fcbe16569d39f451a0b1758566"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MacStudioLongFormPlatformHooks (LCOM4 4): MacStudioLongFormPlatformHooks\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/Services/MacStudioLongFormPlatformHooks.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba3816f903b500312e2df6cc80aa9b9f081c6de12c2e8ad63ccd48b96a5f9e0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CLIProcessSupervisor (LCOM4 4): CLIProcessSupervisor\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/VocelloCLI/CLIProcessSupervisor.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"184f22109c9f20c0c390b40fcf0bc53d3302a56e320f2f58f7a87130b42162fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IOSBackgroundGenerationController (LCOM4 4): IOSBackgroundGenerationController\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/iOS/IOSBackgroundGenerationController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faac22b9daf177d6e1ff0fbf013e9e6c09a2f303abbfedd6c71d339c6046c2f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IOSStoreKitClient (LCOM4 4): IOSStoreKitClient\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/iOS/Commerce/IOSStoreKitClient.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"373277a1e14ab1c0ec38ae9b2d07802fcdea9493b4ea981fb6f21e10d69290d7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPrivateSpelledContainerPublishesBesideAnOlderArtifact: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloCoreTests/CloneArtifactPublicationTests.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"39019d1d56e7c8938ac1d8aca2a64f5ec55934276a6de0b1df7e6f09d5f5dab4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testAudioThatCannotBeExaminedIsAFailureNotAbsent: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloCoreTests/GenerationHistoryOutboxTests.swift"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7146bd94c3e03e515a8bc5de9103f4cb876fbfec4d10d8a1aae3a9c1b136040c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testAnUnreadableSidecarNeitherFailsTheImportNorLeavesAStaleCopy: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloCoreTests/ReferenceImportStorageTests.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af9c9cc4dfc800f437e4c6f909f0945dc13d20f9c20bc6d83b17c11b61292a3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testAFailedReimportKeepsTheEarlierMaterialization: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloCoreTests/ReferenceImportStorageTests.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"733936940ff9f64551f0348899da7593ad3760ee4136e0d43b4fa2074fed0e71"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testAFailedExportKeepsTheExistingDestination: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloCoreTests/ReferenceImportStorageTests.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1fbb1cc326155e3b6559c2d88e4b8d506efbd89974aa81f5aba6812d010659"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFolderThatCannotBeReadMakesTheListingIncomplete: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloiOSLogicTests/IOSLeftoverAudioAnalysisTests.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"51efb629f14f0b4667dae569177a43efd35c635cbbf6880f42f67ad3c08e9a23"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheDocumentTypesListTheImportFormats: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloiOSLogicTests/IOSReferenceTranscriptionReviewStateTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8d7e9ec70d3c3761832499a9aa6e6363bc9b5dbdb98f396af4069090c851cb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLocalPurchaseLifecycle: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/VocelloiOSUITests/VocelloiOSPurchaseUITests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"591cd2a421cb163e7b21eb75fcdab9e0304d902ad563dd0079269ffe8ac73999"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRetainedCodeTeacherForcing: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/VocelloQwen3Core/Tests/Qwen3RuntimeTests/Qwen3TalkerReplayDiagnosticTests.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"581c800129dcc7c8d5675a88ed3ed72655a2bfde66552e91b1e7ef7beb879643"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testACancelledWarmPrefetchReArmsIdleUnload: 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/VocelloCoreTests/ActiveGenerationCoordinatorTests.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"b752ce2b58efad88a2fca3e040dda3dded88032f6ef89c35b69cf51260ea35a3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeSignalWorker: 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/VocelloCoreTests/CLIExecutionTests.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32c0a85ab7e38b3a5036f047e78a0cb5be2bdfce1360ceba2d0bab027a17fa4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReplacementWithDifferentAudioRejectsTheOldPrompt: 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/VocelloCoreTests/CloneArtifactPublicationTests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a3d6a65c3bb92db7677ed36b22d7eb01dd24a527dcfc031de1581446e87ef4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReplacementWithSameAudioAndNewTranscriptRejectsTheOldPrompt: 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/VocelloCoreTests/CloneArtifactPublicationTests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d876b8470839bcfa954eb5b91550a5f0ffed01d5754a141d602eba9860c7c43"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopulatedV1UpgradesWithoutChangingRetainedHistory: 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/VocelloCoreTests/DatabaseServiceTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4145c331bcde83e6bf5b32fcbfd6c1ce7573a8beb8e95bf9dee5064f9d59710"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopulatedV2UpgradesWithoutChangingRetainedHistory: 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/VocelloCoreTests/DatabaseServiceTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b1a6416eaa7ce56c08864b7bc1ceb4de76f57ccb40f98b07da8c51cf6cd89a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopulatedV5UpgradesWithoutChangingLongFormHistory: 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/VocelloCoreTests/DatabaseServiceTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9ff63f911ac90d73442b9681c9572196415b0ec1e873eaf991b38d62e9a7ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAMissingOutputsFolderIsNotAnError: 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/VocelloCoreTests/EngineStartupSweepTests.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43accf1af75e112be454afcbdda38e18ed9f9fc1730bcc007795b42fd5aa016"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDependencyInvalidationRemainsLocalToChangedPolicy: 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/VocelloCoreTests/GenerationPlanShadowMapperTests.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aa2fbfd917d02627e46d1f8effafa4b69fac534fb0119dcf460da1e57d1630"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAnUnloadOrStopDuringASuspendedLoadSupersedesIt: 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/VocelloCoreTests/NativeEngineRuntimeSeamTests.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c3d6214e6b9fe75a9e01c937dbfe5071232c389b40b4e91c0d8d3a64ce167"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSnapshotUpdatesFireForTheStreamingEngine: 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/VocelloCoreTests/TTSEngineStoreTests.swift"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e083eaba09232234318dc2f62871923da5993ec6050b34be4185ed297c5462"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testACompletedWarmSurvivesATakeAndAnIdleUnload: 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/VocelloCoreTests/TTSEngineStoreTests.swift"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5412cfa21eb8c6eb64b53b59a07a6ab20173114e461117af764fff34429d65"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNavigationWithoutAStudioIntentNeverWarms: 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/VocelloCoreTests/TTSEngineStoreTests.swift"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1788c3a44a161714531fd1906a45be24837fbce9bf0a9ff0b9aeb10fe5d4b4e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPolicyRefusesCloneGenerationAndEnrollmentWithoutRecordedConsent: 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/VocelloCoreTests/VoiceCloningConsentPolicyTests.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9121afe745d7739e26009a8f02d76343b25567254292569786b1191e3e41e6c8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCLIRuntimeAdmitsCloneGenerationAndEnrollmentWithTheFlag: 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/VocelloCoreTests/VoiceCloningConsentPolicyTests.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e786f27cbabdb2dc130df9415190a7985e832e8ac75facb26019b9caf83190c8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTheCLIFirstChunkObserverEndsOnARefusedOrFailedStreamingTake: 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/VocelloCoreTests/VoiceCloningConsentPolicyTests.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53f51d5596d9f84fc22ca8746d0cd6561cccd68516f9bfd19867b4c9a713b9d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompiledPlanMatchesEagerPathWithoutProjection: 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":"Packages/VocelloQwen3Core/Tests/Qwen3RuntimeTests/Qwen3CodePredictorCompiledTests.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29db44d0373f8ff7c60f2bc9d5c1ca85ec3a055c352e73216e0224de6bd44cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompiledPlanMatchesEagerPathWithProjection: 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":"Packages/VocelloQwen3Core/Tests/Qwen3RuntimeTests/Qwen3CodePredictorCompiledTests.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4238eb3b90aac1b1526c3c9382e3752b1eeb98fcbe63d7785570e4a2bfa4f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFixedAndRandomizedPartitionsAreWaveformInvariant: 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":"Packages/VocelloQwen3Core/Tests/Qwen3RuntimeTests/Qwen3DecoderPartitionTests.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1832f27fb6c677d994d763cbe5c8e67d8e19d40e86524822725d71e8ecf493c6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetIsolationRestoresDeterministicWaveform: 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":"Packages/VocelloQwen3Core/Tests/Qwen3RuntimeTests/Qwen3DecoderPartitionTests.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7415f7118cc0edbe0bf79e022212f30db2f74c1736d432577420043c57bb92fd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTimingInstrumentationDoesNotChangeWaveform: 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":"Packages/VocelloQwen3Core/Tests/Qwen3RuntimeTests/Qwen3DecoderPartitionTests.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"72918ca422e4b523409add2df885e3f982637ee7741d06344695cf226c918b4c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeferredMaterializationSurvivesAllocatorCacheClear: 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":"Packages/VocelloQwen3Core/Tests/Qwen3RuntimeTests/Qwen3DecoderPartitionTests.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9387c25fcb00a7954149d42d5773dff912317203fabf4d2a1aa5b65e00413942"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/benchmark_history.py: scripts/benchmark_history.py changed 79 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 310 in benchmark_history.validate_record at line 3180. 21 of those changes were fix/bug commits, and the other 58 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/benchmark_history.py\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":"scripts/benchmark_history.py"},"region":{"startLine":3180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca33cdb02182440700a49db5ec7ccdbe924641dd9d1568c83a2b64f18247316"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.swift: Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.swift changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 166 in Qwen3TTSModel.generateVoiceDesign at line 2004. 16 of those changes were fix/bug commits, and the other 34 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.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":"Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.swift"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"267684eafafc4c40016b62ddeacaef31d30b150cd917d0917e070601a4d13272"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/publish_benchmark_history.py: scripts/publish_benchmark_history.py changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 139 in publish_benchmark_history.language_command at line 3165. 14 of those changes were fix/bug commits, and the other 38 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/publish_benchmark_history.py\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":"scripts/publish_benchmark_history.py"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8c06454447365dbab1a91db4295cfdbf70b0dc5d827d6959725181825d2601"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/GenerationOutputAdapter.swift: Sources/QwenVoiceCore/GenerationOutputAdapter.swift changed 61 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in StreamingExecutionContext.run at line 1730. 24 of those changes were fix/bug commits, and the other 37 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/GenerationOutputAdapter.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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01dedb0163e478828190824e5d6d3c08b8ee93cad3695d96c0267c8804f65ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_macos_ui_bench.py: scripts/check_macos_ui_bench.py changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 130 in check_macos_ui_bench.main at line 1474. 6 of those changes were fix/bug commits, and the other 24 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/check_macos_ui_bench.py\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":"scripts/check_macos_ui_bench.py"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"973643c4ad95463e201c54cbac974b544959d2f7707729a1dacf4e37a0dbf078"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/BenchCommand.swift: Sources/VocelloCLI/BenchCommand.swift changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in BenchCommand.run at line 185. 11 of those changes were fix/bug commits, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/BenchCommand.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/VocelloCLI/BenchCommand.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c040ea1f51f018ece3efae79b1ddf9a2a5897b8588ae3364c6fc6ee65b406b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/NativeEngineRuntime.swift: Sources/QwenVoiceCore/NativeEngineRuntime.swift changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in NativeEngineRuntime.prepareGeneration at line 812. 16 of those changes were fix/bug commits, and the other 20 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/NativeEngineRuntime.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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbc872a8b80ae0edc4634fa7f1fe323ac9068c25bb47f8337cc0bf99adc564c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/build_output_policy.py: scripts/build_output_policy.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 111 in build_output_policy._validate_policy_document at line 166. 4 of those changes were fix/bug commits, and the other 14 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/build_output_policy.py\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":"scripts/build_output_policy.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4678c40fd5739121fcd79e6e6a776f6a1d936dba1c64e85f1c4515f33b067d39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ios_startup_reliability.py: scripts/ios_startup_reliability.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in ios_startup_reliability.validate_result at line 779. 2 of those changes were fix/bug commits, and the other 16 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/ios_startup_reliability.py\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":"scripts/ios_startup_reliability.py"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d64cc271718417dcc3426e762fc6ef67978ae1c99a2138774c3fb0ec56c1db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/development_workflow.py: scripts/development_workflow.py changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in development_workflow.main at line 651. 9 of those changes were fix/bug commits, and the other 31 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/development_workflow.py\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":"scripts/development_workflow.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4bc5d9e5630eea6a12fcebb8698f76ac890d40f6ef31818d014613d79337c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qwen3_core_contract.py: scripts/qwen3_core_contract.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 161 in qwen3_core_contract.validate at line 853. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qwen3_core_contract.py\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":"scripts/qwen3_core_contract.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee163bde95a73b9f9227a2157d434ba345a3a885831460812b6a1e46e2338ba5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_ios_ui_benchmark.py: scripts/check_ios_ui_benchmark.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in check_ios_ui_benchmark.main at line 656. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/check_ios_ui_benchmark.py\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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f52a4c0507de2faab6d62376650031dbb6b1af0a4d698f0fbf8d274586367e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ios_control_audit.py: scripts/ios_control_audit.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in ios_control_audit.compose at line 685. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/ios_control_audit.py\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":"scripts/ios_control_audit.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e9a3a9676ee543215f271741fe8381a4b3d963d336a67f3444191ca6c36e32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_language_output.py: scripts/check_language_output.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in check_language_output.validate_structured_verification at line 131. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/check_language_output.py\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":"scripts/check_language_output.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"59adc8ef0ad92658b7f285283672dc064b84bf1ec1f934fb86152cc9b792162b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/IOSGenerationModeViews.swift: Sources/iOS/IOSGenerationModeViews.swift changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in IOSVoiceDesignView.body at line 741. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/IOSGenerationModeViews.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/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"410008d801e2f4524fad77a7bca2a761402465a8de102dc07f7854b9272b2ded"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/quality_promotion.py: scripts/quality_promotion.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 101 in quality_promotion.validate_contract at line 105. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/quality_promotion.py\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":"scripts/quality_promotion.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f7816a346f7205ea5b9e9af17e7a5816479ff66e63d3488e7992457589736e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/summarize_generation_telemetry.py: scripts/summarize_generation_telemetry.py changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in summarize_generation_telemetry.main at line 2148. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/summarize_generation_telemetry.py\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":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f93979a7fde1d9b9d4f93d0f476c74aef4645dd96f41da5756eb25376822a5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/git_commands.py: scripts/hooks/git_commands.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in git_commands.git_invocations at line 193. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/hooks/git_commands.py\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":"scripts/hooks/git_commands.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"42388892a630efa531adbf1b7415470f1b179e89e3a3c9ac2587ea832feac200"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/Studio/IOSLongFormProject.swift: Sources/iOS/Studio/IOSLongFormProject.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in IOSLongFormProjectRunner.run at line 899. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/Studio/IOSLongFormProject.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/iOS/Studio/IOSLongFormProject.swift"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc6dd35fa74dba3231a443b685c5a4c39eaaf4298df27b600f4008543e67c1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift: Sources/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in GenerationFailureDiagnosticLogger.errorMetadata at line 184. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/GenerationFailureDiagnosticLogger.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/QwenVoiceCore/GenerationFailureDiagnosticLogger.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab2bb0c1fb18ca77a3c56968422c3a1aa5e23dc29eb3161c29a0c0a15923675"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/GenerateCommand.swift: Sources/VocelloCLI/GenerateCommand.swift changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in GenerateCommand.run at line 423. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/GenerateCommand.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/VocelloCLI/GenerateCommand.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fdac21788681e1cdf60f1472b4cdb8666c131f524977b8f94affb968dd4c08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/ModelsCommand.swift: Sources/VocelloCLI/ModelsCommand.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ModelsCommand.run at line 115. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/ModelsCommand.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/VocelloCLI/ModelsCommand.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"237510ca1d18dc340f3030b1ad6832a4572f0c0032700058aa89e108faf76aa4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/benchmark_memory.py: scripts/benchmark_memory.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in benchmark_memory._validate_layer at line 664. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/benchmark_memory.py\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":"scripts/benchmark_memory.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4d1cb83ab330e7e9b608c1863bcc6d591c4ccfb6615ccb844b5904a26b5d64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/voice_identity_language_reliability.py: scripts/voice_identity_language_reliability.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in voice_identity_language_reliability.compose_device_results at line 708. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/voice_identity_language_reliability.py\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":"scripts/voice_identity_language_reliability.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a599d3437cda253b6466b34b0fbe279333ca9dc5e3ddf66ca5bff3cc83a1bdf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/roadmap.py: scripts/roadmap.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in roadmap.validate at line 411. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/roadmap.py\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":"scripts/roadmap.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc65dfc9d6b9bbaba5547b4f74ff654d4ee9f9ae65cba49ae9e5805cb62f7a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_ios_model_management.py: scripts/check_ios_model_management.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in check_ios_model_management.diagnose at line 515. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/check_ios_model_management.py\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":"scripts/check_ios_model_management.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c2ddf8161c3241fc91affdfc8885e0baa978a9645fb206b0fa6ae61a7de8fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/IOSDeviceDiagnosticsRunner.swift: Sources/iOS/IOSDeviceDiagnosticsRunner.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in IOSDeviceDiagnosticsRunner.runCloneConditioningAcceptance at line 969. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/IOSDeviceDiagnosticsRunner.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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03cca9f88f69e8ea490548aef4b28f99bfbf217c228aea32cc1b370cd3fbcfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/BatchCommand.swift: Sources/VocelloCLI/BatchCommand.swift changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in BatchCommand.run 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/BatchCommand.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/VocelloCLI/BatchCommand.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2267f71b7ce4777b0fe15a8ab82bb3557020ed0269910a9cb7b4c34655a58a7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/quality_screen.py: scripts/quality_screen.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in quality_screen.run_arm at line 547. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/quality_screen.py\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":"scripts/quality_screen.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b09728a71d8f30560c5d3621038e9c30bde77ebd357d1371fe554e59a630eec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/IOSSettingsViews.swift: Sources/iOS/IOSSettingsViews.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in IOSModelRow.statusText at line 649. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/IOSSettingsViews.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/iOS/IOSSettingsViews.swift"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"780a7401948acf032f561336e08f4739727ba6cc21c5103ed9370359beb7f2c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ContentView.swift: Sources/ContentView.swift changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ContentView.screenView at line 285. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/ContentView.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/ContentView.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5849a394d7a848404a5324bb24441fad8596c38a16c1a19d933c2656b37e01"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/workflow_diagnostics.py: scripts/workflow_diagnostics.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in workflow_diagnostics.triage at line 190. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/workflow_diagnostics.py\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":"scripts/workflow_diagnostics.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0b0017a6a1a329a97adb8d11b3efed44dd50cc8c53839e1269fb8206762d14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Views/Studio/MacVoiceCloningScreen.swift: Sources/Views/Studio/MacVoiceCloningScreen.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MacVoiceCloningScreen.syncCloneReferencePriming at line 946. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Views/Studio/MacVoiceCloningScreen.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/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5822a770e759d8bbf28bbc36d36311ac1b2b1c97d0f098df1ce2b01227e098"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/agent_guard.py: scripts/hooks/agent_guard.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in agent_guard.command_violation at line 105. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/hooks/agent_guard.py\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":"scripts/hooks/agent_guard.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac22e37a7c33e6f4acfcb7d610abb8555181215e212a5e5fcf8d0cf4a231390b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/audio_qc_calibration_takes.py: scripts/audio_qc_calibration_takes.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in audio_qc_calibration_takes.validate_manifest at line 1907. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/audio_qc_calibration_takes.py\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":"scripts/audio_qc_calibration_takes.py"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad53457167c172cf753ad6c9350280c2eba22ea52bc3e3ae0ecef6f3d119765"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Services/MacGenerationWarmupCoordinator.swift: Sources/Services/MacGenerationWarmupCoordinator.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in MacGenerationWarmupCoordinator.scheduleWarmupIfNeeded at line 209. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacGenerationWarmupCoordinator.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/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec5dafbe3ae8914018f839f60d1cebcd941ddc772feaab91ba388b5ea5dfd1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/HuggingFaceDownloader.swift: Sources/QwenVoiceCore/HuggingFaceDownloader.swift changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in HuggingFaceDownloader.downloadTemporaryFile at line 3049. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/HuggingFaceDownloader.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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca73628f2065683fd0df3e0c8e5f84072dc600271db111975be70daee413776"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/audio_qc.py: scripts/lib/audio_qc.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in audio_qc.fast_qc_report at line 491. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/lib/audio_qc.py\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":"scripts/lib/audio_qc.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ee5c9137b7fda192fa74c9e13294bcef3b48a6e1c50dfd5ada2ab200c88910"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ViewModels/ModelManagerViewModel.swift: Sources/ViewModels/ModelManagerViewModel.swift changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ModelManagerViewModel.downloadDetail at line 915. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/ViewModels/ModelManagerViewModel.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/ViewModels/ModelManagerViewModel.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"460ac118ca0a3fb1517f3d03bd073549650a04dccc70a715b4ed755612803dff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/AudioPreparation.swift: Sources/QwenVoiceCore/AudioPreparation.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in NativeAudioPreparationService.convertAudio at line 569. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/AudioPreparation.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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cc33a721e95bc30044706c871a5c4fba182af49a33e15a5d86ba3cbc7310e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/BenchCodecReplay.swift: Sources/VocelloCLI/BenchCodecReplay.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in BenchCodecReplay.run at line 62. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/BenchCodecReplay.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/VocelloCLI/BenchCodecReplay.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d062e1c87739343610bc2c5eaa60185f303ece7c8de7848edf4dc71cf803d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/VocelloMain.swift: Sources/VocelloCLI/VocelloMain.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in VocelloMain.dispatch at line 72. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/VocelloMain.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/VocelloCLI/VocelloMain.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03c64dadd2dac902657a4d65a7e8860492a53ca8e341565f2e6432d6adac6a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/hooks/agent_hook_input.py: scripts/hooks/agent_hook_input.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in agent_hook_input.file_policy at line 183. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/hooks/agent_hook_input.py\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":"scripts/hooks/agent_hook_input.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8164013d25bf598725e0a7be4962bae3ae36afb0a32fb899d41a3df234ed751"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/lanes.py: scripts/qc/lanes.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in lanes.score_run at line 286. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/lanes.py\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":"scripts/qc/lanes.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1905a0759106d00d9e11b4ba1342e6c5dcca3107b1b03352dc7c0e8fea34406d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/cli_package.py: scripts/cli_package.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in cli_package.qualify at line 505. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/cli_package.py\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":"scripts/cli_package.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20b88f4be79be77201b5a74d2ed14b4fd64ac449b24b9c5d09c9152e0f6a736"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/localization_contract.py: scripts/localization_contract.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in localization_contract._validate_catalog at line 262. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/localization_contract.py\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":"scripts/localization_contract.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7b4b188e234e6053eedc37e4ff1a2817e1ee85d7fcc074ec42a1167af37356"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Views/Voices/MacSavedVoiceSheet.swift: Sources/Views/Voices/MacSavedVoiceSheet.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MacSavedVoiceSheet.body at line 161. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Views/Voices/MacSavedVoiceSheet.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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89dab3ab54eefc6860dc33f3128a6dc43a7452be97ee666a2dbc5bdae256b11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Engine.swift: Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Engine.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in VocelloQwen3Engine.runGeneration at line 1495. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Engine.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":"Packages/VocelloQwen3Core/Sources/VocelloQwen3Core/Engine.swift"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ca71d3bd1b23d6e9980c1bfc10821d6aa78c6324b69060550929ab259afe55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/build_cleanup.py: scripts/build_cleanup.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in build_cleanup.main at line 1500. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/build_cleanup.py\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":"scripts/build_cleanup.py"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb44870e89154f166964812e51427809e91fc1a940d66fc4586e2bf2b51754f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/SharedSupport/Database/GenerationHistoryOutbox.swift: Sources/SharedSupport/Database/GenerationHistoryOutbox.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in GenerationHistoryOutboxStore.scan at line 351. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Database/GenerationHistoryOutbox.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/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfcd856fa84c050681661415186372bad0e70f923b0d3ad2b1d465b8bef9fc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/verify_ios_release_artifacts.py: scripts/verify_ios_release_artifacts.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in verify_ios_release_artifacts.validate_bundle_contract at line 511. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/verify_ios_release_artifacts.py\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":"scripts/verify_ios_release_artifacts.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52429d2ec8491174155e8961c348e4e9defa99d1f3acfa389afb6622acf9fd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/fit.py: scripts/qc/fit.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in fit.evaluate at line 512. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/fit.py\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":"scripts/qc/fit.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79adb365ae1f907c23e22cc794809de0db4c118642cc81a64196eb4ea6b063"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/TTSEngineStore.swift: Sources/iOS/TTSEngineStore.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TTSEngineStore.syncFromSnapshot at line 730. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/TTSEngineStore.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/iOS/TTSEngineStore.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b990e8cb19467159a770e841e82f54a65d0ca08731b34ee937998a98228ba6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/detectors.py: scripts/qc/detectors.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in detectors.validate_config at line 80. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/detectors.py\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":"scripts/qc/detectors.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c6d4121b2aa134408ebea97fd0b92e793db2659002133ee36c0cb1d65098f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/features.py: scripts/qc/features.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in features.phone_features at line 957. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/features.py\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":"scripts/qc/features.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f6103322db927f41a8c92267f3908fc580492a6f4bb3d76cad3430e37bb350"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift: Sources/QwenVoiceCore/MLXModelLoadCoordinator.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in MLXModelLoadCoordinator.loadModel at line 259. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/MLXModelLoadCoordinator.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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"056dd343aff5d51f60c4d2c402281b7e39e082f163a429aff47b8a36b85f17ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/telemetry_overhead.py: scripts/telemetry_overhead.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in telemetry_overhead.run_lane at line 392. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/telemetry_overhead.py\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":"scripts/telemetry_overhead.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb4ab7608dc1941ea13319f40d58db82e9c0634b1cf270851f68e3887c92f2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/saved_voice_lifecycle_contract.py: scripts/saved_voice_lifecycle_contract.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in saved_voice_lifecycle_contract.validate at line 32. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/saved_voice_lifecycle_contract.py\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":"scripts/saved_voice_lifecycle_contract.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dca662058fe5408729ffa77d9390187b759263c905d9036945c43eeaa85e60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/IOSStartupReliabilityRunner.swift: Sources/iOS/IOSStartupReliabilityRunner.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in IOSStartupReliabilityRunner.execute at line 184. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/IOSStartupReliabilityRunner.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/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"975b6384257350a67692dc529a6608bb42b8c3e1f1d8fe6a2a1dac29bce874cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/SharedSupport/Services/VoiceClipTranscriber.swift: Sources/SharedSupport/Services/VoiceClipTranscriber.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VoiceClipTranscriber.enrollmentResult at line 467. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Services/VoiceClipTranscriber.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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6b6422e0bbf8123f1cc5860463e2b9099c955e633f662b836a7cc35358ec16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/NativeCloneSupport.swift: Sources/QwenVoiceCore/NativeCloneSupport.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NativePreparedCloneConditioningCache.resolveVoiceClonePrompt at line 437. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/NativeCloneSupport.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/QwenVoiceCore/NativeCloneSupport.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34b9836268f6bd15899379bfbf13d923326c7537e8557de6024ff76aadb41a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/runtime_security_contract.py: scripts/runtime_security_contract.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in runtime_security_contract.validate_debug_contract at line 372. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/runtime_security_contract.py\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":"scripts/runtime_security_contract.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce18c3a10ae29325015bac0c38ce906bbda03175a95bd2dbbd96ec376a04a5f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/Voices/IOSRecordVoiceSheet.swift: Sources/iOS/Voices/IOSRecordVoiceSheet.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in IOSRecordVoiceSheet.body at line 87. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/Voices/IOSRecordVoiceSheet.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/iOS/Voices/IOSRecordVoiceSheet.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56b39a16a7106e568ee8b3c0323ff7aa95cb47b8af290e689da631f554aaebd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/language_bench_evidence.py: scripts/language_bench_evidence.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in language_bench_evidence.build_plan at line 163. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/language_bench_evidence.py\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":"scripts/language_bench_evidence.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0125afd658de2881cb569be502d9e958946c1cf1e1ae50da2824a3834063104"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/GenerationSemantics.swift: Sources/QwenVoiceCore/GenerationSemantics.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ScriptUnits.init at line 1293. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/GenerationSemantics.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/QwenVoiceCore/GenerationSemantics.swift"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9634a17330f1a9e956d49f974e643e02e1c19a33e1728870b978239c32de6a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/VoicesCommand.swift: Sources/VocelloCLI/VoicesCommand.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in VoicesCommand.run at line 61. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/VoicesCommand.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/VocelloCLI/VoicesCommand.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"870a0357768dbb1556c69a73aea1205751d4ea9e47196c1f777eac20398562f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/PreparedVoiceRepository.swift: Sources/QwenVoiceCore/PreparedVoiceRepository.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PreparedVoiceRepository.reconcileCommitTransaction at line 906. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/PreparedVoiceRepository.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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df621a13f487a0563ad8d91bd5a3ffd4201f68f2001849085582cc1dc62d713"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/ModelAssets.swift: Sources/QwenVoiceCore/ModelAssets.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in LocalModelAssetStore.deepIntegrity at line 359. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/ModelAssets.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/QwenVoiceCore/ModelAssets.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61f1e0085e33d3772b670975afee2e146cbb4a602f83624b6c5989dea1507e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/release_evidence.py: scripts/release_evidence.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in release_evidence.validate at line 982. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/release_evidence.py\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":"scripts/release_evidence.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d0140a882cdf1282afd520b9a68a3353109a2b9be2bac1fc64d58a1a5ed9c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTSLoading.swift: Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTSLoading.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Qwen3TTSModel.loadTalkerComponents at line 339. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTSLoading.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":"Packages/VocelloQwen3Core/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTSLoading.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"92299d1c3ebd40f2f1eb441511013d1f1fec2db0da2a47e6c99ef5fb6a56d223"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/SharedModelComponentStore.swift: Sources/QwenVoiceCore/SharedModelComponentStore.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SharedModelComponentStore.installStagedModel at line 577. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/SharedModelComponentStore.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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aef969c8acf5081cfa27000e818f62e93f14c8b00a00e5aff11339170b18abd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_macos_ui_perf.py: scripts/check_macos_ui_perf.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in check_macos_ui_perf.main at line 696. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/check_macos_ui_perf.py\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":"scripts/check_macos_ui_perf.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb05b228dfb3b2b23a1d8f7a7330ca5ae692e473180e82cc3f7da489ae927f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/supply_chain_contract.py: scripts/supply_chain_contract.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in supply_chain_contract.validate at line 98. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/supply_chain_contract.py\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":"scripts/supply_chain_contract.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"327ab502e67d107584ddead6e2574e4ba8799178270e44fdeae2340d8b3b6b78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/iOS/IOSModelInstallerViewModel.swift: Sources/iOS/IOSModelInstallerViewModel.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in IOSModelInstallerViewModel.apply at line 494. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/IOSModelInstallerViewModel.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/iOS/IOSModelInstallerViewModel.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ce413f70c813b360e16a7e6188c2c640d7f75b279eacc3a1ea566ff1e96b1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/SharedSupport/Database/LongFormHistoryAcceptance.swift: Sources/SharedSupport/Database/LongFormHistoryAcceptance.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LongFormHistoryAcceptanceStore.prepare at line 274. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Database/LongFormHistoryAcceptance.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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f8fd95d5b15b1c81c436cb91f746cadadd8edd280b0c0ec39f95ff47f9bb1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/SharedSupport/Services/GenerationOutputVerifier.swift: Sources/SharedSupport/Services/GenerationOutputVerifier.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GenerationOutputVerifier.evaluate at line 170. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Services/GenerationOutputVerifier.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/SharedSupport/Services/GenerationOutputVerifier.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"16daedf6a554f677e758b0d211b80931f6ed0deac2ee795573d440dcaaa2c3d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_language_hints.py: scripts/check_language_hints.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in check_language_hints.main at line 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/check_language_hints.py\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":"scripts/check_language_hints.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f59924747b1d049aa089a191b257285b6107816841675f88aff9980d064474b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/clone_fidelity_lane.py: scripts/clone_fidelity_lane.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in clone_fidelity_lane.main at line 409. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/clone_fidelity_lane.py\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":"scripts/clone_fidelity_lane.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e6241c5769c37cc665a454e344a0d550a42c8575f79c535ff48a4caf326f78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/validate_backend_risk_spine.py: scripts/validate_backend_risk_spine.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in validate_backend_risk_spine.validate at line 74. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/validate_backend_risk_spine.py\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":"scripts/validate_backend_risk_spine.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd64f97c709b39de5066fdc3a8d837109f831a19600bf2c566122e7e3db02e0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/bench_delivery_prosody.py: scripts/bench_delivery_prosody.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in bench_delivery_prosody.analyze_run at line 349. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/bench_delivery_prosody.py\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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96176748201a3c319183d70096cebc6e67c1ccad846bcf95e720570cb0e9753"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/ModelDownloadContracts.swift: Sources/QwenVoiceCore/ModelDownloadContracts.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ModelDownloadRetryPolicy.disposition at line 496. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/ModelDownloadContracts.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/QwenVoiceCore/ModelDownloadContracts.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd3b445bcda9f0dd1b78aa4b32a441adb79da4c230ed1a5a44a875b62ca8967"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/attribution_manifest.py: scripts/attribution_manifest.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in attribution_manifest.build at line 147. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/attribution_manifest.py\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":"scripts/attribution_manifest.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c317e80e9ebcf42d89855f785f3f95e1e97cb817fc414fc76f537b0dc94102"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/GenerationQualityReport.swift: Sources/QwenVoiceCore/GenerationQualityReport.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in QualityGateRegistry.evaluate at line 211. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/GenerationQualityReport.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/QwenVoiceCore/GenerationQualityReport.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee47cec2da4ae2ca1e60583a9c345bd30e0147cc4bdfef78998d4d80e5a16360"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/xctest_summary.py: scripts/lib/xctest_summary.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in xctest_summary.summarize at line 66. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/lib/xctest_summary.py\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":"scripts/lib/xctest_summary.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8462233b500f2579b3c8969965d02c422cdc2999d533b5a9a5db6cf0c9eb9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/Core/Contract/CLIFailure.swift: Sources/VocelloCLI/Core/Contract/CLIFailure.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in CLIFailure.classify at line 78. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/Core/Contract/CLIFailure.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/VocelloCLI/Core/Contract/CLIFailure.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"301dfa24c57162aa42983ddbc410dab393932ded59f2d85446f1620fa72dab9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloDesktopCore/DesktopAppSettings.swift: Sources/VocelloDesktopCore/DesktopAppSettings.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DesktopAppSettings.set at line 74. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloDesktopCore/DesktopAppSettings.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/VocelloDesktopCore/DesktopAppSettings.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0baf951081ee833cfea1597e8704a29f53740bd214d4ce092ff2c0bf6e421d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_ios_ui_perf.py: scripts/check_ios_ui_perf.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in check_ios_ui_perf.main at line 548. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/check_ios_ui_perf.py\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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0c218b19d6ac7fe375c0ced284394e978a62bc251c6110a4e6a1b1305f5f8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/calibrate.py: scripts/qc/calibrate.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in calibrate.evaluate at line 432. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/calibrate.py\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":"scripts/qc/calibrate.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef9359120c2d767365b9c438a31ba60751461a9e597073ed12e75bb8d368ec0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/public_facts_contract.py: scripts/public_facts_contract.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in public_facts_contract.validate_candidate_claims at line 183. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/public_facts_contract.py\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":"scripts/public_facts_contract.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc3f2b78636641162807b97edf0019870db056bbdd6fc43ecfb5fa10e0e2a2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/delivery_quality_gate.py: scripts/delivery_quality_gate.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in delivery_quality_gate.evaluate_delivery_cell at line 339. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/delivery_quality_gate.py\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":"scripts/delivery_quality_gate.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e498e172987c051717430210cbdbe3b631ce4f3b4738ad4fe1fc80bae936f2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/BenchCodecRoundTrip.swift: Sources/VocelloCLI/BenchCodecRoundTrip.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in BenchCodecRoundTrip.run at line 67. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/BenchCodecRoundTrip.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/VocelloCLI/BenchCodecRoundTrip.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f708d7b9123edaa38e17fbc42b8eb755bec7707249791271cd7dfef31ad368"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/confirm.py: scripts/qc/confirm.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in confirm.next_batch at line 159. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/confirm.py\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":"scripts/qc/confirm.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b6f496989509ceb997b132493d018533563875ca83ecf3c924c5982e0ac242"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/ui_lane_data.py: scripts/lib/ui_lane_data.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ui_lane_data.run_metadata 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/lib/ui_lane_data.py\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":"scripts/lib/ui_lane_data.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68f2bf700ff38ef2aaa9d054b9fa392d5a7192ecfb00efd56e51589c44cd863"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift: Sources/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ShippingChunkObservationV9.validate at line 156. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.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/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa72e5e2010ca3f9c78164d95534cf36beace1506bc4a35317c82cdc1fd47d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/RunCommand.swift: Sources/VocelloCLI/RunCommand.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RunCommand.report at line 226. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/RunCommand.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/VocelloCLI/RunCommand.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"76875c32d3cf9318a0acf0753e0e399d1ed5959c7495d9c08ba7d0b7e7c17a37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/release_source_authority.py: scripts/release_source_authority.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in release_source_authority.validate at line 160. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/release_source_authority.py\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":"scripts/release_source_authority.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0399d5b18dbc8fc011775af1d8477e36f0b759c5217540696e26895c8ff5f9b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloDesktopCore/DesktopVoiceEnrollment.swift: Sources/VocelloDesktopCore/DesktopVoiceEnrollment.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in DesktopEngineHost.enrollVoice at line 135. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloDesktopCore/DesktopVoiceEnrollment.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/VocelloDesktopCore/DesktopVoiceEnrollment.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbeb9605d69e4fd03c8651e94716524274ffb19c0e4801176f09e01078a60d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: website/scripts/site-contract.mjs: website/scripts/site-contract.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in site-contract.validateText at line 48. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- website/scripts/site-contract.mjs\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":"website/scripts/site-contract.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"677f0f8e99842a9c0bfd4483d6f1626c2d533baaf7c917fe0e80045eaad12e29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ios_purchase_acceptance.py: scripts/ios_purchase_acceptance.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ios_purchase_acceptance.collect at line 45. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/ios_purchase_acceptance.py\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":"scripts/ios_purchase_acceptance.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbe90ad278134cc2d66356b44b9e85393888bc7fcd9b844246acfa008ead4c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lint_baseline.py: scripts/lint_baseline.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in lint_baseline.parse_findings at line 119. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/lint_baseline.py\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":"scripts/lint_baseline.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a749b3037825467ad4264a0b0c0cb5bf0db6a510c4b98de0fc13e7d50a77fd6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/GenerationTelemetryJSONLSink.swift: Sources/QwenVoiceCore/GenerationTelemetryJSONLSink.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GenerationTelemetryJSONLSink.pruneJSONLFromFront at line 205. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/GenerationTelemetryJSONLSink.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/QwenVoiceCore/GenerationTelemetryJSONLSink.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b565c27cab963456d4277e5fbe6f60aee4c6f834954464e5ff405332dac77c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/BenchCodecLoop.swift: Sources/VocelloCLI/BenchCodecLoop.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BenchCodecLoop.run at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/BenchCodecLoop.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/VocelloCLI/BenchCodecLoop.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6d8c9c053bed6a8688fc931eba305d7fce18ef822e6e31ffabcc8df43911cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/build_artifact_retention.py: scripts/lib/build_artifact_retention.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in build_artifact_retention.analyze_ui_artifacts at line 172. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/lib/build_artifact_retention.py\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":"scripts/lib/build_artifact_retention.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6182514db56c55c1d300197ae699b8d2b06c1112f1ccbe74afb3cb089c065af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/build_hybrid_model.py: scripts/build_hybrid_model.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in build_hybrid_model.build_mode at line 170. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/build_hybrid_model.py\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":"scripts/build_hybrid_model.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4437219616dd785ddafee01f895901360f1ca42114bf47bf044501c8d9fdae4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/entitlement_contract.py: scripts/entitlement_contract.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in entitlement_contract.validate at line 138. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/entitlement_contract.py\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":"scripts/entitlement_contract.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e73f21e02d97dea3b35a484f45f24291d4c9da30c4a8038b9746e6123dbc47d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/VocelloCLI/DoctorCommand.swift: Sources/VocelloCLI/DoctorCommand.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in DoctorCommand.run at line 29. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/DoctorCommand.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/VocelloCLI/DoctorCommand.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2b064777def55c9db16c7cb9a28d8e2abd98b369ae833898ee99b21c3fe10e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/playback_capture.py: scripts/lib/playback_capture.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in playback_capture.analyze_take at line 428. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/lib/playback_capture.py\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":"scripts/lib/playback_capture.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"28764f8dfd72dc7d8368d34a00a59c2d92eeac83b60d6b933755eed7a745beaa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/acoustics.py: scripts/qc/acoustics.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in acoustics.analyze at line 294. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/acoustics.py\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":"scripts/qc/acoustics.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7549a12b02181088b1f696248a28f466cf20cbe96a40d103a10a557e6a3eb908"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/AudioQCSignalObserver.swift: Sources/QwenVoiceCore/AudioQCSignalObserver.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AudioQCSignalObserver.repetitionStripe at line 816. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/AudioQCSignalObserver.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/QwenVoiceCore/AudioQCSignalObserver.swift"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"197445173fe323304eae0649825f490d5d8a09a0780c38e99b30d2b8e1867431"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/norms.py: scripts/qc/norms.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in norms.compute at line 115. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/norms.py\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":"scripts/qc/norms.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e2ab9fc1868a47a06115195e86da9aec31b296cbff6f4702055d27812bfd3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/qc/phones.py: scripts/qc/phones.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in phones.stutter_features at line 764. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/qc/phones.py\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":"scripts/qc/phones.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"5948ee2fc7417c78a964e4b3fd43ff147a9afe944538a1c757ee10c4aea9994b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/DiagnosticPrivacy.swift: Sources/QwenVoiceCore/DiagnosticPrivacy.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in DiagnosticPrivacy.redactingExceptionReasons at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/DiagnosticPrivacy.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/QwenVoiceCore/DiagnosticPrivacy.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"134288fc6d7e9609be84e0100cf0b3ef3c1b1c77615d9ac8ad69f0d9d96f7f55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/QwenVoiceCore/IOSStartupReliabilityPlan.swift: Sources/QwenVoiceCore/IOSStartupReliabilityPlan.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in IOSStartupReliabilityLaunchSpec.validate at line 76. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/IOSStartupReliabilityPlan.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/QwenVoiceCore/IOSStartupReliabilityPlan.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff0aca0312ffe9e704d716755bd948863b154d7fc08095e00a19ef2ed694c70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ios_device_eligibility.py: scripts/ios_device_eligibility.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ios_device_eligibility.validate at line 31. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/ios_device_eligibility.py\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":"scripts/ios_device_eligibility.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"46de23c88799df70769e72d17e52bbf0b1ba3fad999a1440734500cc01a550f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/prosody_quality_gate.py: scripts/prosody_quality_gate.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in prosody_quality_gate.evaluate_metrics at line 63. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/prosody_quality_gate.py\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":"scripts/prosody_quality_gate.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e4858cf669f9bdd54f016bbbda8663f046f1b56078ec0e97313984c9c2b368"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/QwenVoiceCore/MLXTTSEngine.swift: Sources/QwenVoiceCore/MLXTTSEngine.swift changed 47 times in last 90 days and 25 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is MLXTTSEngine.generate at line 1528), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(engine): a clone prime or a take that stop() cancelled publishes nothing on the stopped engine (RF-61)\u201D; \u201Cfix(engine): a load or warm suspended across stop() publishes nothing on the stopped engine (RF-61)\u201D; \u201Cfix(ios): proactive model work stops when the app stops being active (BG-01)\u201D; \u201Cfix(voices): a closed review surface discards its candidate; Delete waits for long-form (F-01)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/MLXTTSEngine.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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68848db9216758f2d5e09a67520b502acf96568b0c421fae9a00238c294d845"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Views/History/MacHistoryScreen.swift: Sources/Views/History/MacHistoryScreen.swift changed 42 times in last 90 days and 25 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is MacHistoryDisplayEntry.entries at line 98), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(history): Save As and the recovery export run one at a time and report a failure wherever the user is (RF-61)\u201D; \u201Cfix(history): deleting the take the player holds dismisses the player (RF-61)\u201D; \u201Cfix(history): a long-form project delete deletes nothing when the project changed since it was read (RF-61)\u201D; \u201Cfix(history): Save As and the recovery export copy off the main thread (RF-61)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Views/History/MacHistoryScreen.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/Views/History/MacHistoryScreen.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d160775eb674909ea266e92eb39808f9a1e80aad2dd6ee9c32d844697e5512a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/SharedSupport/Services/VocelloPresentationText.swift: Sources/SharedSupport/Services/VocelloPresentationText.swift changed 37 times in last 90 days and 21 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is VocelloPresentationText.enrollmentTranscriptionStatus at line 516), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(player): the shared player\u0027s messages and the model download details read in the interface language (RF-61)\u201D; \u201Cfix(history): deleting a long-form project deletes its segments, and the confirmation says how many (RF-61)\u201D; \u201Cfix(history): Discard says what it could not set aside; Mac regeneration passes (F-16)\u201D; \u201Cfix: Discard unblocks long-form History; damaged voice metadata stays gated (F-16, RF-13)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Services/VocelloPresentationText.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/SharedSupport/Services/VocelloPresentationText.swift"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57dca6a6770e7d507f17f75ef234d5ff80d80ef557b85db359ec4aa3eba8822"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/History/HistoryScreen.swift: Sources/iOS/History/HistoryScreen.swift changed 31 times in last 90 days and 20 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is IOSHistoryLibrarySection.makeGroupedItems at line 662), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(history): deleting the take the player holds dismisses the player (RF-61)\u201D; \u201Cfix(history): a long-form project delete deletes nothing when the project changed since it was read (RF-61)\u201D; \u201Cfix(history): deleting a long-form project deletes its segments, and the confirmation says how many (RF-61)\u201D; \u201Cfix(history): a History over 500 entries updates its list once per search, filter or sort (RF-61)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/History/HistoryScreen.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/iOS/History/HistoryScreen.swift"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f136283540fc9761ea946590e325d316269c280879cdb6d7141b97b5ee45d6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/QVoiceiOSApp.swift: Sources/iOS/QVoiceiOSApp.swift changed 22 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is QVoiceiOSApp.body at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): proactive model work stops when the app stops being active (BG-01)\u201D; \u201Cfix(ios): every player pauses for a call or a lost output; smoke records then plays (AUD-02)\u201D; \u201Cfix(ios): startup is an owned retryable pass and opened files wait for onboarding (AUD-01)\u201D; \u201Cfix(player): a pause holds the live preview; an operation\u0027s takes play in turn; cards adopt only their own file\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/QVoiceiOSApp.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/iOS/QVoiceiOSApp.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a102198ac786db461b5a66f9d986ba2f09d905670fe25373e7af9de4bb9075c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOSSupport/Services/DatabaseService.swift: Sources/iOSSupport/Services/DatabaseService.swift changed 18 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is DatabaseService.deleteLongFormProject at line 432), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(history): a long-form project delete deletes nothing when the project changed since it was read (RF-61)\u201D; \u201Cfix(history): deleting a long-form project deletes its segments, and the confirmation says how many (RF-61)\u201D; \u201Cfix(privacy): History turns on SQLite secure delete (BKL-09)\u201D; \u201Cfix(history): Discard says what it could not set aside; Mac regeneration passes (F-16)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOSSupport/Services/DatabaseService.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/iOSSupport/Services/DatabaseService.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"9278b3fea3e28c24d51d16a01f200bc571a58369a29e1ad269e6218d757f3f90"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/IOSModelDownloadCoordinator.swift: Sources/iOS/IOSModelDownloadCoordinator.swift changed 17 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is IOSModelDownloadCoordinator.handleProgress at line 729), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(models): a Retry checks space only for the bytes it still needs; stale staging goes (RF-19)\u201D; \u201Cfix(models): two quick Install taps queue the second model instead of wedging both (RF-19)\u201D; \u201Cfix(models): a failed install stays failed until Retry instead of restarting every launch (RF-19)\u201D; \u201Cfix(models): a failed file shows Failed with Retry instead of a stuck Cancelling (RF-19)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/IOSModelDownloadCoordinator.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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6aeb589ad0ccb16d844838d579f700ce0fe9639dfc2dcec3f03d47e6239d0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/SharedSupport/Services/GenerationHistoryRecovery.swift: Sources/SharedSupport/Services/GenerationHistoryRecovery.swift changed 14 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is GenerationHistoryRecovery.segmentCountDeletedWith at line 85), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(history): a long-form project delete deletes nothing when the project changed since it was read (RF-61)\u201D; \u201Cfix(history): deleting a long-form project deletes its segments, and the confirmation says how many (RF-61)\u201D; \u201Cfix(history): Discard says what it could not set aside; Mac regeneration passes (F-16)\u201D; \u201Cfix: Discard unblocks long-form History; damaged voice metadata stays gated (F-16, RF-13)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Services/GenerationHistoryRecovery.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/SharedSupport/Services/GenerationHistoryRecovery.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6b3cb8eeaed2fa21bbe7a1aadef5fbf81fad51fc4670d20dd9a467265933b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/MacLineBatchRequest.swift: Sources/Services/MacLineBatchRequest.swift changed 10 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is MacBatchDroppedTextFile.unicodeText at line 47), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(batch): a dropped UTF-16 file without a byte order mark is refused, not read with NUL characters in it (RF-61)\u201D; \u201Cfix(batch): a file dropped on the batch sheet is read whatever its case or Unicode encoding, or refused with a reason (RF-61)\u201D; \u201Cfix(batch): a separator line in a Mac line batch is skipped, not a take that stops the batch\u201D; \u201Cfix(batch): a line-batch retry keeps each line\u0027s own seed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacLineBatchRequest.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/Services/MacLineBatchRequest.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb6f6107ac05d7b04cc412a77fabd21166aaca0e3bf75765ad70995b7d92274"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/App/AppModel.swift: Sources/iOS/App/AppModel.swift changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is AppModel.activeStudioWork at line 226), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(studio,mac,ios): a kept warm never undoes an unload; one mode-switch rule on both apps\u201D; \u201Cfix(studio,mac,ios): keep Studio state with its take, guard mode switches, close engine-cancelled batches\u201D; \u201Cfix(history,studio,mac): rebase moved History audio, refuse Stop while a take is saved, surface a failed engine start\u201D; \u201Cfix(ios): a failed 0444 restore stops startup; drafts keep only the voice ID (PA-21)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/App/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/iOS/App/AppModel.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeacd28f93d78c9b76c92a16b3aa510da080826e360f09ccf9d3500dfaa6a6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/Studio/StudioGenerationCoordinator.swift: Sources/iOS/Studio/StudioGenerationCoordinator.swift changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is StudioGenerationCoordinator.backgroundInterruptionNoticeMessage at line 83), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(studio,mac,ios): a take the engine stops for memory says so instead of vanishing (U23)\u201D; \u201Cfix(studio,mac,ios): keep Studio state with its take, guard mode switches, close engine-cancelled batches\u201D; \u201Cfix(history,studio,mac): rebase moved History audio, refuse Stop while a take is saved, surface a failed engine start\u201D; \u201Cfix(ios): PA-15 honour accepted cancellation before the task is cancelled\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/Studio/StudioGenerationCoordinator.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/iOS/Studio/StudioGenerationCoordinator.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b1807d9a2f9539b09fb752c48e7451c56cfad56eeebbfef39af6ad3142f0e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/VocelloCLI/Support.swift: Sources/VocelloCLI/Support.swift changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is CLIPaths.dataDirectory at line 16), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): the install preflight counts only planned bytes really held, and the ledger prunes without an id (RF-61)\u201D; \u201Cfix(cli): model ids read in any letter case, --stream with --no-stream is refused, and a failed final rename keeps a project\u0027s joined output (RF-61)\u201D; \u201Cfix(cli): a full volume is storage_full, and models install checks the free space before it downloads (RF-61)\u201D; \u201Cfix(cli): unique default takes, options checked before boot, engine stops apart from Ctrl-C\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/Support.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/VocelloCLI/Support.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8c176cfa897f6efe6e9edd32c28d0f6a3af6ebaff0e3c63bac6ccddaef72ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/MacLineBatchRunner.swift: Sources/Services/MacLineBatchRunner.swift changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is MacLineBatchRunner.start at line 60), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(privacy): name takes and their exported copies without the script (BKL-09)\u201D; \u201Cfix(batch): a line-batch retry keeps each line\u0027s own seed\u201D; \u201Cfix(batch): a repeated line of a Mac line batch derives its own seed (P11-10)\u201D; \u201Cfix(long-form,batch): retakes on a fresh seed, one script language, pinned seeds, Stop refused during save\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacLineBatchRunner.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/Services/MacLineBatchRunner.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1d5a6cc21229ad0bee5921df14cf124ec23ad81738cf00f2af888af4ced953"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOSSupport/Models/GenerationDrafts.swift: Sources/iOSSupport/Models/GenerationDrafts.swift changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is SavedVoiceCloneHydration.action at line 387), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make Clone conditioning an explicit reviewed input decision\u201D; \u201CRecover clone workflow improvements and fix reference ownership races\u201D; \u201Cfix(delivery): one Studio delivery reading on both apps; the diction sentence stands alone\u201D; \u201Cfix(studio,mac,ios): keep Studio state with its take, guard mode switches, close engine-cancelled batches\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOSSupport/Models/GenerationDrafts.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/iOSSupport/Models/GenerationDrafts.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"74414aeba81911aafbdff6dc1c77c6484952406f56376b13aa49694317f5105b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOSSupport/Services/IOSSavedOutputsDestination.swift: Sources/iOSSupport/Services/IOSSavedOutputsDestination.swift changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is IOSSavedOutputsDestination.exportIfConfigured at line 132), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios,files): a bookmark refresh no longer drops a waiting Files copy\u201D; \u201Cfix(files,engine): one staged copy for Save As, earlier export failures stay reported, cleanup throws pinned\u201D; \u201Cfix(ios): report folder copies held for access, cancel a dismissed restore, stage the copy\u201D; \u201Cfix(ios): a late copy result stays with its folder; audit the folder-failure dismiss (B4 review)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOSSupport/Services/IOSSavedOutputsDestination.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/iOSSupport/Services/IOSSavedOutputsDestination.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"757dbe38bbf663038e080be3faa58527927f46b445eeffd46500f7d3839ea8e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/SharedSupport/Database/GenerationHistoryPage.swift: Sources/SharedSupport/Database/GenerationHistoryPage.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is GenerationHistoryPageQuery.fetch at line 207), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(history): a page overtaken by a newer search waits for the read queued behind it (RF-61)\u201D; \u201Cfix(history): the CLI keeps a History row whose receipt it cannot decode, and marks it (RF-61)\u201D; \u201Cfix(history): a History over 500 entries updates its list once per search, filter or sort (RF-61)\u201D; \u201Cfix(history,delivery): a Retry during a History read still reopens the store; the diction sentence closes any base\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Database/GenerationHistoryPage.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/SharedSupport/Database/GenerationHistoryPage.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ee43858e9ac7772973ec63fc39fecf478f553901690b0f26d60b1f21486f5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Views/History/MacHistoryRecoveryBanner.swift: Sources/Views/History/MacHistoryRecoveryBanner.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is MacHistoryRecoveryBanner.body at line 19), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mac): Saved Voices\u0027 empty and error states stay inside the window; a smoke scenario opens them (BKL-15)\u201D; \u201Cfix(history): the Mac recovery notice no longer blanks the window; recovery journey passes (F-16)\u201D; \u201Cfix: Discard unblocks long-form History; damaged voice metadata stays gated (F-16, RF-13)\u201D; \u201Cfix(models,history): coordinate iPhone model removal with the engine; give damaged History records an exit\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Views/History/MacHistoryRecoveryBanner.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/Views/History/MacHistoryRecoveryBanner.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8782d534654ca64be0b7c9fabd648a338a548f2a33b5eac53a970d3c6f46d936"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Views/History/MacHistoryFileActions.swift: Sources/Views/History/MacHistoryFileActions.swift changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is MacHistoryFileActions.exportPendingAudio at line 49), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(history): Save As and the recovery export run one at a time and report a failure wherever the user is (RF-61)\u201D; \u201Cfix(history): Save As and the recovery export copy off the main thread (RF-61)\u201D; \u201Cfix(privacy): name takes and their exported copies without the script (BKL-09)\u201D; \u201Cfix(macos): PA-26 batch B3 - retry, imports, save cancel, clips, shortcuts, waveform, output names\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Views/History/MacHistoryFileActions.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/Views/History/MacHistoryFileActions.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d2a4b40078d3a96c8526c8282b1ac5c845aaac3420042f4a1f131a95ff631b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/AppStateRestorationPolicy.swift: Sources/Services/AppStateRestorationPolicy.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is QwenVoiceApplicationDelegate.anotherCopyIsRunning at line 64), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(app): the Mac app holds an engine lease while its model is loaded and reads the command line\u0027s (RF-61)\u201D; \u201Cfix(ios,engine): saved-voice errors are path-free; sweeps keep undated files (B2 review)\u201D; \u201Cfix(macos): PA-26 B3 review - deletion engine gate, per-process recordings, safe deinit\u201D; \u201Cfix(macos): PA-26 batch B3 - retry, imports, save cancel, clips, shortcuts, waveform, output names\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/AppStateRestorationPolicy.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/Services/AppStateRestorationPolicy.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7822cffec6b14d7a6641572f5e709c21112d490e31047192be912cc579f1e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/MacEngineBootstrap.swift: Sources/Services/MacEngineBootstrap.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is MacEngineBootstrap.makeEngineStore at line 26), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(app): the Mac app holds an engine lease while its model is loaded and reads the command line\u0027s (RF-61)\u201D; \u201Cfix(memory): the high-memory Mac unloads after idle and answers pressure (AUD-10)\u201D; \u201Cfix(consent): close PA-17 review gaps across apps, CLI and device lanes\u201D; \u201Cfix(core): enforce voice-cloning consent below the views (PA-17)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacEngineBootstrap.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/Services/MacEngineBootstrap.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5ecfdabc956e130491a400702806fd2041eacea39b4b90b2e85ca044f1fce9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/QwenVoiceCore/ModelDownloadDiagnosticsStore.swift: Sources/QwenVoiceCore/ModelDownloadDiagnosticsStore.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ModelDownloadDiagnosticsStore.record at line 331), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(privacy): persisted diagnostics keep typed failure summaries, not error text (AUD-08)\u201D; \u201Cfix(core): exact reuse accounting and a last-resort stream after range retries\u201D; \u201Cfix(core): retry short or failed byte ranges on their own\u201D; \u201Cfix(ios): close model management delivery diagnostics\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/ModelDownloadDiagnosticsStore.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/QwenVoiceCore/ModelDownloadDiagnosticsStore.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85be56c4a6990daa0daf6bfc7ac9c4a799885627500968bd4a65a918cd0fcef"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/Sheets/IOSVoicePreviewPlayer.swift: Sources/iOS/Sheets/IOSVoicePreviewPlayer.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is IOSVoicePreviewPlayer.play at line 61), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): PA-26 batch B4 - clone take, purchase refresh, save guards, saved outputs, private prints\u201D; \u201Cfix(ios): a capped recording releases the session; no main-actor waits (PA-21)\u201D; \u201Cfix(ios): switching voice-picker samples keeps one session claim (PA-21)\u201D; \u201Cfix(ios): one owner for the audio session; previews pause shared playback (PA-21)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/Sheets/IOSVoicePreviewPlayer.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/iOS/Sheets/IOSVoicePreviewPlayer.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca8efa2113aa93536a40ffacfa7bc1b47b0d65cc460d307788887676e7356a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/VocelloCLI/Core/Contract/CLIRequestLedger.swift: Sources/VocelloCLI/Core/Contract/CLIRequestLedger.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is CLIRequestLedger.pruneHoldingLedgerLock at line 233), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): the install preflight counts only planned bytes really held, and the ledger prunes without an id (RF-61)\u201D; \u201Cfix(cli): the request ledger keeps digests instead of script text and prunes when a request is claimed (RF-61)\u201D; \u201Cfix(cli): a store refusal never strands the stream drain; identity resolves defaults (RF-27)\u201D; \u201Cfix(cli): idempotency compares the take; the ledger fails closed; run keeps every row (RF-27)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/VocelloCLI/Core/Contract/CLIRequestLedger.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/VocelloCLI/Core/Contract/CLIRequestLedger.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ec02ef70ae147263f9cc932567beac5a0eb89a5ad1956a5f60a6f45d84ad3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/SharedSupport/ViewModels/ReferenceClipRecordingStash.swift: Sources/SharedSupport/ViewModels/ReferenceClipRecordingStash.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ReferenceClipRecordingStash.removeLegacyRecordings at line 216), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(voices): a closed review surface discards its candidate; Delete waits for long-form (F-01)\u201D; \u201Cfix(ios,engine): PA-26 batch B2 - reference import, saved voices, temp files\u201D; \u201Cfix(macos): PA-26 B3 review - deletion engine gate, per-process recordings, safe deinit\u201D; \u201Cfix(macos): PA-26 batch B3 - retry, imports, save cancel, clips, shortcuts, waveform, output names\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/ViewModels/ReferenceClipRecordingStash.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/SharedSupport/ViewModels/ReferenceClipRecordingStash.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a801137943c82989f7a65cfc3dcbd0471d46f29127e6579c111949bb19094a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift: Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is IOSPullableDiagnosticsMirror.syncGenerationTelemetry at line 119), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(privacy): persisted diagnostics keep typed failure summaries, not error text (AUD-08)\u201D; \u201CFix iOS audit correlation and retain generation evidence\u201D; \u201CRecord iPhone validation and fix playback and diagnostic boundaries\u201D; \u201Cfix: diagnose iOS generation startup failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOSSupport/Services/IOSPullableDiagnosticsMirror.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/iOSSupport/Services/IOSPullableDiagnosticsMirror.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f40fc9fc5fe8af5acaf0257370aaf11729c5aa9689223a2c6d10050754bdad"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/SharedSupport/Services/AudioPlaybackResumePolicy.swift: Sources/SharedSupport/Services/AudioPlaybackResumePolicy.swift changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is LivePreviewTakeQueue.route at line 304), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(playback): a paused or starved live preview keeps its playhead, and its resume silence leads the audio (RF-61)\u201D; \u201Cfix(player): waiting takes follow their operation, a pause holds the whole narration, and the queue is a tested value type\u201D; \u201Cfix(player): a pause holds the live preview; an operation\u0027s takes play in turn; cards adopt only their own file\u201D; \u201Cfix(ui): preserve playback ownership and compact Mac transport\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Services/AudioPlaybackResumePolicy.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/SharedSupport/Services/AudioPlaybackResumePolicy.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c90fb3792bd396528d3ff31d31d86bf78a0423d08e0cb14eb04c2236a66624"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/QwenVoiceCore/AnyTTSEngineBackend.swift: Sources/QwenVoiceCore/AnyTTSEngineBackend.swift changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is AnyTTSEngineBackend.init at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): proactive model work stops when the app stops being active (BG-01)\u201D; \u201Cfix(voices): a closed review surface discards its candidate; Delete waits for long-form (F-01)\u201D; \u201Cfix(consent): close PA-17 review gaps across apps, CLI and device lanes\u201D; \u201Cfix(core): enforce voice-cloning consent below the views (PA-17)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/AnyTTSEngineBackend.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/QwenVoiceCore/AnyTTSEngineBackend.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fec38a9b04659584a3cac0d00d6fa130985518539c9eacbef2735a4e04b582d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/IOSAudioSessionOwner.swift: Sources/iOS/IOSAudioSessionOwner.swift changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is IOSAudioSessionOwner.apply at line 127), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): every player pauses for a call or a lost output; smoke records then plays (AUD-02)\u201D; \u201Cfix(ios): PA-26 batch B4 - clone take, purchase refresh, save guards, saved outputs, private prints\u201D; \u201Cfix(ios): PA-21 review \u2014 background claims refuse, restore failure has copy\u201D; \u201Cfix(ios): a capped recording releases the session; no main-actor waits (PA-21)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/IOSAudioSessionOwner.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/iOS/IOSAudioSessionOwner.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"41822dec7ba819f73c9d1361019d0a3f142089ce2ed134cfb1abdcd531bc5e82"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/QwenVoiceCore/HistoryDeletionEngine.swift: Sources/QwenVoiceCore/HistoryDeletionEngine.swift changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is HistoryDeletionEngine.deleteSingle at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mac,history): the Mac banner sits inside the performance gate; delete warnings read in the interface language\u201D; \u201Cfix(history): a refused delete says so in the interface language; set-aside records keep their audio\u201D; \u201Cfix(models,history): coordinate iPhone model removal with the engine; give damaged History records an exit\u201D; \u201Cfix(history): a resumed clear never deletes takes saved after it (AUD-05)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/HistoryDeletionEngine.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/QwenVoiceCore/HistoryDeletionEngine.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df7585ede2e9305163222f4ffd57f82e28151cf58b67a8c64e1b123e174fd4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/privacy_scan.py: scripts/privacy_scan.py changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is privacy_scan.scan at line 100), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(hooks,ci): scan what a commit really records, judge file guards per command, route two lanes\u201D; \u201Cfix(website,privacy): center the iPhone shot again; reject armored PGP keys (B5 review)\u201D; \u201Cfix(ci): token patterns, unpersisted checkout credentials, fast ledger matrix, shallow-clone message (PA-26 B5)\u201D; \u201Cfix(privacy): persisted diagnostics keep typed failure summaries, not error text (AUD-08)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- scripts/privacy_scan.py\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":"scripts/privacy_scan.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1668a796b68e749ef5eac38d304805ee0fe7f33b2c46ecbe2f5098a7b7d76391"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOSSupport/Services/IOSStorageProtectionPolicy.swift: Sources/iOSSupport/Services/IOSStorageProtectionPolicy.swift changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is IOSStorageProtectionPolicy.apply at line 60), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): a failed 0444 restore stops startup; drafts keep only the voice ID (PA-21)\u201D; \u201Cfix(ios): startup runs storage protection off the main actor and offers Retry (PA-21)\u201D; \u201Cfix(core): a busy or untidy Saved Voice store no longer fails engine start (F-25)\u201D; \u201CFix iOS storage metadata bootstrap\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOSSupport/Services/IOSStorageProtectionPolicy.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/iOSSupport/Services/IOSStorageProtectionPolicy.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"24354c193b3d364cf98237e21a9b27980fdd580b3ed294993e2de98ac11541a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/MacStudioGenerationActions.swift: Sources/Services/MacStudioGenerationActions.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is MacStudioGenerationActions.cancelActiveGeneration at line 67), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(app): an app whose model is loaded is never refused its own take, and a refused take never starts (RF-61)\u201D; \u201Cfix(app): the Mac app holds an engine lease while its model is loaded and reads the command line\u0027s (RF-61)\u201D; \u201Cfix(macos): PA-26 batch B3 - retry, imports, save cancel, clips, shortcuts, waveform, output names\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacStudioGenerationActions.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/Services/MacStudioGenerationActions.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"082b73a25cd6cc49b25c14b6523e4430a28665006ac0660b87defd018d2d3c34"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/MacStudioSingleTakeGenerationHooks.swift: Sources/Services/MacStudioSingleTakeGenerationHooks.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is MacStudioSingleTakeGenerationHooks.generationSubmitted at line 23), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(app): an app whose model is loaded is never refused its own take, and a refused take never starts (RF-61)\u201D; \u201Cfix(app): the Mac app holds an engine lease while its model is loaded and reads the command line\u0027s (RF-61)\u201D; \u201Cfix(ui): preserve playback ownership and compact Mac transport\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacStudioSingleTakeGenerationHooks.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/Services/MacStudioSingleTakeGenerationHooks.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"710c6f857f994c43502dcc0001b0a71abc94cddebff5bd3add1d056f2bb29b6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/SharedSupport/Services/LiveStreamingPlaybackEngine.swift: Sources/SharedSupport/Services/LiveStreamingPlaybackEngine.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is LiveStreamingPlaybackEngine.configure at line 225), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(playback): a paused or starved live preview keeps its playhead, and its resume silence leads the audio (RF-61)\u201D; \u201Cfix(macos): PA-26 B3 review - deletion engine gate, per-process recordings, safe deinit\u201D; \u201Cfix(macos): PA-26 batch B3 - retry, imports, save cancel, clips, shortcuts, waveform, output names\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/Services/LiveStreamingPlaybackEngine.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/SharedSupport/Services/LiveStreamingPlaybackEngine.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a67ec4ecdb25338983f58928df88d3e8c6b18909ba636111c4d3fa041278a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/SharedSupport/ViewModels/ClipReviewPlayer.swift: Sources/SharedSupport/ViewModels/ClipReviewPlayer.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is ClipReviewPlayer.init at line 23), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): every player pauses for a call or a lost output; smoke records then plays (AUD-02)\u201D; \u201Cfix(ios): a capped recording releases the session; no main-actor waits (PA-21)\u201D; \u201Cfix(ios): one owner for the audio session; previews pause shared playback (PA-21)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/SharedSupport/ViewModels/ClipReviewPlayer.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/SharedSupport/ViewModels/ClipReviewPlayer.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5951c0368a4697611b1dffb9cf34a1aac89bf16428f0843310be387d981800"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/MacWarmupAdmissionPolicy.swift: Sources/Services/MacWarmupAdmissionPolicy.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is MacWarmupAdmissionPolicy.admit at line 115), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(app): the Mac app holds an engine lease while its model is loaded and reads the command line\u0027s (RF-61)\u201D; \u201Cfix(studio,mac,ios): keep Studio state with its take, guard mode switches, close engine-cancelled batches\u201D; \u201Cfix(memory): the high-memory Mac unloads after idle and answers pressure (AUD-10)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacWarmupAdmissionPolicy.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/Services/MacWarmupAdmissionPolicy.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6831c61954de1f07fb81e45e5e2ee1e0d6256a2653a89a2088b10d761cfc2b22"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/QwenVoiceCore/DocumentIO.swift: Sources/QwenVoiceCore/DocumentIO.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is LocalDocumentIO.importReferenceAudio at line 121), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): stage reference imports and exports instead of delete-then-copy\u201D; \u201Cfix(downloads): PA-26 B1 downloader hardening (CORE-13, CORE-14, SEC-08, SEC-16, SEC-11, IOS-20)\u201D; \u201Cfix(ios,engine): PA-26 batch B2 - reference import, saved voices, temp files\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/QwenVoiceCore/DocumentIO.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/QwenVoiceCore/DocumentIO.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a34a49e44db2eade3cd7240b5b404fa2f03946adcbb9714dd963baf03e93322"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOSSupport/Services/IOSCrashObserver.swift: Sources/iOSSupport/Services/IOSCrashObserver.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is IOSCrashObserver.didReceive at line 85), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(privacy): redact MetricKit exception reasons and keep lane precondition messages (AUD-08)\u201D; \u201Cfix(privacy): persisted diagnostics keep typed failure summaries, not error text (AUD-08)\u201D; \u201CComplete Codex takeover and engineering fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOSSupport/Services/IOSCrashObserver.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/iOSSupport/Services/IOSCrashObserver.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"686716a85fba5afa6fb7d8c6cdf6044ba4c501949c5c059ee29123cc0769296a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Models/MacGenerationDraftSupport.swift: Sources/Models/MacGenerationDraftSupport.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is CustomVoiceDraft.hasText at line 11), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make Clone conditioning an explicit reviewed input decision\u201D; \u201Cfix(studio,engine,cli): one single-take rule for CJK scripts, Auto language by proportion, typed no-audio takes\u201D; \u201CFix three defects the audit found, all of them mine (UIF-06)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Models/MacGenerationDraftSupport.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/Models/MacGenerationDraftSupport.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ec0223e36c31f60ffe0a6438c1eafb57ffbc5866843adfcaab5518e8d66c5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/Services/MacStudioSingleTakeRunner.swift: Sources/Services/MacStudioSingleTakeRunner.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is MacStudioSingleTakeRunner.start at line 46), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(studio,mac,ios): a take the engine stops for memory says so instead of vanishing (U23)\u201D; \u201Cfix(studio,mac,ios): keep Studio state with its take, guard mode switches, close engine-cancelled batches\u201D; \u201Cfix(history,studio,mac): rebase moved History audio, refuse Stop while a take is saved, surface a failed engine start\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/Services/MacStudioSingleTakeRunner.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/Services/MacStudioSingleTakeRunner.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"794aaf5003d54a0ec64e5d45f6d6a521cf5dc163b355256b269a55a3703aac35"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOS/QVoiceiOSRootView.swift: Sources/iOS/QVoiceiOSRootView.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is QVoiceiOSRootView.body at line 33), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ios): Studio drafts survive relaunch (PA-21)\u201D; \u201Cfix(ios): leaving the foreground cancels generation safely (PA-15)\u201D; \u201CComplete Codex takeover and engineering fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOS/QVoiceiOSRootView.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/iOS/QVoiceiOSRootView.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8179ee7a92f987ebeca45fad548970d84ddc6bb32c5f5bcffbdbed32666c5565"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/iOSSupport/Services/IOSSingleTakeGenerationExecutor.swift: Sources/iOSSupport/Services/IOSSingleTakeGenerationExecutor.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is IOSSingleTakeGenerationExecutor.run at line 116), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(studio,mac,ios): a take the engine stops for memory says so instead of vanishing (U23)\u201D; \u201Cfix(history,studio,mac): rebase moved History audio, refuse Stop while a take is saved, surface a failed engine start\u201D; \u201Cfix(ios): PA-15 honour accepted cancellation before the task is cancelled\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:46:44 -05:00\u0027 --until=\u00272026-11-16 22:46:44 -05:00\u0027 --full-history --no-merges -- Sources/iOSSupport/Services/IOSSingleTakeGenerationExecutor.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/iOSSupport/Services/IOSSingleTakeGenerationExecutor.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c758bb55200da2d05df30b78b5c6897822c3dc6690013a39c99704b909cc86"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision and Consequences section: docs/decisions/ios-6gb-floor-feasibility.md has no Decision and Consequences section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/decisions/ios-6gb-floor-feasibility.md"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"509b4480719f2bdf0079e864f66414f05a79dc0cf73d04a0b25e4acbf08fa761"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/decisions/product-identity-compatibility.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/decisions/product-identity-compatibility.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a386c52a50afccd3fdbaf952d5c62e2c531ca766e8c9a321f5a611787d09c0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Context section: docs/decisions/runtime-hardening-and-trust-boundary.md has no Context section (a heading such as \u0060## Context\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/decisions/runtime-hardening-and-trust-boundary.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf2933cb3eea5ec4e89cd63ce234dc66dbfd95cbf007290d394fa9d8328025f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u2014 VOICE PICKER SHEET \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u0022 repeats the code it sits on: 3 of its 3 words (voice, picker, sheet) are already in \u0060function VoicePickerSheet({ open, onClose, selected, onSelect, mode = \u0027custom\u0027 })\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c6bfcc77974ae5eefe7e482971769ce073e5d99b36ab2ae2370362f958293a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u2014 MODEL INSTALL SHEET \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u0022 repeats the code it sits on: 3 of its 3 words (model, install, sheet) are already in \u0060function ModelInstallSheet({ open, onClose, model, onInstall })\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00d11c95c790ddfdd1b7b2f8866a4974eee7a284ced2a3f76db9d590fa896a3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (214425 LoC, 1919 module-visible types across 48 directories) overshoots its size bounds. 1 of 3 build unit(s) (SwiftPM, Xcode, npm) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"QwenVoice.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1254b53c546f90047e4a89600125c008bae4456df3e10f84ac536d7e47a195"}},{"ruleId":"D28","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":"73a123ed77aa47ca4f99957c079a23fc1fa647ad3a8358c11f38c4e14fbef883"},"properties":{"commitSha":"ca36e9f73b5604318181c866931841c3e7323943"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"1064881b1494a0979eb931b13cfb0b74dbf92ef7ecd5b042ef3e895eea67bfa2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"0dc223f768bd937222d37be9fb3aa0b583a65606772436e3cad69d94bf933e69"},"taxa":[{"id":"CWE-346","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-940","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"c1a25e388ae57758c4be26d58e0a94a4d951182760201abafae4cf99ce74d5cb"},"taxa":[{"id":"CWE-346","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-940","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"206ef6734e5dcaf056bd50b348cbc8e219042e04e3428f7bbe705909ec861d16"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4256890b48997c22458a2fb29e5b4f5f2cf44971f7073e2ff8dc80e22acce66f"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52f2b0cf50a9d8cea24bda67383991b6cbd4111c38db09572c09d800226bac02"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99ad5f3a5f94dbb8d5eebe10e5761ae5a9f413cc6409aea44ce387ae3b4a646f"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: IOSGenerationModeViews.swift \u2194 IOSRecordVoiceSheet.swift: \u0060Sources/iOS/IOSGenerationModeViews.swift\u0060 and \u0060Sources/iOS/Voices/IOSRecordVoiceSheet.swift\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060b308c609\u0060 clone: a recognized transcript that does not cover the whole clip nee\u2026; \u006079113a02\u0060 fix(voices): a closed review surface discards its candidate; Delete w\u2026; \u00601560b0f1\u0060 fix(ios,engine): PA-26 batch B2 - reference import, saved voices, tem\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/IOSGenerationModeViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5242d6bf82d8f1535cc4466e065d4015ac3296d38b8c94dea1b4ffa070942ac"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MacHistoryScreen.swift \u2194 HistoryScreen.swift: \u0060Sources/Views/History/MacHistoryScreen.swift\u0060 and \u0060Sources/iOS/History/HistoryScreen.swift\u0060 change together 55% of the time (17 of the 31 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u0060ca438556\u0060 fix(history): deleting the take the player holds dismisses the player\u2026; \u00602731c8fa\u0060 fix(history): a long-form project delete deletes nothing when the pro\u2026; \u006074268123\u0060 fix(history): deleting a long-form project deletes its segments, and \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/History/MacHistoryScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8465931d1f7901d12ec8f2ce01525f25f890873c8ce50976590955110491cd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GenerationHistoryRecovery.swift \u2194 VocelloPresentationText.swift: \u0060Sources/SharedSupport/Services/GenerationHistoryRecovery.swift\u0060 and \u0060Sources/SharedSupport/Services/VocelloPresentationText.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006074268123\u0060 fix(history): deleting a long-form project deletes its segments, and \u2026; \u0060a59edb1e\u0060 fix(history): Discard says what it could not set aside; Mac regenerat\u2026; \u00608ef203e7\u0060 fix: Discard unblocks long-form History; damaged voice metadata stays\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SharedSupport/Services/GenerationHistoryRecovery.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f289759512581e796658e0b09d6587ad419c5c13b261459c0909548497f86c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MacVoiceCloningScreen.swift \u2194 IOSGenerationModeViews.swift: \u0060Sources/Views/Studio/MacVoiceCloningScreen.swift\u0060 and \u0060Sources/iOS/IOSGenerationModeViews.swift\u0060 change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060b308c609\u0060 clone: a recognized transcript that does not cover the whole clip nee\u2026; \u0060b876e29d\u0060 clone: \u0022Use audio only\u0022 on a saved voice is no longer overridden by i\u2026; \u006025192b69\u0060 feat(observability): app console prints go to Logger with public code\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Views/Studio/MacVoiceCloningScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9cbb38b0ff39e67feddb6925b99d5fcb651e516fcd3c39188e595e727b9bc1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: IOSRecordingOverlay.swift \u2194 IOSBottomSheets.swift: \u0060Sources/iOS/Overlays/IOSRecordingOverlay.swift\u0060 and \u0060Sources/iOS/Sheets/IOSBottomSheets.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060e62747f0\u0060 fix(a11y): Dynamic Type layouts, 44 pt hit regions, VoiceOver state a\u2026; \u006072d33bf1\u0060 Accessibility, a probe that outlived itself, and four touch targets (\u2026; \u00609f4e3fd6\u0060 feat(ios-ui): IUI-5 sub-wave D \u2014 D10a shared glass gate, X4\u002BD9 Dynami\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/iOS/Overlays/IOSRecordingOverlay.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11b560019a4896359ce802641b9df7333c17fa60183cdcc8a0cc363248ec0ea"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c38a8e52822b016afba954bd839078f3def4e7ceaeccc39db89a081943099b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"da747d736d1772b9a2c6e8ecbb4cbd8c7698d67843121a4dd7a7a35c5d42461b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4043fc6d28f16f8bf3252571f192101c5e8f3d251a16a4d2ecff9fba538ed3fa"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextField\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02c7047cddfe3bc8b945bcfdda56c831bc81eca68a14c514a1c11fb732af0a2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextField\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"62845dd6285b9100b863b9e4cdd320094ffd6a6bf5a39520970faca73c777aeb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextField\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e1d5d08dad2cb929c068bd5270c2578a123876eb3f27a99dd2f0caae2674d0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"325e689d983fcd19e97537c8cb858b845c2087e49f862a3e6be3fa7d3f5fc8dd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/app.jsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03cc7c935d04f7a823f4be843e4e11efb7bdfe13577b8e4edce48d99ded56b2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7052e47e4524f4318b4f98ee2d5cc1c14f593ca2a74d2571d98590676edaea"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"410f45b238694b11f0b68eea15ae601bf1667c5f44e66ec706800ae3b597229d"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1548e395d368df71fe7af3425f754264078e37d3e0d85092df7735555e5070a2"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c16cea19088994944dfef32aac95fcf228494c8ffd11bbb750973706c754710"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2759e53a491abc1e7b9a3045e98205332dc570f47ec3934b43ea08969ea96ab9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4747d15182d21446454ff9bb81397d615bf4db4fdbd39dcbb906973d8321e83f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d8efb11759513ec91c66b0474594acfd84ffc0873f2c8d95a19cb9c13ad333"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efbd52af052303f4d9889b7912f9ef702924ff3b6ba26788fb94564aa0db13d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/studio.jsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae666257e01bb42ba8a8481505e9301e0abc4f547c2b823f756630f0cc92e5a9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/tweaks-panel.jsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"66335cefbfb8bd783e1249be2b1a27a6533ecb2cc0075a601c396d568ab32faa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/tweaks-panel.jsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b54fe559bcbc95f3c826f45a7274ac1233cf7babe9b5c06ddc95aaf9210831"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/tweaks-panel.jsx"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b9096c2a51f2f803b7186fac3cc269e8adcf37c8db5c70be6c3aebd75df8c8"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/app-icon.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5f9b0250bdee97aabad2a886e3586045407eff3a00bef4b63bb24aaa44eeae"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/app-icon.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee545ac9c0a7fcc1a3f5934e5526971dedb396a49e3ae477f02c3fb6a2b958a"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/brand-launch.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"806375d7e137da3dfd189c9d3fa70c15def7e1c0b67f8199eca21ea8b08cb738"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/brand-launch.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8abb6740e5f9a463407702801f807d35e614c70b49c3bfeb9576424f6e6759"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/brand-mark.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f8bf3c4d63ed7539def33752d73ca6b5edd89831280a38de68acd5891373a6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/brand-mark.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe28d083f875689765f12616a7906db9f5cce96b63fc77dd6d6e3a9316b34962"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-brand.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac16760f64c5daefa525b31f4036e14a8d6f9c311c9d4d7a5a379a7da98cf8d9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-brand.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deed9d9acfb90882de300814ea3689c0fcb9004b99fa11b453728fb06cd65fa"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-emotion.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f11b0d4588678a4e6e8d3f59efa092120af07c93df3f190558edcbe8ce94d8"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-emotion.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca91027e0308e44c9f4d8c19391da57936daef37e05968d8382a934ca41a1f2d"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-status.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da8e3bdb1e43a8158eab3e6e9a1a36f5f44a131ed876c14e0f84c019457c081"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-status.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc52bd96bcc60a0bd49becf03c5142b640d4de509fb7fa3fc007020c1f07a38"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-surfaces-dark.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9472ba8d93d04a9ca78cd1b32e40e99e150f8fd565f70909fce7699080d3b235"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-surfaces-dark.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe40ab38f2cff91ac32c554d46ed37df463acbbc82c78aa39d1201518c9ca0c2"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-surfaces-light.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf0849bf462ddef9db2914eba2db58e58fd6b64f13f6616f645adca64a8e531"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/color-surfaces-light.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae2c30b3c7eb254c43e12ecc116e245598b422405fc17ac0023f75498048696"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-buttons.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"41837613b3c350e777a53542cdb1c87ef8593b39371e9dfa9253cb369d8d24c0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-buttons.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34af34d0f1be496bb49587cfb636b2bde128d788d4042a1df23857f93fb9d3a"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-card.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7550648361de0435afd52901beea3c21d484df757ff189383197f26c1344f7a0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-card.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae44b12d4c8362449e6adadbec24359901cc7d5b91c3068698d827af3e4e71c"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-chips.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef1691bfad2047a2eb3278b43a1e2e914ede292cc4d04fd54d866061ab410c5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-chips.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f356c2efab96347a47f50f85a9e733bb4e6e8de4912eff321802f2afddea89"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-fields.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e021523eab9f9294a227cb7d66f528d3c00c13b1342329ab8f7035f5f39849e4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-fields.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eda8389a075b9f86993a4123f1d9d7f1e0c9c977ad0ebd41af10d0e87e7ee4"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-sidebar-row.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfec42595d445928222d26f2cb5da1b1faf43e2a75293e787e86c8b00b707a1f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-sidebar-row.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"605f89cb4f1c328512b603310b1a41452f326d7444d830a58e99a64f0d3e266f"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-status.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5195b39b26f14ccf9a5b14276500817e596ecfb1a64521dc9ecfdc7ce1835d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-status.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6961514c4fdd74b2cdd826cc5be59950e1f68524df6950b2dddf28f412c89f"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/spacing-elevation.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa9b52d6ba311ee0cc95be774d22a2736e9e2e7481265b7211f648b180b9f15"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/spacing-elevation.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3cbb8129d606b032a98c4ef78a663989127659762693e64f6ae8bf6e5b30e8"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/spacing-grid.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1c1c02904387252549bdc1ab8f4c588909a6f8a15b7e79fc9fce00b116fef5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/spacing-grid.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"03130dbaf417ad2fb0efad7cc2f2fdd02d6155ebba1d1113f3a7534b526835ee"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/spacing-radii.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5bb50238bf170a28f9645e1d136ca4b5eb932000735ab7039f0b06ac8490fa"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/spacing-radii.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b79e48e0c5270713a2bc0844a8ad4108d9f346d84dbd957f5559c047932426"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/type-scale.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4b2f8516e68e3cd9f3496b049f144c609cb4402e6d240f2841d4537daecd76"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/type-scale.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acf2b9f69b140a84a9efe9cb5b0c0702f44d3b34dda75ffa2ffd7a9b563531c"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/type-specimens.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad8f121ffb659df9a42d2037ec7d744bd09208d623b21d3f7e1ef24f2051f6f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/type-specimens.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dbea6a63e81ea62466dd54650c2dffa584f682ee18df601919903ea9ed9ad9"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/type-wordmark.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b3f6e34d0a08da97a6cc511436af8b6187e3e90a1e9fb5db4fa559678f13b7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/type-wordmark.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa7e5e6cc3cc0c7c3677de45522bfb25a5fcd0d6ea62eecb72b8e9cf2c772f1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd919cd1dbc89b8b6d3a983d5b3ca25918adf9e05b8ddbd70b5d91b5cf20bd49"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/sections/CommandLine.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5584d32f3ae0c9476ec21d9999464a39862843104f0256a13719c95d8a386c7"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-buttons.html"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2c0810f4ef4d0b8249558cfde3aa17e33dbbb07eb082e2ad5c89061fb2bcf8"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-buttons.html"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a9dc8412d6b6cdce29e1754f124b790c5131e1cc28599668f12dfd152e53a3"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .vc-player-scrub with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/player.jsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bd35ff687f5e0d77f850cf579638f933d50a2a313cd1057592cdb5f6bcd0af"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5418569aeca94e20948ffcc12809fedae6cd5ec1d6b02da13017b9497826a625"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .vc-list-row with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2930906b5ea0a7f2d8cd028af5b4bc77a2abf463c2be4149c477bd64b1d73b1c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"057c5d83bab27aa2da1358748b44ee3530e3389ad2eaa8a38da90ee669c457ab"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .vc-list-row with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"04434d19a6ec4abe0f42bbae6aa0458c13f394c71af7326e72f4def94909c4a1"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .vc-list-row with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebebabaab514b3d19e65e0375f13caaf8d3d741913739dd59bcbfbfc8733186"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .vc-list-row with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7852fd47bccdaf523564bc35765c0ac61a06bbf14ed392ec8ed206fecbc815"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb1a7e39e34c296f5a780cfbeea067e30ebeeae927a8e86101d4073988acfc2"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .vc-list-row with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"165ce5af8a124c32e82d102e5fa6c17b100ac4a2fb2dda4f8e1640764379c343"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4ccc098309015b6c135e026a19726a8c909a3766df22b6446bd6aa1ca8077c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c9f628cc6efd52ce3b17f6bfbe0986786586759e556f56425845a95ea229a9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.0:1): \u0060.item.selected.lavender .rail, .item.selected.lavender .icon\u0060 sets color: #BFAADB on background-color: #BFAADB \u2014 1.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-sidebar-row.html"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f589552d16bea6d0cc492f7757bbbf5a13b3c4bc03005ee7cc23f6498f50d101"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.0:1): \u0060.item.selected.terra .rail, .item.selected.terra .icon\u0060 sets color: #DBA887 on background-color: #DBA887 \u2014 1.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/preview/components-sidebar-row.html"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c878145392cd50c0786907570157cc97ae5a6b85fea1e4b61ff931552a6be78c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f9932e61b3f76e37d697a0a887d167ed1378a440a07407ee5f68c5ca410394"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3b6bb3ac0b36f415e269442113e8232c5574371eb60281aaf842e54ab46ae6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6830d242fce0def29f7e7820804f6f89490a4133e233ea7df7b77910d43cefc8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/app.jsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e973e6c1591d118fd281125fd2d6d760c1fc67fb41cac3b4d8b19fa63b92a3f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f3bd14b5fc136e2eb0b46b99c598a4bd0350395e141ab3f9a3e56f48b0e2d5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.vc-script\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/app.css"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cbc9f87c3249865f0da7b93c64a853c2ba808e58b2edb9b95eed8da259cd60"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.vc-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/app.css"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c4ec47bbb18d3842faeb096ad6392221dc103689e0e93e6023e356a3152ec8"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TTSEngine (24 requirements): \u0060TTSEngine\u0060 declares 24 requirements: \u0060supportDecision\u0060, \u0060start\u0060, \u0060stop\u0060, \u0060initialize\u0060, \u0060ping\u0060, \u0060loadModel\u0060, \u0060unloadModel\u0060, \u0060prepareAudio\u0060, \u0060ensureModelLoadedIfNeeded\u0060, \u0060prewarmModelIfNeeded\u0060, \u0060ensureCloneReferencePrimed\u0060, \u0060cancelClonePreparationIfNeeded\u0060, \u0060cancelProactiveModelWork\u0060, \u0060generate\u0060, \u0060listPreparedVoices\u0060, \u0060preparePreparedVoiceCandidate\u0060, \u0060commitPreparedVoiceCandidate\u0060, \u0060discardPreparedVoiceCandidate\u0060, \u0060enrollPreparedVoice\u0060, \u0060deletePreparedVoice\u0060, \u0060importReferenceAudio\u0060, \u0060exportGeneratedAudio\u0060, \u0060clearGenerationActivity\u0060, \u0060clearVisibleError\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/TTSEngine.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f48f09a2aab625bb7265ffb8bba459fb4d4a874d1cc04b37c341f7cf8009e8"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: Instant: \u0060Instant\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/QwenVoiceCore/TimingExtensions.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9cac2122675593eb7a1f69b52611b60c23b79e7a846304c06279725e1ca894"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 15 plain JS \u2014 the untyped files are design_references/Vocello Design System/ui_kits/mac-app/Card.jsx, design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx, design_references/Vocello Design System/ui_kits/mac-app/LibraryScreens.jsx, design_references/Vocello Design System/ui_kits/mac-app/Sidebar.jsx, design_references/Vocello Design System/ui_kits/mac-app/icons.jsx, design_references/Vocello iOS/app.jsx (\u002B9 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (5 clone groups): 5 duplicated blocks under design_references/ have copies in at least two of the sibling directories Vocello Design System, Vocello iOS \u2014 2 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/icons.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b5fa35a82ba974b6b525c0d2976f914b2bed4c61121c34b6e988f2e577ad87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:232 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:306 \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":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47ff498ee2e0fff26d1df8111965f492c18c64abc18d567940a65ccdf5524be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): design_references/Vocello iOS/screens.jsx:36 \u00B7 design_references/Vocello iOS/screens.jsx:76 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e215d869259915c3f9b1d215f9513048b6db434491b0510e498704917e8c024d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:437 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/LibraryScreens.jsx:234 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94cb60ec613d8be3e59609ff5d930500c3b220166169a36e56d6cad197c4e6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): design_references/Vocello iOS/studio.jsx:79 \u00B7 design_references/Vocello iOS/studio.jsx:105 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/studio.jsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc23c89a573f20c5e2fea351ca480c2a3b1b09900587931aae9f4eb7528016ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:191 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:276 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:337 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"603b6c2748d769f615136412db2dafc295aabc737bf85118c3f388d4e84cabc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): design_references/Vocello iOS/icons.jsx:84 \u00B7 design_references/Vocello iOS/icons.jsx:104 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/icons.jsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"565f4b6c7fd84ab9076cfb7c3d1d7bd28bf77c222c40d893c1b6fe1e43eec0b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): design_references/Vocello iOS/tweaks-panel.jsx:403 \u00B7 design_references/Vocello iOS/tweaks-panel.jsx:469 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/tweaks-panel.jsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95e596faa07abf28a7b83ff07d9d1f56eb38aa0a67783cf1b316576a2126b44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:282 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:343 \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":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dad0870bb3e38cb7de02f4d6ab1f75a67b2d221c3c413b348f5648aeaa93d9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): design_references/Vocello iOS/player.jsx:59 \u00B7 design_references/Vocello iOS/tweaks-panel.jsx:393 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/player.jsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5500ca7e67b59876baabfdc265a187332a5227c5de4fd949121373c155004561"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): design_references/Vocello iOS/screens.jsx:16 \u00B7 design_references/Vocello iOS/screens.jsx:126 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ea0023d63d370223bd21cb9d187c582db189e182b6a3707e68d7c3876cabeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): design_references/Vocello iOS/screens.jsx:290 \u00B7 design_references/Vocello iOS/screens.jsx:309 \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":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed67fd26d75cb196c88b032de6cbf949e47e17f18a8ac15df4af1bad93cbfcb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:207 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx:296 \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":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb452bbe95229604d0609d963c2509cc9799538607119d2f5d8c82ad2bd0097"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): design_references/Vocello Design System/ui_kits/mac-app/icons.jsx:80 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/icons.jsx:95 \u00B7 design_references/Vocello Design System/ui_kits/mac-app/icons.jsx:142 \u00B7 design_references/Vocello iOS/icons.jsx:117 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/icons.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"017a53ef1baa1449375f696cc50e212f1f7f56ae0bbb2995644b2f93cc1cf0e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): design_references/Vocello Design System/ui_kits/mac-app/icons.jsx:104 \u00B7 design_references/Vocello iOS/icons.jsx:71 \u00B7 design_references/Vocello iOS/icons.jsx:129 \u00B7 design_references/Vocello iOS/icons.jsx:137 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/icons.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d405583f94402cff6a82f97bc18f94234e0442b0ce04908d7d4e155994c69d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): design_references/Vocello iOS/app.jsx:319 \u00B7 design_references/Vocello iOS/screens.jsx:218 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/app.jsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead191f6939353f340cd490de018e7fba364368236c7614d238004bea476d981"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): design_references/Vocello iOS/icons.jsx:70 \u00B7 design_references/Vocello iOS/icons.jsx:83 \u00B7 design_references/Vocello iOS/icons.jsx:103 \u00B7 design_references/Vocello iOS/icons.jsx:116 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/icons.jsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dda79eada59d677ec8af9babab9b4163fc6daad3678e493aaf2c9190bb0ef3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): design_references/Vocello iOS/screens.jsx:28 \u00B7 design_references/Vocello iOS/sheets.jsx:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"875afd312a42fa8a6376c295d40f864f827fb2b5c680edf6ea4ea8c48aae94b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): design_references/Vocello iOS/icons.jsx:101 \u00B7 design_references/Vocello iOS/icons.jsx:114 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/icons.jsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"407238f99f76ecee95bc89e209fed3bfa0107885a1ee32e4ca8f22db9a05c4ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): design_references/Vocello iOS/player.jsx:48 \u00B7 design_references/Vocello iOS/studio.jsx:231 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/player.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b085c40bed8440c0c2506fb85975e39878d270014798252e54022b3583227b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): design_references/Vocello iOS/screens.jsx:360 \u00B7 design_references/Vocello iOS/sheets.jsx:296 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bf605dd50e44e6982c35770aaee2954dd13fd9feb84fcdd7972007fbe0bc2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Studio (cyclomatic 32, cognitive 28): Studio has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/studio.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cdc31bb5ab32125a169b30ccd6dbdd5ee5d33d9a56ab253189c29ca859acb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VoiceCloningScreen (cyclomatic 13, cognitive 12): VoiceCloningScreen has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b756eca707877a4a395aaa8e46344ddb25d489033d9faad734267f10126b293"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VoicePickerSheet (cyclomatic 13, cognitive 10): VoicePickerSheet has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc65fe4839891cf13e796cac5793a0cf54f09064b5cf6665f89949ac5d2a8fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomVoiceScreen (cyclomatic 12, cognitive 11): CustomVoiceScreen has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da15b456c9a321c3a532dc97e7dfe89ee3c2741ed1a247a142c00fe67a4dbb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 12, cognitive 11): App has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/app.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bd161d640c753623af4ee05008b594e4fd999a73c34beef10ff2c66365377d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelInstallSheet (cyclomatic 11, cognitive 9): ModelInstallSheet has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/sheets.jsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3fb605ee7cc96ef941b97e8209098b7fb1d6f7b03cfdc8021c122b65930b43"}},{"ruleId":"R3","level":"warning","message":{"text":"design_references/Vocello iOS/tweaks-panel.jsx: 530 lines of code: design_references/Vocello iOS/tweaks-panel.jsx has 530 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/tweaks-panel.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"709788c8539472797197c3a8bba721b99a2f8ac8ab956f9a327d12f962f7d587"}},{"ruleId":"R3","level":"warning","message":{"text":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx: 516 lines of code: design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx has 516 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello Design System/ui_kits/mac-app/GenerationScreens.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b97fd4876d45eae0707dfdab4d56d43f3ca7bc69493d13e7a3eabe85d0eee1"}},{"ruleId":"R3","level":"warning","message":{"text":"design_references/Vocello iOS/screens.jsx: 432 lines of code: design_references/Vocello iOS/screens.jsx has 432 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/screens.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b81f4877b0a1170c2a520c2d61d6c915302c47244c8ef98ed0f0c0c2656ab9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~338 LoC): no import path from any entry point (14 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/ios-frame.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c143f6fd66da4231a8ecf8929f5e401e4ba0722cf8bd6753aec3a4b884096423"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: Content-Security-Policy, Permissions-Policy, Referrer-Policy, X-Content-Type-Options, X-Frame-Options. Missing: Strict-Transport-Security \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each. (\u22120.5 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad7b6bd6965a886456f18dbf9fcebc661a7b6bc17f9a4ae54eda1d524a20326"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022error\u0022 in instructed_metrics or \u0022error\u0022 in neutral_metrics\u0060 appears character-identically in 2 files \u2014 scripts/bench_delivery_prosody.py, scripts/delivery_quality_gate.py. 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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c495b8bf35b9becc328c47f61116a433bea60645dfe2f52867cd20cad22628"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_number(underruns) and underruns \u003E max_underruns\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9ada0b5cc947a83c1147c6103f67d5982a69b3b6bd485ed2eb79b496ceaf6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.size == 0 or a.shape != b.shape or a.ndim != 1 or not np.isfinite(a).all() or not np.isfinite(b).all()\u0060 appears character-identically in 2 files \u2014 scripts/qc/features.py, scripts/qc/fidelity.py. 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":"scripts/qc/features.py"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c28b30aee1a99359e57366a2b3b5a10f007d80489de98c630bec83316ff58ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.evidence_manifest and args.evidence_manifest.exists()\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2a6fd182e84b6e388b2c9c57d2f0785353ba04418391c7ac04fa56d1820a65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.evidence_manifest and not args.build_provenance\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0822379c41211075b190b2375cd9f5fb8703a41b1c67bf8a929c06ab5b36bf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.evidence_manifest and not args.crash_delta_passed\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1ca9ad52feb6c6703eb6ce830cf69a12697deac362653edeae459b5195cf69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b[\u0022endEpochMS\u0022] \u003E start and b[\u0022startEpochMS\u0022] \u003C end\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa334af756ac6d6bedeb6c2c7832880b9d445ddea72d7957300626d36615002"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backend.get(\u0022stages\u0022) or engine.get(\u0022stageMarks\u0022) or summary.get(\u0022stageMarks\u0022) or []\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05a0465e9c980a7519da4940e30e0fbbe06aa45296cc5b64e8b76762bb1f97b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backend.get(\u0022stages\u0022) or row.get(\u0022stageMarks\u0022) or summary.get(\u0022stageMarks\u0022) or []\u0060 appears character-identically in 3 files \u2014 scripts/benchmark_memory.py, scripts/lib/rtf.py, scripts/publish_benchmark_history.py. 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":"scripts/benchmark_memory.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"357660e6f7f63dafab5ae02280158d732a91742bf8b968832f6416225d94b03c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.audio is None or context.audio.size \u003C common.SAMPLE_RATE // 10\u0060 appears character-identically in 4 files \u2014 scripts/qc/runners/qwen3_asr.py, scripts/qc/runners/wav2vec2_phones.py, scripts/qc/runners/whisper.py, scripts/qc/runners/zipa.py. 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":"scripts/qc/runners/qwen3_asr.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3bd54f1164eefdfec3e017d0217498773331fbbe37815442d68deed3a48a2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device == \u0022mps\u0022 and not torch.backends.mps.is_available()\u0060 appears character-identically in 2 files \u2014 scripts/qc/runners/fcpe.py, scripts/qc/runners/redimnet.py. 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":"scripts/qc/runners/fcpe.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105996df66c3cabd322b5f0c76ec108722f507112607c5e361f51d8bdd58bc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exact_model_variant(model_identity, row) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab98dc4284aaa7f999d972ac0503c8d3f20b6585ed38505766f49a380724b17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frontend[\u0022playbackChunksReceived\u0022] \u003C= 0 or frontend[\u0022playbackStartBufferedChunks\u0022] \u003C= 0\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4a2c495ecfc014174ba2efeba96440734b9032ce0e325ed3f682be435a8906"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gap_ceiling is not None and summary[\u0022maxGapMS\u0022] \u003E gap_ceiling\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbab1bb80e231db14a9963fdd282ca15099313f5f5fbd06fad6d204f68753b39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060handle.getnchannels() != 1 or handle.getsampwidth() != 2\u0060 appears character-identically in 2 files \u2014 scripts/ios_startup_reliability.py, scripts/quality_screen.py. 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":"scripts/ios_startup_reliability.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eedf47bb240c548f182ff55b827f8415d47cb55f308aade92a8a21f20f95ea5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hitch_ceiling is not None and summary[\u0022hitchTimeMSPerS\u0022] \u003E hitch_ceiling\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"056cfcf5fb499e5778e1c2acdb37d91ec3bd5023e59aab95b37cb0e83d35124a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identity.get(\u0022resolvedModelID\u0022) or row.get(\u0022modelID\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc9f28cfa95ebc8fca972b01f9ee7b3033ef3297ae150948b7e4a13f9aca401"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(mark, dict) and mark.get(\u0022stage\u0022) == \u0022memory_trim\u0022\u0060 appears character-identically in 3 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py, scripts/publish_benchmark_history.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e1450bb231faac4c915d0ec93a28daf51c5698cec855d0ccc652e91d0986fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(profile, dict) and profile.get(\u0022platform\u0022) == platform and profile.get(\u0022canonical\u0022) is True\u0060 appears character-identically in 2 files \u2014 scripts/public_facts_contract.py, scripts/publish_benchmark_history.py. 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":"scripts/public_facts_contract.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b75be98d078f111f235f5054e41b104fd06ea6098b47ad6f9fd1e926f158d7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(provenance, dict) and isinstance(provenance.get(\u0022activeOverrideKeys\u0022), list)\u0060 appears character-identically in 2 files \u2014 scripts/auto_language_check.py, scripts/publish_benchmark_history.py. 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":"scripts/auto_language_check.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"63709e6079b30a80536308f39077f1304ec385fb6dd2438a2b82fed323d63a64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(reuse, str) and reuse.strip()\u0060 appears character-identically in 2 files \u2014 scripts/qc/calibrate.py, scripts/qc/fit.py. 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":"scripts/qc/calibrate.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bcbc7d265f9f06604470459a798f3b75c39a167794810d5cd9d51a9d18e19c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, (int, float)) and not isinstance(value, bool)\u0060 appears character-identically in 7 files \u2014 scripts/benchmark_history.py, scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py, scripts/check_marking_peak_equality.py. 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":"scripts/benchmark_history.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"434a7ad7e43bd016eca9abe5385da404c0b8a816096efe131b23375c55cde7c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, (int, float)) and not isinstance(value, bool) and math.isfinite(value)\u0060 appears character-identically in 6 files \u2014 scripts/benchmark_history.py, scripts/prosody_quality_gate.py, scripts/qc/acoustics.py, scripts/qc/assessment.py. 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":"scripts/benchmark_history.py"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bf7bff76cc2635e046b774cd5448c65c0ef190af29d0042aaa70fb1568e3ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, bool) or not isinstance(value, (int, float))\u0060 appears character-identically in 5 files \u2014 scripts/ios_memory_field_report.py, scripts/language_bench_evidence.py, scripts/lib/audio_qc.py, scripts/lib/rtf.py. 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":"scripts/ios_memory_field_report.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f63e7573aca4fd1ef2ee054ba5024e115f1cbe51de6dc6e4b3224a1016d4b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, bool) or not isinstance(value, (int, float)) or not math.isfinite(float(value)) or value \u003C 0\u0060 appears character-identically in 2 files \u2014 scripts/lib/trace_cpu.py, scripts/lib/trace_intervals.py. 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":"scripts/lib/trace_cpu.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e9b9927827d38e5bd713dede341d29b1e4820cf2a4807d8beba54a7c4663a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, bool) or not isinstance(value, int) or value \u003C 0\u0060 appears character-identically in 3 files \u2014 scripts/check_language_output.py, scripts/check_macos_ui_bench.py, scripts/publish_benchmark_history.py. 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":"scripts/check_language_output.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1068600c80101c00d7d2e45447390152e13f3e2fcafa2b2d3975593eb1907489"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, bool) or not isinstance(value, int) or value \u003C= 0\u0060 appears character-identically in 3 files \u2014 scripts/benchmark_memory.py, scripts/check_macos_ui_bench.py, scripts/language_bench_evidence.py. 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":"scripts/benchmark_memory.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2e21ef7d05cfb2e9c08de887426392263947dc637722c5134bf24adca029d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, int) and not isinstance(value, bool)\u0060 appears character-identically in 3 files \u2014 scripts/auto_language_check.py, scripts/benchmark_history.py, scripts/cli_contract.py. 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":"scripts/auto_language_check.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21437ba91f8c0c18e43214f0b444a723c049931dd1de92ded736103e302f14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line and not line[0].isspace() and not line.lstrip().startswith(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/swift_dependency_snapshot.py, scripts/swift_dependency_updates.py. 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":"scripts/swift_dependency_snapshot.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83f0f6336e5ff3c4d694590c62ceaef331031530cd4c94b50fe7a9c74414d1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lock.get(\u0022version\u0022) not in (2, 3) or not isinstance(pins, list)\u0060 appears character-identically in 3 files \u2014 scripts/entitlement_contract.py, scripts/swift_dependency_snapshot.py, scripts/swift_dependency_updates.py. 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":"scripts/entitlement_contract.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"623a5cd8b21825e1bdc2a2f48ac0f9e3386072a5f9def44dbd727380482a2b0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_identity.get(\u0022artifactVersion\u0022) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"59de2cfa8eab0c929afbba1af320c9d164770297211a6180c0d3e688f7a35d8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_identity.get(\u0022fixtureDigest\u0022) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf026bc563e6e901e41388bf9fb8f3bc58914874b35f7e00e90245e2d5f0650"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_identity.get(\u0022huggingFaceRevision\u0022) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03918aa67c2cbab1cb72856a6e532d051f649ef312fbfc0f41fa0be79ab94ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_identity.get(\u0022integrityManifestDigest\u0022) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6ba24af3db273a6a35e5e4ad0b0db1b7124124576f23bc3f9dfe6b5fa2d39b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_identity.get(\u0022modelRepository\u0022) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5d4ddd3bb468eef638598136e1d213a319b6f12ff476e3a30d6df5856a3735"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_identity.get(\u0022quantization\u0022) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"473ed36a8aa137dc01e59c7f8a83b44d1756222713d4208cffe55ce6cbd54fe3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_identity.get(\u0022runtimeProfileSignature\u0022) or row.get(\u0022modelID\u0022) or \u0022not-applicable\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"a023abdd89ab7c9b134648164bc141fce51353c62b2b0bb90839350242853272"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.lower().startswith(\u0022vm\u0022) or \u0022vm-tracker\u0022 in name.lower() or \u0022vm_tracker\u0022 in name.lower() or \u0022virtual-memory\u0022 in name.lower() or \u0022virtua\u2026\u0060 appears character-identically in 2 files \u2014 scripts/benchmark_history.py, scripts/publish_benchmark_history.py. 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":"scripts/benchmark_history.py"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fcd72fae5cc7a91ddfd20d36151a4d530e17fef64441480dba745ed4a2c9ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not _number(environment.get(\u0022uptimeSeconds\u0022)) or environment[\u0022uptimeSeconds\u0022] \u003C 0\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e08b76fa29650d9a33c34a14af53629722d6140382adc023a6970de0c21ac93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not _number(frontend.get(key)) or frontend[key] \u003C 0\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c858f18ac6d2eef8bd56f7eee487759e60036a669ae19ef0b78ae8fd1e21f5fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not _number(resources.get(key)) or resources[key] \u003C 0\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0472d1b076e4e2944554fee110023222ff2e38478bd81e686d6357f56f9dde04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not _number(summary.get(key)) or summary[key] \u003C 0\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8afef98f0684c9a5757696e1026f35af1559d86aeb1da5577c7d35f750c7a58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not _number(summary.get(key)) or summary[key] \u003C= 0\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2914d3ceddb6ce1219d637bea64f9c3b65e7d41605173977f9a883711d8200e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(audio_qc, dict) or audio_qc.get(\u0022verdict\u0022) != \u0022fail\u0022\u0060 appears character-identically in 2 files \u2014 scripts/ios_startup_reliability.py, scripts/voice_identity_language_reliability.py. 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":"scripts/ios_startup_reliability.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"2192a3b7f95c5e801e4575ec33493b51c8d9a68f429b269e53d1acb10720ef6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(confirmatory, list) or not set(confirmatory) \u003C= set(EXPECTED_SCENARIOS)\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"271d97d8f6b589c5f85b9489b79d5db8c92f352f360cd94115bf8eb27de99430"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(contract, dict) or contract.get(\u0022schemaVersion\u0022) != 1\u0060 appears character-identically in 3 files \u2014 scripts/build_cleanup.py, scripts/check_macos_ui_bench.py, scripts/lib/storage_preflight.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d237581f161fc322e04897254b0cca127099513e55ff56a3b65bc6b4911fd8a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(count, int) or isinstance(count, bool) or count \u003C 1\u0060 appears character-identically in 2 files \u2014 scripts/ios_startup_reliability.py, scripts/localization_contract.py. 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":"scripts/ios_startup_reliability.py"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b078d53129d2e15999423e3be3adf75c636339d02e85aa772e0be302102748"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(digest, str) or re.fullmatch(r\u0022[0-9a-f]{64}\u0022, digest) is None\u0060 appears character-identically in 4 files \u2014 scripts/bench_delivery_prosody.py, scripts/language_bench_evidence.py, scripts/localization_contract.py, scripts/publish_benchmark_history.py. 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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"52389637f0dcbd557b5a191086c78a2a89501a6371cb6318f14ce2adaf3341fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(entries, list) or not entries\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/runtime_security_contract.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc8511f984e20e96a7cf3842cf1aa06f33ce62af9f109bc6d0fbadc2a11b447"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(environment.get(\u0022freeStorageBytes\u0022), int) or environment[\u0022freeStorageBytes\u0022] \u003C 0\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"56be516621a808704cf7a28be2dd7508aecf0fb489ede94c54e5c507c0f72509"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(expected, list) or not isinstance(results, dict)\u0060 appears character-identically in 2 files \u2014 scripts/release_evidence.py, scripts/required_step_ledger.py. 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":"scripts/release_evidence.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee3ebe0f2dbc216dcff8a48fc9f00ac0a9c9b55f394686638aaf67bc765901c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(files, list) or not files\u0060 appears character-identically in 2 files \u2014 scripts/model_catalog_contract.py, scripts/model_host_availability.py. 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":"scripts/model_catalog_contract.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52a3883380d52c6ec928b50bd1fd48ff4d66ab4d8ddbce43268e493a0301cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(generation_id, str) or not generation_id\u0060 appears character-identically in 8 files \u2014 scripts/bench_delivery_prosody.py, scripts/benchmark_memory.py, scripts/check_ios_smoke_acceptance.py, scripts/check_ios_ui_benchmark.py. 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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45475357aae441a5ac1236b0ff6f19c491e7e5d9f0e66d83cfc5b8c533b1b7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(groups, dict) or not groups\u0060 appears character-identically in 2 files \u2014 scripts/audio_qc_calibration_takes.py, scripts/language_bench_evidence.py. 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":"scripts/audio_qc_calibration_takes.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3082d71f908a22470b302a69b50b51e9b122d7853f5522db89623cfef7c1df0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(identifier, str) or not identifier\u0060 appears character-identically in 2 files \u2014 scripts/cli_package.py, scripts/verify_ios_release_artifacts.py. 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":"scripts/cli_package.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13521b9557fc9afbee6d5eb2455593edf73e22245ccdfabc23114af32c26919"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(identity.get(\u0022artifactVersion\u0022), str) or not identity[\u0022artifactVersion\u0022]\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"925853a75708aed89a932547dfe65a17f181b71b9e0d69cb91ae831d14ecbe12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(identity.get(\u0022modelRepository\u0022), str) or \u0022/\u0022 not in identity[\u0022modelRepository\u0022]\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed29e0a9d13459a77f898e90f0d324619c6c17460c896ce3584b28bfa99cbbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(identity.get(\u0022runtimeProfileSignature\u0022), str) or not identity[\u0022runtimeProfileSignature\u0022]\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eaecfb538085242e407de2b130e70b4ccc102a583baf88c0478b6f7e62cc52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(languages, list) or not languages\u0060 appears character-identically in 2 files \u2014 scripts/audio_qc_calibration_takes.py, scripts/publish_benchmark_history.py. 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":"scripts/audio_qc_calibration_takes.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2951b18079ba80544e9ce4b4f8f8a22e19c0fd67c4283bf2c9ec519feeab7019"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(models, list) or not models\u0060 appears character-identically in 2 files \u2014 scripts/model_catalog_contract.py, scripts/model_host_availability.py. 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":"scripts/model_catalog_contract.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"884a6d652fdcc52ec41e9ee3925e20f9fa70e4dcfcacd57fc4b3da9d27f17429"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(output, dict) or output.get(\u0022readableWAV\u0022) is not True or output.get(\u0022atomicPublish\u0022) is not True\u0060 appears character-identically in 2 files \u2014 scripts/benchmark_history.py, scripts/summarize_generation_telemetry.py. 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":"scripts/benchmark_history.py"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5af464e57dfb12a26ef6b33c52e8f2c0adc68e997b23aa89edc1b336c84e39d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(payload, dict) or payload.get(\u0022schemaVersion\u0022) != 1\u0060 appears character-identically in 2 files \u2014 scripts/ios_storage_protection_policy.py, scripts/lib/build_provenance.py. 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":"scripts/ios_storage_protection_policy.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7527257ca60294d5423fbc56a921140b5718f167c175c7a5a9a36253f26b5c00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(pin, dict) or not isinstance(pin.get(\u0022identity\u0022), str)\u0060 appears character-identically in 2 files \u2014 scripts/entitlement_contract.py, scripts/swift_dependency_updates.py. 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":"scripts/entitlement_contract.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee736b51d4682ace8e42566827a9ce66f7a55591f53519a1f12d9e12c9bd4bcf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(policy, dict) or policy.get(\u0022deviceClassForced\u0022) is not True\u0060 appears character-identically in 2 files \u2014 scripts/benchmark_history.py, scripts/lib/lineage_identity.py. 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":"scripts/benchmark_history.py"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8191f80400daa47f4fa53ae3ef7adec4e88cbc51546c7662df210e2bbb0c699"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(prompt_digest, str) or len(prompt_digest) != 64\u0060 appears character-identically in 2 files \u2014 scripts/check_language_hints.py, scripts/check_language_output.py. 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":"scripts/check_language_hints.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d37495c192aea9f2b4cdc23d442fdb6800e7586cb66e0f628ff3fb7e0044b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(reason, str) or not reason.strip()\u0060 appears character-identically in 3 files \u2014 scripts/quality_promotion.py, scripts/qwen3_core_contract.py, scripts/validate_backend_risk_spine.py. 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":"scripts/quality_promotion.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa789336203b04fd91c96db470b99fcbf85fd3929b6e5a508a612e76dcd3350"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(run_id, str) or not SAFE_ID.fullmatch(run_id)\u0060 appears character-identically in 2 files \u2014 scripts/language_bench_evidence.py, scripts/voice_identity_language_reliability.py. 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":"scripts/language_bench_evidence.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5258fa558841619b94708ac499d72dcdeed4f11a698e78940e657c251f6b8a31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(run_id, str) or not run_id\u0060 appears character-identically in 2 files \u2014 scripts/bench_delivery_prosody.py, scripts/summarize_generation_telemetry.py. 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":"scripts/bench_delivery_prosody.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d49a257773ff9dda36c586086c213f0f307bda372dcc6923504e493f5dc0e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(script, str) or not script.strip()\u0060 appears character-identically in 2 files \u2014 scripts/ios_control_audit.py, scripts/qc/language.py. 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":"scripts/ios_control_audit.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b312536ef20a38699ce266a5554ce2f6fc2e6d2e19a6bf617bfd6a81ec0daf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(state, dict) or not isinstance(state.get(\u0022version\u0022), str)\u0060 appears character-identically in 2 files \u2014 scripts/entitlement_contract.py, scripts/swift_dependency_updates.py. 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":"scripts/entitlement_contract.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d289283ca803b0e21a4b2b09c43125e29c6fbb1831d3c0c3d91dcb1d71b03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(take, dict) or not required.issubset(take)\u0060 appears character-identically in 2 files \u2014 scripts/auto_language_check.py, scripts/ios_startup_reliability.py. 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":"scripts/auto_language_check.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf38286afee857e3bd0cee1e99b21219e72e6de156284a9697fcbddd740a02aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(take, dict) or take.get(\u0022takeIndex\u0022) != index\u0060 appears character-identically in 2 files \u2014 scripts/publish_benchmark_history.py, scripts/summarize_generation_telemetry.py. 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":"scripts/publish_benchmark_history.py"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafc1fe2114ee63ba3d92e5324acdd13c77c9515a6cdd2e9b03939459980e2da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(takes, list) or not takes\u0060 appears character-identically in 2 files \u2014 scripts/auto_language_check.py, scripts/bench_delivery_prosody.py. 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":"scripts/auto_language_check.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b4c88e1728912473e442fe570c69bba6a286007aca8578b196227c0805c941"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, int) or isinstance(value, bool) or value \u003C minimum\u0060 appears character-identically in 2 files \u2014 scripts/benchmark_memory.py, scripts/qc/fit.py. 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":"scripts/benchmark_memory.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ba8a8d62c9f54b475debd0175b9824b9d9a574de8b217b63cea5faeeee83bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not DIGEST.fullmatch(value)\u0060 appears character-identically in 2 files \u2014 scripts/qc/qualification.py, scripts/release_evidence.py. 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":"scripts/qc/qualification.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacd443cecfcb514a1aa5217a5f0a31506b7171d07161f72632111e11dd37740"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not value or value.startswith(\u0022/\u0022) or \u0022..\u0022 in Path(value).parts\u0060 appears character-identically in 3 files \u2014 scripts/entitlement_contract.py, scripts/release_evidence.py, scripts/required_step_ledger.py. 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":"scripts/entitlement_contract.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"12788f5638ecc06d757eeff6d6f24e22bc32547e61c69599353a1880925966f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not value.strip()\u0060 appears character-identically in 3 files \u2014 scripts/localization_contract.py, scripts/qc/qualification.py, scripts/support_contact_contract.py. 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":"scripts/localization_contract.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"075e33d53678178d09183d835413c9d77865ab5577da9a4eb89f9aa58b836ad3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(variants, list) or not variants\u0060 appears character-identically in 2 files \u2014 scripts/check_delivery_instructions.py, scripts/required_step_ledger.py. 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":"scripts/check_delivery_instructions.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"59629fe9316f56da5bd3d20b8a0ed7451bdca09916d34e31674a94a2a046d76d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(version, str) or not version\u0060 appears character-identically in 2 files \u2014 scripts/model_host_availability.py, scripts/supply_chain_contract.py. 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":"scripts/model_host_availability.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa6aea4d375d5aa618250e0aaf918216cea18940b530ab54aa50cf29612557d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not link_path.exists() and not link_path.is_symlink()\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/build_output_policy.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"170424bcb23c9ce2cd13e7770fd8073197f6b376ef326a1acddedc424adf8e59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not parent.exists() and parent != parent.parent\u0060 appears character-identically in 2 files \u2014 scripts/hooks/agent_guard.py, scripts/hooks/agent_hook_input.py. 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":"scripts/hooks/agent_guard.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e7101281077f6ebe2063786f53b22d1ba0ed75cc7d92b01d2340867aa509a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not path.exists() and not path.is_symlink()\u0060 appears character-identically in 3 files \u2014 scripts/build_cleanup.py, scripts/lib/build_artifact_retention.py, scripts/lib/profile_trace_retention.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c926204b524abeb2eb457559044a71ce557c7ec78482137cf7bc37709aed556b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not profiles.is_dir() or profiles.is_symlink()\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/build_output_policy.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9a0fb5a0876b641767d529fe95b752e4d26f9ee592fdd88f6cbd3f02298f40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not run_dir.is_dir() or run_dir.is_symlink()\u0060 appears character-identically in 2 files \u2014 scripts/build_output_policy.py, scripts/lib/build_artifact_retention.py. 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":"scripts/build_output_policy.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08ef625325f33308b714120258641ef66d3b2ba64889292a70088b38eff4a76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not target.exists() or target.read_text(encoding=\u0022utf-8\u0022) != text\u0060 appears character-identically in 2 files \u2014 scripts/docs_index.py, scripts/roadmap.py. 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":"scripts/docs_index.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"693b25b53ed2f80b8ac1231fc72e6e8363c61af213adb5e87d949b6d3a60076a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not trace.is_dir() or trace.is_symlink()\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/build_output_policy.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"558cc745935d58ba679289fc8714ea0cb27bb4f9f52f6b811bb858df86f9e551"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not values or len(values) != len(set(values))\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/ios_control_audit.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdef5c81cf666a88e193cd1d517d6ea97c5c5f38a01f3cacb6737d5ef84c4d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060notarization == \u0022stapled\u0022 and signature != \u0022developer-id-installer\u0022\u0060 appears character-identically in 2 files \u2014 scripts/cli_package.py, scripts/release_evidence.py. 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":"scripts/cli_package.py"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e72dcce24bf764eafd52c5b9f73bbc377c729c752f79953be37c08569c46d2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022CI\u0022) or os.environ.get(\u0022GITHUB_ACTIONS\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/lib/contract_gate.py, scripts/lint_baseline.py. 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":"scripts/lib/contract_gate.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fac06e81bf83971820d8e3ab8d487cca203dd2e4468340a8f85ad0721af1ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060override and Path(override).is_absolute()\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/build_output_policy.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"353cd86162844eb71ee91642470b7ffcf3385395aa09ecd29baef86c29acc593"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.scheme != \u0022https\u0022 or not parsed.netloc or parsed.username or parsed.password\u0060 appears character-identically in 2 files \u2014 scripts/attribution_manifest.py, scripts/support_contact_contract.py. 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":"scripts/attribution_manifest.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb644407e04dffece440b1dbd2346d67685b74ca4794a183e924e86215b0b495"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.username or parsed.password or parsed.query or parsed.fragment or parsed.port\u0060 appears character-identically in 2 files \u2014 scripts/swift_dependency_snapshot.py, scripts/swift_dependency_updates.py. 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":"scripts/swift_dependency_snapshot.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a57af2f7d59db1a9f2624170dcdcc4e238e01eb8faa705075ba9e14d9fd92ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.is_file() and not path.is_symlink()\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/build_output_policy.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8906f8f48471fe81b42a95cb5a635796b8373eb4c68090cb1985f3577f5380cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pin and pin.get(\u0022schemaVersion\u0022) == 1 and pin.get(\u0022pinned\u0022) is True\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/lib/profile_trace_retention.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"798d05abe1107eddf302fb510fcf21139918446caf15fe5ab273dd7cc3a4e42d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060plan.get(\u0022cohortID\u0022) is not None or plan.get(\u0022cohortDigest\u0022) is not None\u0060 appears character-identically in 2 files \u2014 scripts/language_bench_evidence.py, scripts/publish_benchmark_history.py. 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":"scripts/language_bench_evidence.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5144f1678434cb4aa245ce06d6f1996695c0ffbfda0034299c294f4855f8eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060position \u003E 0 and takes[position - 1].get(\u0022warmState\u0022) == \u0022cold\u0022\u0060 appears character-identically in 2 files \u2014 scripts/benchmark_history.py, scripts/lib/ui_bench_matrix.py. 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":"scripts/benchmark_history.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c11ae6128880e5c9f769a5dc6fdd30ca453b2735829236335dbf4ebe39b8011"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous and previous[\u0022runnerSHA256\u0022] != identity[\u0022runnerSHA256\u0022]\u0060 appears character-identically in 2 files \u2014 scripts/qc/calibrate.py, scripts/qc/fit.py. 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":"scripts/qc/calibrate.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5f44c9e9a8110eb798bbf1a10e79c4bad5a277976588f8117f7d140b6441d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous_end is not None and block[\u0022startEpochMS\u0022] \u003C previous_end\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e036df28399e527ca4a0133f39d8dfd36a114a3be0f2ad02a76c5c76b7d7d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060qc.get(\u0022verdict\u0022) == \u0022warn\u0022 or memory.warnings\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4710ec323d3806e72e0aaf9ea9e9d25441c2a3169ec43fe6ade54d15c47bc3aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reuse_reason is not None and not reuse_reason.strip()\u0060 appears character-identically in 2 files \u2014 scripts/qc/calibrate.py, scripts/qc/fit.py. 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":"scripts/qc/calibrate.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a4a85b7e5e4827bb0c2baa4c65816f0510e5f9cd5fe9a7d6e7163ed1aadee7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.get(\u0022kind\u0022) == \u0022environment\u0022 and isinstance(row.get(\u0022telemetrySamplerIntervalMS\u0022), (int, float)) and not isinstance(row.get(\u0022telemetrySa\u2026\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71f8852c29c2a404db7789824c7a93294c0dbc85fbec8b77e76b94fb827f99a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.get(\u0022worst\u0022) or env.get(\u0022thermalState\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_benchmark.py, scripts/check_macos_ui_bench.py. 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":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"074408f7283fea2d9f150338c5d2e39c4a606776bc450d108973a64e3c0bdcdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060spec is not None and spec.loader is not None\u0060 appears character-identically in 2 files \u2014 scripts/ci/migration_warnings_report.py, scripts/lane_ledger.py. 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":"scripts/ci/migration_warnings_report.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5211dc87b348a9bca2956cd27df2e7e5fba0b4002d2a96ab583f9c54261959"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start is not None and end is not None and end \u003C start\u0060 appears character-identically in 2 files \u2014 scripts/qc/boundary.py, scripts/qc/pronunciation.py. 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":"scripts/qc/boundary.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eced53dc672baa88e72f770f22a367427007f8d5cfbcfbf63b580fad50105ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.get(\u0022version\u0022) or state.get(\u0022branch\u0022) or revision\u0060 appears character-identically in 2 files \u2014 scripts/release_sbom.py, scripts/swift_dependency_snapshot.py. 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":"scripts/release_sbom.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f2e6e7f7facfda796b9f80fe06a7dc4411319549788d2fa7af11aa3634d256"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060summary.get(\u0022rawTraceRetained\u0022) is False and summary.get(\u0022retentionPolicy\u0022) == \u0022failedCompacted\u0022\u0060 appears character-identically in 2 files \u2014 scripts/build_cleanup.py, scripts/lib/profile_trace_retention.py. 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":"scripts/build_cleanup.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7179419b88e8938a38023839cccec58fe31d80cebd4d44da026a16c1be0e216"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060summary.get(\u0022thermalStates\u0022) or [\u0022unknown\u0022]\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"575bb78d089da16ece31c2aa358bf61ae01d558d2f05c4def7d1febc4c731ce5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060take.get(\u0022family\u0022) or take.get(\u0022takeID\u0022) or take[\u0022token\u0022]\u0060 appears character-identically in 2 files \u2014 scripts/qc/confirm.py, scripts/qc/fit.py. 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":"scripts/qc/confirm.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bb128e111d9a2b4b2da11c79a2e73b679499d8b195f78eb3e5f47537190d75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060take.get(\u0022mode\u0022) == mode and \u0022/retained#\u0022 in str(take.get(\u0022cell\u0022))\u0060 appears character-identically in 3 files \u2014 scripts/benchmark_history.py, scripts/derive_memory_calibration.py, scripts/publish_benchmark_history.py. 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":"scripts/benchmark_history.py"},"region":{"startLine":3983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dd45fadd805f2586f7724010b60f502a702a4d1cc63f067d338b9d857e643f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060thresholds.get(\u0022schemaVersion\u0022) != 1 or thresholds.get(\u0022warnOnly\u0022) is not True\u0060 appears character-identically in 2 files \u2014 scripts/check_ios_ui_perf.py, scripts/check_macos_ui_perf.py. 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":"scripts/check_ios_ui_perf.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a07e82a037d0672c9cd0f71caa3ad940fbe277b201d058f1c5bcd696ea23c1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!result.committed.isEmpty || result.snapshot.needsAttention\u0060 appears character-identically in 2 files \u2014 Sources/QwenVoiceApp.swift, Sources/iOS/QVoiceiOSApp.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/QwenVoiceApp.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3037175415ffb0df65822eaed5b583b700114396c5079c693f09eaf2d9b1f94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.codecStartFrame != nil \u0026\u0026 $0.codecEndFrameExclusive != nil\u0060 appears character-identically in 2 files \u2014 Sources/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift, Sources/QwenVoiceCore/GenerationStreamingTelemetryV9Publication.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/QwenVoiceCore/GenerationStreamingTelemetryV9Bridge.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"61969400b8b5f394bd25db833fdb0f91253a42314d79a8f4b18eb0c4efcc33a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(key == \u0022generation_end_reason\u0022 || key.hasSuffix(\u0022_generation_end_reason\u0022)) \u0026\u0026 value == \u0022token_cap\u0022\u0060 appears character-identically in 2 files \u2014 Sources/QwenVoiceCore/GenerationOutputAdapter.swift, Sources/VocelloCLI/BenchCommand.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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e01b0fdfab7663fbe6a097af10980f9061b6e6303f35316e63837c7dec014ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CharacterSet.alphanumerics.contains($0) || $0 == \u0022.\u0022 || $0 == \u0022_\u0022 || $0 == \u0022-\u0022\u0060 appears character-identically in 3 files \u2014 Sources/QwenVoiceCore/IOSStartupReliabilityPlan.swift, Sources/QwenVoiceCore/StartupReliabilityDiagnosticEvidence.swift, Sources/iOS/IOSStartupReliabilityRunner.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/QwenVoiceCore/IOSStartupReliabilityPlan.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da6be01d84a9171e90d3bc0d4408afa20d5c45a34f8a374f1409da36affafbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CharacterSet.lowercaseLetters.contains($0) || CharacterSet.decimalDigits.contains($0) || $0 == \u0022_\u0022\u0060 appears character-identically in 2 files \u2014 Sources/QwenVoiceCore/IOSStartupReliabilityPlan.swift, Sources/iOS/IOSDeviceDiagnosticsRunner.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/QwenVoiceCore/IOSStartupReliabilityPlan.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f951104b1400544ef684c8f20e3d4f79773941f15f3b527343746bd06a97866"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Task.isCancelled || cancellationRequested\u0060 appears character-identically in 2 files \u2014 Sources/Services/MacLineBatchRunner.swift, Sources/iOS/Studio/IOSLongFormProject.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/Services/MacLineBatchRunner.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"495d17ba8baaf1d8d39d1f3d9d967989cb472ccbdbbe9aac11c1ce07ba8563e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060character.isLetter || character.isNumber\u0060 appears character-identically in 2 files \u2014 Sources/QwenVoiceCore/GenerationOutputAdapter.swift, Sources/QwenVoiceCore/LongFormPlanning.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/QwenVoiceCore/GenerationOutputAdapter.swift"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b3098905d4a3b187206cb0dc14e67e7a87f95ce919269f89b1202801691dcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060character.isLetter || character.isNumber || character == \u0022-\u0022 || character == \u0022_\u0022\u0060 appears character-identically in 3 files \u2014 Sources/QwenVoiceCore/MLXTTSEngine.swift, Sources/iOS/IOSDeviceDiagnosticsRunner.swift, Sources/iOSSupport/Services/IOSDeviceDiagnosticsRecorder.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/QwenVoiceCore/MLXTTSEngine.swift"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d3a8565af37a1972e9f8e760dd45d754a2a76b0ad031b269102c5f1fd6f673"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060coordinator.isGenerating || ttsEngineStore.hasActiveGeneration\u0060 appears character-identically in 3 files \u2014 Sources/Views/Studio/MacCustomVoiceScreen.swift, Sources/Views/Studio/MacVoiceCloningScreen.swift, Sources/Views/Studio/MacVoiceDesignScreen.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/Views/Studio/MacCustomVoiceScreen.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d96148a284726a39f93640b67696aef95335d8a1e4e9acd2326630fd5199078"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060framesDelivered \u003E 0 || heartbeats.completedHeartbeatCount \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/Services/UIPerfFrameProbe.swift, Sources/iOSSupport/Services/IOSUIPerfFrameProbe.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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff254999bb1afff7fabe9365ffd088e5945d6f6af4bfbab09d5988278e92ea1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kept \u003E retentionMaxFiles || totalBytes \u003E retentionMaxBytes\u0060 appears character-identically in 2 files \u2014 Sources/Services/UIPerfFrameProbe.swift, Sources/iOSSupport/Services/IOSUIPerfFrameProbe.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/Services/UIPerfFrameProbe.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb352883e91cf594986d16c1f4d55b1b4fadaba7ba7f02826aabca763c4136f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pendingVoiceForReview != nil \u0026\u0026 !isReviewDecisionInFlight\u0060 appears character-identically in 2 files \u2014 Sources/Views/Voices/MacSavedVoiceSheet.swift, Sources/iOS/Voices/IOSRecordVoiceSheet.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/Views/Voices/MacSavedVoiceSheet.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb9b0c7382e48d4d5daefe3c36fc0bcf57a8896832068962dca9bcefbc51567"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recorder.elapsed \u003E= ReferenceClipRecorder.minDuration \u0026\u0026 recorder.elapsed \u003C= ReferenceClipRecorder.maxDuration\u0060 appears character-identically in 2 files \u2014 Sources/Views/Voices/MacRecordVoiceSheet.swift, Sources/iOS/Overlays/IOSRecordingOverlay.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/Views/Voices/MacRecordVoiceSheet.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"87851e007d838b229d5deef1520a1197cb95d9d3b67a17bd79dc12aa8ebbb19b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060store.hasActiveGeneration || store.hasSustainedPerformanceActivity\u0060 appears character-identically in 2 files \u2014 Sources/ViewModels/GenerationPerformanceGateModel.swift, Sources/iOS/App/IOSGenerationPerformanceGateModel.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/ViewModels/GenerationPerformanceGateModel.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf60dac2151995a631801181962ecbe3507f66802a4b7d31a5bb504da8d8fa5a"}},{"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/iOSSupport/Services/IOSExportPurchaseState.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"453dbd31847028c39569912843fca77f6c03ee2c7ae4a7d48895d807463e4bca"}},{"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/iOSSupport/Services/IOSExportPurchaseState.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9665c54a015c0b2c88189265903c11c7d4812c6a638bcb95201e5438a0ada6f3"}},{"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/iOSSupport/Services/IOSExportPurchaseState.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1b21c355051882561eb153830839d1b22f48078408b46de46e09b14d88cb7f"}},{"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/iOSSupport/Services/IOSLeftoverAudioAnalysis.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0227d946b61f3c06e88c77e0a4b90f5fdb37d004d1c42d19432e5e0999ff6d66"}},{"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/iOSSupport/Services/IOSStorageProtectionPolicy.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74890945b3ead77a08742c0e015a728b412c9b67363660c8468cd3c266b37bb"}},{"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/iOSSupport/Services/RuntimeReleaseCoordinator.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf428895eeab68e2bc0db30f1f5ebe932f48ea8239dfd0eb7b410e373a84f4e"}},{"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/iOSSupport/Models/Generation.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7fc2b9c40a09bfaedf1a67d3f9fd522a3084bee60420027fe1e6719d3459de"}},{"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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e4ca9640fe13e1c663a274c31817c0b5363ffd6769393739b0ab399f574727"}},{"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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c7e600533e305c7d0ee9f32765077ec218f864e225450df3532120d25e30bf"}},{"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/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"991aaf2e3f0d64ebafebf7a18768f4dfc3a1f7b5ad200aef0dafca47b1abebee"}},{"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/iOS/TTSEngineStore.swift"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"9571f9551998e0f13f030cba1c51fccbccb2d514c2f4ffc616b4a7b15010c33c"}},{"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/iOS/Studio/IOSStudioInlinePlayerCard.swift"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"4972350679352935dac60f2474f2e141163693b58204903510c9ced7a7c94a32"}},{"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/iOS/Studio/IOSStudioInlinePlayerCard.swift"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"162c4266aa0c52fecc45e00197685960ef8b92d3132b4e100c63844caa0bda58"}},{"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/iOS/Settings/SettingsScreen.swift"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"474b4a4384a58005cb701172ec420eb456fdaf9e2939083cb29c94a13b190f05"}},{"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/VocelloDesktopCore/DesktopHistoryReader.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7024ee382b8cbb12b15555c08bb72fed0514ac20cfd41aa70e964758e3de1e8e"}},{"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/VocelloCLI/BatchCommand.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9218b480364cc57ad84632967c5fddec72ac7d029ad6dd0a241cf2658ca0da6e"}},{"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/VocelloCLI/BenchCommand.swift"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4daccd8bc3d51f78697f4380fa7c8e5f144ea1bd30379e64c6f25d9d9f34cf"}},{"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/VocelloCLI/Core/Contract/CLIPresenter.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a654e477eb3b596d414cbe997301c8096398014eb14913e423dafa8483bef580"}},{"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/VocelloCLI/Core/Contract/CLIRequestLedger.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f607ff600710e6959971d178dc53e5b4bf20af438caefe873e26e3253d5972e"}},{"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/SharedSupport/ViewModels/AudioPlayerViewModel.swift"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0de40d448acb742dd067e7c9d900f3511d28032d4ca1ea57abf146dc81443"}},{"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/SharedSupport/ViewModels/ReferenceClipRecorder.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7c6c1f199777ec693b1210ac3e08d113c723dedb90c23e2194f9fbb7f04030"}},{"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/SharedSupport/ViewModels/ReferenceClipRecordingStash.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88f75e18c045972a3fb16e21cba79a2f46d3971fffffcde193eb109ab9fcddc"}},{"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/SharedSupport/Services/GenerationHistoryRecovery.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ea1edc5a791b0d5d758a25e6559ff20073a2c59a71b9760c20c9c198364d64"}},{"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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"592a24063040b79c3bf6d1adfc4240a32d8176b02158bd3dac4c39bb6ffc4e39"}},{"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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd00373869f337ea11db6757a74cf1465e1c57f07b4e9ee06730c36b3e9a693"}},{"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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b76eb6f1c057cf8bddedf95aaede52e4ede2e50ab63e2a989c744a462581949"}},{"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/SharedSupport/Services/VoiceClipTranscriber.swift"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"530b9ca4996f38163b40230b81f5c4f1f5847997a2a4c46025747d78dec8a047"}},{"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/SharedSupport/Services/WaveformService.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"905d26ff058353ecb5d6df4891d9f4dbe7a495af06020517e41b2c535fdbeb0a"}},{"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/SharedSupport/Database/GenerationHistoryEnqueueState.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"886812c6164b2b7c9330bb28cf2c3726374f7a74dbefe9d6553c5b64a053302a"}},{"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/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cc11c59102a1d5ba64e7014547712fee9a67ead1240db5902f1cdc50809eca"}},{"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/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ed78aa5453ca82270408c870a69bec145d8a5ee0abaabeffb214c545140833"}},{"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/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c4cb4719bd309f2fb27be13a26ed66eff67d8fb42d1f6bbcb43685e2dc798b"}},{"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/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e716fe101900ffddd9dc51703bde81d5b2a98ffeb1b6dfa723c5c74935f954"}},{"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/SharedSupport/Database/GenerationHistoryOutbox.swift"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30a84a736e2f64087c1bd2c35bd6d460d0aa235d6b65aa972bf557a6c4dea99"}},{"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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"265203aca4287f9fbcf21688f089317ff18f3766d77435a7941b2dc6222abccb"}},{"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/SharedSupport/Database/LongFormHistoryAcceptance.swift"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c63a4ffa60b0b3cca4977044e6e466c1d860783899ea229bc40983e149fe10"}},{"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/Services/MacFileSaveCopy.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f72b252094a81f4c2bb41a2b6a9f5bb92f92543401ba9d60cf4e4bb39bd62b"}},{"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/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2536966da296f8ead20736b2aae142c5e6b6891b239f7a4c92cd3f1e79ba97e0"}},{"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/Services/MacGenerationWarmupCoordinator.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb347af8bafae0b522da5133c7fcd2e34a09d8e362ed33f67ba619985b3cefa2"}},{"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/QwenVoiceCore/AnyTTSEngineBackend.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1a2d233ad91a21e5e482b7edd12ae2627be9a5aec479a2626215cbe39b99e4"}},{"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/QwenVoiceCore/AudioPreparation.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"84793a765d74fdfea89482dd874c9dd148e4276b516ca5a984464d7306492e11"}},{"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/QwenVoiceCore/GenerationQualityReportProducer.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8443698f0fe33b91fff7750f50f7ea2c5620dbe6f41b37068e3bb5386035746"}},{"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/QwenVoiceCore/HistoryDeletionEngine.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d884aa72afadfdb54b4c9962e32157722793ffa20589f24a02df0ae6419d8da"}},{"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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d974b412ca44edffacbcd6e5310296153c991162648eb1b38f119bfd82e3eba1"}},{"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/QwenVoiceCore/MLXModelLoadCoordinator.swift"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ba08c665356728f8ffb33e58f8830120a01403b4a12d89f96e75395210a948"}},{"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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9c6ba310d6a955a4fe9f3b09db4f0404cdf47e388e5104744055ae6c964209"}},{"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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db8b418110480eb25b3343816244e900a9f28615cc62bc61eaa55008d2c1492"}},{"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/QwenVoiceCore/NativeEngineRuntime.swift"},"region":{"startLine":2633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0844f2c15c77622f5133a879dc201d17b0101308b616abc927d613da8a82ec1"}},{"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/QwenVoiceCore/PreparedVoiceRepository.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25f9bfa4398de16724bba1bc1d901736177bdc4138cbd7273ce851a8243af07"}},{"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/QwenVoiceCore/SharedModelComponentStore.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f93cab8dc3e0c6ebf2c391acbbea78c0f687db0c590247f7d76d25e8a9ed1a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060tracked_paths_below\u0060 returns \u0060[]\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build_cleanup.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2714fbb33bc0649023ec314f564385200c1dd8ade85320eefc78acc5df0842"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060take_seed\u0060 returns \u0060{}\u0060 when \u0060(TypeError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check_ios_ui_benchmark.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c920615bb01ce7f2f32784c31e7a03bbbc60b2ddb1234932c28a47aea8e263"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_imported_script_modules\u0060 returns \u0060set()\u0060 when \u0060(OSError, SyntaxError, UnicodeDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/classify_changes.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96a690b53318ecfbba2293728eec658796ff81a2092dad1150525756061461a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060installed_vocello\u0060 returns \u0060\u0027unverified\u0027\u0060 when \u0060(json.JSONDecodeError, AttributeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/iphone_mirroring.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2c8f74735059b1d94e6d7a98692789825647252c6665fa4c19e50d2362bb76"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_hashes\u0060 returns \u0060[]\u0060 when \u0060(ValueError, base64.binascii.Error)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release_sbom.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2262330168eee1dde666b699ec20dfe46c41f05413164f742861760493ebd7de"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_mount_points\u0060 returns \u0060set()\u0060 when \u0060(plistlib.InvalidFileException, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sparkle_appcast.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"862889bd5c0cad46f4c1a54a4eda25357fee58efc524baf6cd4464cc9afba09f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060git_short_sha\u0060 swallows every exception into \u0060return \u0027-\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/summarize_generation_telemetry.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0b0fbc5af9155aee9578d03fe6c5512aabd0f13d0640e1c130870cab93f88"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fileSizeIfPresent\u0060 turns every thrown error into \u00600\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/QwenVoiceCore/HuggingFaceDownloader.swift"},"region":{"startLine":3466}}}],"partialFingerprints":{"codehealthFindingId/v1":"df98f50b6ece8b8bee74926191bcce61916ea60831c813f467c62b17a7f3cced"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060remove\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/QwenVoiceCore/ModelUpdateDecisions.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdacdfa4639d11791b46f11596768fb5042bc77aa12a35b5e0f27cbad85af57b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractSamples\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/SharedSupport/Services/WaveformService.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b27ff63f7e14ba815b1b1adce91b6ff2a6ae5b09cc5f48ac72dc215c380ec2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060telemetryRecords\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/iOS/IOSDeviceDiagnosticsRunner.swift"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"11aa33c09dac82ac13016b40b682cab4a53428efb24304c43bc2387457b919aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ledgerReceivedBytes\u0060 turns every thrown error into \u00600\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/iOS/IOSModelDownloadCoordinator.swift"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a063766ccb9bf0c75c127cc08092fa980e24f1ab78a50ea3c1cf41a7b574266"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060telemetryRecords\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/iOS/IOSStartupReliabilityRunner.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1affcba2b120989bd3cd1d6b49db7447f8f5bdd4e29a67efca0da8eefd63a91d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060models\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/iOSSupport/Models/TTSContract.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e853e899ab7c281d1758b0a6f459755280e414e018927905039a0ac8269d6f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060defaultSpeaker\u0060 turns every thrown error into \u0060\u0022\u0022\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/iOSSupport/Models/TTSContract.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"655133b8a118010160ea9c6b06d2bd02bcd754a94f822f0fb2e18158a549f2c7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060groupedSpeakers\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/iOSSupport/Models/TTSContract.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bf72e25e6004130f2555dd6373f6bd84eda806f780cd1afdb5699ea13a2414"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060groupedSpeakerDescriptors\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/iOSSupport/Models/TTSContract.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a70462743bf5faf1ff6bbe691a8706940f63809f62dab81b68696b33ab392b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allSpeakers\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/iOSSupport/Models/TTSContract.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e70d7319c8858cb133bd980e10df511bc15660c2f353bf4dce3ee6a8db98aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allSpeakerDescriptors\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/iOSSupport/Models/TTSContract.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4017e199e53a702d183b7cf489a0cd1f25f6b29f5b5c47ac4095d790d8712024"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TweaksPanel\u0060 swallows every exception into \u0060return true\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"design_references/Vocello iOS/tweaks-panel.jsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dc27f692a5cb80ed342db8ff987998e873dcf6c14707fd7b7b859c51793b09"}}],"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-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-346","guid":"07c355cb-45b6-d05e-8a2c-9f686bc45618","name":"Origin Validation Error","shortDescription":{"text":"Origin Validation Error"},"helpUri":"https://cwe.mitre.org/data/definitions/346.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-940","guid":"75819a47-7665-bd5a-8873-2eebffae7d6e","name":"Improper Verification of Source of a Communication Channel","shortDescription":{"text":"Improper Verification of Source of a Communication Channel"},"helpUri":"https://cwe.mitre.org/data/definitions/940.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":11,"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."]}]}