{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"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":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TTS.run (cyclomatic 113): TTS.run has cyclomatic complexity 113 (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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af19dc32fe437c56c46ee0cfff718efbf5d9c7056c6a98e32f088cf19e23cc"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamDiarizationBenchmark.run (cyclomatic 105): StreamDiarizationBenchmark.run has cyclomatic complexity 105 (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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6549626d33a8fa3dada4e090e6a962aa5736e7732f2a2680611d13ee180eb75"}},{"ruleId":"D1","level":"warning","message":{"text":"SortformerCommand.run (cyclomatic 93): SortformerCommand.run has cyclomatic complexity 93 (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/FluidAudioCLI/Commands/SortformerCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaf492d459f99ab08bb85dbfece2e9be265a896790eac1e9c2a738312bbfc8d"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.processChunk (cyclomatic 83): StreamingNemotronMultilingualAsrManager.processChunk has cyclomatic complexity 83 (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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09c7ccc49653939cd700ebfe4d2b8439d72be7047cf38399bccddceca3810e2"}},{"ruleId":"D1","level":"warning","message":{"text":"LSEENDBenchmark.run (cyclomatic 81): LSEENDBenchmark.run has cyclomatic complexity 81 (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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe84974a790de06a791c0a1e679b3cfd1de94f2854ddd795c64e2208575d9b99"}},{"ruleId":"D1","level":"warning","message":{"text":"SortformerBenchmark.run (cyclomatic 78): SortformerBenchmark.run has cyclomatic complexity 78 (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/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbf6162ca339c875f6fe169d6daeda46b33969f0065f584240adad1b4270311"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessCommand.parseArguments (cyclomatic 71): ProcessCommand.parseArguments has cyclomatic complexity 71 (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/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f6da74b58bd35b68572d3c974fafb06e1619b52dad2bff1fd12b0660c911c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ASRBenchmark.runASRBenchmark (cyclomatic 70): ASRBenchmark.runASRBenchmark has cyclomatic complexity 70 (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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c069182a99ad29657c519069c5b7741d988dc00a7e4de253338ad5cfed662e"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.runSpeculativeBlankDecodeV2 (cyclomatic 69): StreamingNemotronMultilingualAsrManager.runSpeculativeBlankDecodeV2 has cyclomatic complexity 69 (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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa94f69cf9d76284a0d01ef5cbeacdb417f7060feddf8c1e65536c93998654b"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscribeCommand.parseArguments (cyclomatic 64): TranscribeCommand.parseArguments has cyclomatic complexity 64 (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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba3490a2bfa598390d10a7eb61ef12ed03dac619989bd39de90a32e59282fef"}},{"ruleId":"D1","level":"warning","message":{"text":"LSEENDCommand.run (cyclomatic 60): LSEENDCommand.run has cyclomatic complexity 60 (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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae7cd5a1aad71772489b3c70cdeec82e5f995d34847564abb6d34710fbfa22b"}},{"ruleId":"D1","level":"warning","message":{"text":"VBxClustering.runVBx (cyclomatic 59): VBxClustering.runVBx has cyclomatic complexity 59 (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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b486cf1f5b2b5dafdb81053f86d8cac9f720cf87537f5ad2da6a10212c01cde"}},{"ruleId":"D1","level":"warning","message":{"text":"EnhanceBenchmarkCommand.run (cyclomatic 59): EnhanceBenchmarkCommand.run has cyclomatic complexity 59 (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/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bc0141b464f7b98e433dc8fe8232927a0d7933c9ae719c71593c62ae5df04f"}},{"ruleId":"D1","level":"warning","message":{"text":"TtsBenchmarkCommand.run (cyclomatic 58): TtsBenchmarkCommand.run has cyclomatic complexity 58 (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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"716e2deed9002cc7e14c5febc2220eb3181c95ddd7b26c5e73a3c9640e161a28"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcEarningsBenchmark.runCLI (cyclomatic 58): CtcEarningsBenchmark.runCLI has cyclomatic complexity 58 (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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca040ff54d80027302f4b7a19bc08dcec92c10d86eca32b3c31c5d6fe9037ec"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineSegmentationProcessor.process (cyclomatic 57): OfflineSegmentationProcessor.process has cyclomatic complexity 57 (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/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2b2008bb37f83a0803298f78cd1cd303995d5bc342006940652f08087cfec5"}},{"ruleId":"D1","level":"warning","message":{"text":"EmissionDelayBenchmark.runCLI (cyclomatic 57): EmissionDelayBenchmark.runCLI has cyclomatic complexity 57 (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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9b381fc4628c16876acfc38f2f5b9739c751ad10c5225448e43be42ac2a720"}},{"ruleId":"D1","level":"warning","message":{"text":"NemotronMultilingualFleursBenchmark.runCLI (cyclomatic 57): NemotronMultilingualFleursBenchmark.runCLI has cyclomatic complexity 57 (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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"89892280bd49791586dd30c044fb6fbe4ac6d56f59c7c8ab09eb666b170452fd"}},{"ruleId":"D1","level":"warning","message":{"text":"AsrManager.reconcileFinalWindowSeam (cyclomatic 55): AsrManager.reconcileFinalWindowSeam 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df0ea0e10f3f5c76cfb1e02a18818b8dfc34e69a255033b1f7bf8194b2d4865"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.processWithDualDecodeArbitration (cyclomatic 54): ChunkProcessor.processWithDualDecodeArbitration has cyclomatic complexity 54 (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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb04a5be71556a52f114158177383d5890329746e2092e61cc46ebcf2f5392b"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineEmbeddingExtractor.extractEmbeddings (cyclomatic 53): OfflineEmbeddingExtractor.extractEmbeddings has cyclomatic complexity 53 (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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc28ab9c2727c721778a8c3e8afee488af20e3219cbf12765b88e65618eb4c"}},{"ruleId":"D1","level":"warning","message":{"text":"LuxTtsG2p.phonemizeClause (cyclomatic 48): LuxTtsG2p.phonemizeClause 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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dfa8084bd0db280929dbe7416a336d1a78baf60cc17d6b97ba2722967fcd08"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamDiarizationBenchmark.calculateStreamingMetrics (cyclomatic 48): StreamDiarizationBenchmark.calculateStreamingMetrics 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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"1098b1b4a9bb20f5a3a667f01c3e275e0c5f8c2609cedee5069a4813abd7ef80"}},{"ruleId":"D1","level":"warning","message":{"text":"CohereBenchmark.run (cyclomatic 48): CohereBenchmark.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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0300327bba91c69a3617a59cb05ecf45d060aeaca2675f175f15b397335516e5"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcEarningsBenchmark.processFile (cyclomatic 47): CtcEarningsBenchmark.processFile has cyclomatic complexity 47 (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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a1a53aab53d649a68b861af8e14d0b24aaec206400307fda1cdc306c648739"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelNames.getRequiredModelNames (cyclomatic 45): ModelNames.getRequiredModelNames has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: Repo.name (cyclomatic 47) 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/FluidAudio/ModelNames.swift"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b89afab9d0f20a2acac5854e134c97c9c6b388582088e2e4ce07d5c6ea4f47"}},{"ruleId":"D1","level":"warning","message":{"text":"TdtDecoderV3.decodeWithTimings (cyclomatic 43): TdtDecoderV3.decodeWithTimings 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f078b02f416815a1bede2e003013c7962c480f5125084c8d3b9bb6f4639a2eb"}},{"ruleId":"D1","level":"warning","message":{"text":"CanaryEarningsBenchmark.run (cyclomatic 43): CanaryEarningsBenchmark.run 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/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1052ab4d8f0bebee3bbf83e0aa353cd92daecba8eb12b02009f9a2460bf00f0"}},{"ruleId":"D1","level":"warning","message":{"text":"NemotronMultilingualMultiStreamBench.run (cyclomatic 43): NemotronMultilingualMultiStreamBench.run 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualMultiStreamBench.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fcf1a3c14e49944391298abd16c9f08fa6b1a5886cc7adcd1417dfb43a0244"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanishG2P.segment (cyclomatic 42): SpanishG2P.segment 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/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"df012447b4ca843d573ced6005f72d90189f19ad8db7bf4a493a2041cf0f8321"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcDecodeBenchmark.runCLI (cyclomatic 41): CtcDecodeBenchmark.runCLI has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9c3a7c2563cbf3ffd42ec8229781aa951794813ae9abc248ce5f022ee581c6"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineReconstruction.buildSegments (cyclomatic 40): OfflineReconstruction.buildSegments 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/FluidAudio/Diarizer/Offline/Utils/OfflineReconstruction.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"20447d096d097c75a9134a03caee898b5b8a736c3d7664cb38970181bbe1cc78"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.process (cyclomatic 40): ChunkProcessor.process 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edcdae277551df41f28008e3de2e5c7120d13386e119b359456991442d655b3"}},{"ruleId":"D1","level":"warning","message":{"text":"FrenchPhonology.mapToEspeak (cyclomatic 40): FrenchPhonology.mapToEspeak has cyclomatic complexity 40 (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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66caed3e63a7f0b1ab0d1d9412d8e15390a533782087aaef04322c58b7dfab3"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.findCandidateTermsForWord (cyclomatic 40): VocabularyRescorer.findCandidateTermsForWord 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"537782709d41f34ff39f1f576ff9f39167c64985238c2fae4dcbf28722dd4212"}},{"ruleId":"D1","level":"warning","message":{"text":"LuxTtsG2p.phonemizeNormalized (cyclomatic 37): LuxTtsG2p.phonemizeNormalized has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8bfc7db5d3b54db88e1aa0847d9d573808ff9fd747dc2bae08f801ca386949"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenLanguageFilter.matches (cyclomatic 36): TokenLanguageFilter.matches has cyclomatic complexity 36 (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/FluidAudio/Shared/TokenLanguageFilter.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf6e003a628b571b325142f48a5fcc9982b8a521cd6c8dd6324cf6542b1913c"}},{"ruleId":"D1","level":"warning","message":{"text":"FLEURSBenchmark.runCLI (cyclomatic 36): FLEURSBenchmark.runCLI has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62717dfd551d83a2a5791e9a4c42ff11e07dac5feb5fbff7a33dc298bc108c5"}},{"ruleId":"D1","level":"warning","message":{"text":"ParakeetEouCommand.main (cyclomatic 36): ParakeetEouCommand.main has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adef6361dabba9c37fc0aeac6822f27a8167d7fbb040324d1aadb0acb0af477"}},{"ruleId":"D1","level":"warning","message":{"text":"FrenchPhonology.phonemize (cyclomatic 34): FrenchPhonology.phonemize 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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca1fefae1be65fd0ebadb08b50aea58c7ecfc3c80693c8d5fadd1c7b8cabc4"}},{"ruleId":"D1","level":"warning","message":{"text":"CohereTranscribeCommand.run (cyclomatic 33): CohereTranscribeCommand.run has cyclomatic complexity 33 (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/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad17900c33c06012c6dc4f4e2f3c711dcd4a4f6f9200a7b9f9d901947c2a1c3"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscribeCommand.runStreaming (cyclomatic 33): TranscribeCommand.runStreaming has cyclomatic complexity 33 (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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d48795870eee9d7f35a3bbb6a97cad4f3bd7b7baaa15e939790d0474aaa6dd"}},{"ruleId":"D1","level":"warning","message":{"text":"NemotronVocabBenchmark.runCLI (cyclomatic 33): NemotronVocabBenchmark.runCLI has cyclomatic complexity 33 (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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronVocabBenchmark.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"08075055937fada49201d8d6d864ba940000c58c0d6e24181362c3065a0df468"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatterboxAlignmentAnalyzer.step (cyclomatic 32): ChatterboxAlignmentAnalyzer.step has cyclomatic complexity 32 (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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxAlignmentAnalyzer.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2705f38487283292ce4b7784d16ccf78f472f94a96620c9c9f4863fad9d6e3a"}},{"ruleId":"D1","level":"warning","message":{"text":"JapaneseTokenizer.tokenize (cyclomatic 32): JapaneseTokenizer.tokenize 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/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseTokenizer.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e9d4527ac43137725ee8f7579182b784d6d1eedc754017a5c6aaa5b2e7f191"}},{"ruleId":"D1","level":"warning","message":{"text":"Nemotron3DiarizeCommand.runDiarize (cyclomatic 32): Nemotron3DiarizeCommand.runDiarize 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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ecb697debc8f312943ebe8ca350cf41286e00f26f5bc6fd2fe4bd40080ac44"}},{"ruleId":"D1","level":"warning","message":{"text":"VadBenchmark.runVadBenchmarkWithErrorHandling (cyclomatic 32): VadBenchmark.runVadBenchmarkWithErrorHandling 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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2fa1a37fa75715b41b6cb72730577aed948b6f4d2540497ac7745f254b051b"}},{"ruleId":"D1","level":"warning","message":{"text":"TTSAsrVerifyCommand.run (cyclomatic 31): TTSAsrVerifyCommand.run has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9afca7f70ac35e29b8898c046c37a7f53d24ae508af00917d09f1cb08a7d073"}},{"ruleId":"D1","level":"warning","message":{"text":"VadAnalyzeCommand.run (cyclomatic 31): VadAnalyzeCommand.run has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/VadAnalyzeCommand.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"586dfb14cd822ffdc15b5b12adfa324ffc5e5aef5dbdd6c70aaf331a80e7fd13"}},{"ruleId":"D1","level":"warning","message":{"text":"VadManager.detectSpeechSampleRanges (cyclomatic 30): VadManager.detectSpeechSampleRanges has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/VAD/VadManager.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5e3e3f49ffa2d1519f484367492f8c2bd7bc265fda914d598ef5eb6f86e9b2"}},{"ruleId":"D1","level":"warning","message":{"text":"TtsBenchmarkCommand.inferCohereLanguage (cyclomatic 30): TtsBenchmarkCommand.inferCohereLanguage has cyclomatic complexity 30 (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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3078497388a3de08ba7844ee8799239132322c1af12a42fb96e4f47ce8a91770"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscribeCommand.runBatch (cyclomatic 30): TranscribeCommand.runBatch has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb82dcb54f38185881bff1abce5b29916197022f5524ad7eb224aa20b7d268ed"}},{"ruleId":"D1","level":"warning","message":{"text":"SayAsInterpreter.formatDate (cyclomatic 29): SayAsInterpreter.formatDate 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/FluidAudio/TTS/SSML/SayAsInterpreter.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218354a5acf72ab6c7b9cb02db03af026230a13aa59f7c71f237ddcd8db45c5"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanishG2P.phonemize (cyclomatic 29): SpanishG2P.phonemize 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/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb09b84ea924b4605e5c4046ba4856308b5b64e60517ea44a73197177ef467e"}},{"ruleId":"D1","level":"warning","message":{"text":"EnhanceCommand.run (cyclomatic 29): EnhanceCommand.run 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/FluidAudioCLI/Commands/EnhanceCommand.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e75fb08782d34350de37c7cf5d4e83d44b6671ab53f8de52f399d38aa421d61"}},{"ruleId":"D1","level":"warning","message":{"text":"G2PBenchmark.runBenchmark (cyclomatic 29): G2PBenchmark.runBenchmark 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/FluidAudioCLI/Commands/G2PBenchmark.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c447143f09d69e99af1292381632c1f0a40cab3a0c513d5e018a194a6f480c"}},{"ruleId":"D1","level":"warning","message":{"text":"TtsBenchmarkCommand.runPhraseLoop (cyclomatic 29): TtsBenchmarkCommand.runPhraseLoop 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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2bbc1eef66140115dcb2f0cfed87566625af042757ea78f86c53baf86f084f"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineDiff.generate (cyclomatic 29): InlineDiff.generate 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/FluidAudioCLI/Utils/InlineDiff.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"525b961c22ec84fe836e904e3891dc05a3b05043661a339bd40ccd6d8adfb74b"}},{"ruleId":"D1","level":"warning","message":{"text":"DiarizationDER.compute (cyclomatic 28): DiarizationDER.compute has cyclomatic complexity 28 (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/FluidAudio/Diarizer/DiarizationDER.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbe20dba114a64a47c9102fc0a0d3922679d66f8345f000533aa11c05bf56b0"}},{"ruleId":"D1","level":"warning","message":{"text":"LuxTtsSynthesizer.synthesize (cyclomatic 28): LuxTtsSynthesizer.synthesize has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481d4ee489333815271496139575f5b175e3678420358224804978946858cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronAsrManager.processChunk (cyclomatic 28): StreamingNemotronAsrManager.processChunk has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1e2cfecaccdc5329303e99e619d94ff31bbf2109e82cc80dd31e8ae1002498"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.loadModels (cyclomatic 28): StreamingNemotronMultilingualAsrManager.loadModels has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc645266bcf558cbb0310f7537755315f82121005f16c5a8beaf45127e082dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.warmupModels (cyclomatic 28): StreamingNemotronMultilingualAsrManager.warmupModels has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb599a0dc407fee4c4f1fbe9458a22f9dfef3c265a5d27e858448985b2850d7"}},{"ruleId":"D1","level":"warning","message":{"text":"FrenchPhonology.applyLiaison (cyclomatic 28): FrenchPhonology.applyLiaison has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"897c5183620997057ebd6553198dca1471a70891ad3f41073257270111f9cccf"}},{"ruleId":"D1","level":"warning","message":{"text":"JapaneseCutlet.singleMapping (cyclomatic 28): JapaneseCutlet.singleMapping has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"45743dd2a59534a92dc393119c511ff9b8f6d1137da07de032bb42eb8d67a01c"}},{"ruleId":"D1","level":"warning","message":{"text":"FLEURSBenchmark.downloadLanguageSamples (cyclomatic 28): FLEURSBenchmark.downloadLanguageSamples has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f4ed98e5e46b20d823d77850b9d768f4c53e5cb0c15b053d5d01975a0b9589"}},{"ruleId":"D1","level":"warning","message":{"text":"LuxTtsG2p.selectWord (cyclomatic 27): LuxTtsG2p.selectWord has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"6513f31ba93557842080c3cac0397d53c46b35b4385bfc82af5ca6adb4c678ae"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.rescoreWithConstrainedCTCWordCentric (cyclomatic 27): VocabularyRescorer.rescoreWithConstrainedCTCWordCentric 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"b105b549772471b1fc9a5ecdb10eb4ac963e85d09b6d2a60d06710b7323c4579"}},{"ruleId":"D1","level":"warning","message":{"text":"Nemotron3DiarizeCommand.runBenchmark (cyclomatic 27): Nemotron3DiarizeCommand.runBenchmark has cyclomatic complexity 27 (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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad7fb1a00a481d3a002cc1688dded8e5e1683cbd84cce562bded9a08139b19e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelHub.repoIncludeRule (cyclomatic 26): ModelHub.repoIncludeRule 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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"f631a5969b0fcb31d352d3ad134ce329f9432efdb3b6c9b0cb5bc46fafbcfed4"}},{"ruleId":"D1","level":"warning","message":{"text":"G2PModel.phonemize (cyclomatic 26): G2PModel.phonemize 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/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"62166304ea55896de7eabbd69e2ba0f77ff746f565db7129c8671f1a71a2519c"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanishG2P.syllabify (cyclomatic 26): SpanishG2P.syllabify 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/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b22c621656f083d92eceb2de9686b656ecfdfb5a3f7c90fadd31777ce696b0"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcEarningsBenchmark.applyKeywordCorrections (cyclomatic 26): CtcEarningsBenchmark.applyKeywordCorrections 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2d29c69371cbd4e9275feec8eafb4e93f672225b83097412afb6f6bae96fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"SortformerStateUpdater.getTopKIndices (cyclomatic 25): SortformerStateUpdater.getTopKIndices 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/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"753b55a2364fb3bf65e03984fb9afa3a195622c3421cf8a24b0f6e1247e6ab10"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanishG2P.applyAllophones (cyclomatic 25): SpanishG2P.applyAllophones 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/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"836663fd0929472d8c0fb2f7b57509b1ce5cacc502f0b8f364d3716158e1d4fc"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcDPAlgorithm.fillDPTable (cyclomatic 25): CtcDPAlgorithm.fillDPTable 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcDPAlgorithm.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e7e9907f694ea202aa7eb5ca3c9235163551a5163c90a462864ad2603d446e"}},{"ruleId":"D1","level":"warning","message":{"text":"verify_localvqe_benchmark.verify (cyclomatic 24): verify_localvqe_benchmark.verify has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/verify_localvqe_benchmark.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"946218a56f756d376ae6099b40535fc00c75195a6ff2ce7a78cd72210c7d6bfd"}},{"ruleId":"D1","level":"warning","message":{"text":"LuxTtsG2p.selectPhrase (cyclomatic 23): LuxTtsG2p.selectPhrase 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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fcb713daa86fb7a3caf8da6a161900fd4b8ac4677e835e6990b27ad8b3b457"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinG2P.segment (cyclomatic 23): MandarinG2P.segment 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b346ff64ee702bddd7205859a6ae106fc2220c165617a07797b20e73c22e643"}},{"ruleId":"D1","level":"warning","message":{"text":"CanaryTranscribeCommand.run (cyclomatic 23): CanaryTranscribeCommand.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/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"010cb906f545636e2f1faa950d15dfe09e192b3241f0b35ca6741d98ebe4e47c"}},{"ruleId":"D1","level":"warning","message":{"text":"ParakeetEouCommand.runBenchmark (cyclomatic 23): ParakeetEouCommand.runBenchmark 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"119eaa1f85050aa0464c917ff2b2c07712697c3c2c3e2eac7737ccd3b82117db"}},{"ruleId":"D1","level":"warning","message":{"text":"CohereMelSpectrogram.compute (cyclomatic 22): CohereMelSpectrogram.compute has cyclomatic complexity 22 (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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddcd986a746bd0c32ae5d0e971150664c216e2275bb8be1ef2a709a8bc078a4"}},{"ruleId":"D1","level":"warning","message":{"text":"ParaformerManager.decodeWithTimestamps (cyclomatic 22): ParaformerManager.decodeWithTimestamps 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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49e62713a38cb28a300a29ec34a05e4e5d7ae647f6a96d2c44837f4803a9d97"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineDiarizerConfig.validate (cyclomatic 22): OfflineDiarizerConfig.validate has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf02c8133c2d37432c5ec9da0b453c6a747111982c7d4ab4edf0bf6b97e400"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.collapseSeamWordDuplicates (cyclomatic 22): ChunkProcessor.collapseSeamWordDuplicates 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"9822a966406d0700c5516e4d4e24d74f6f72a8428a9f592a908abf573fa1d6af"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingEouAsrManager.processChunkAndDecode (cyclomatic 22): StreamingEouAsrManager.processChunkAndDecode has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"8232b79c371d54fcade4d0d06dbdce8f5f7ca6f3c29c5290cd529037e59559e7"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadCommand.run (cyclomatic 22): DownloadCommand.run has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DownloadCommand.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c38d82350adec6c510583bec88282e9d04ead8be562e5f1d8d78111fe643982"}},{"ruleId":"D1","level":"warning","message":{"text":"DiarizerTimeline.updateSegments (cyclomatic 21): DiarizerTimeline.updateSegments 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/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee21d8d3ca04e4fb4afff36aadff816cf6b99ad9c4605f072a1a0b954cd1b9f"}},{"ruleId":"D1","level":"warning","message":{"text":"SayAsInterpreter.addOrdinalSuffix (cyclomatic 21): SayAsInterpreter.addOrdinalSuffix 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/FluidAudio/TTS/SSML/SayAsInterpreter.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6766f41cebfdf4d2f26782de7ee5d73a405b0c358fea44a10a29ac3e3e26d8e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatterboxNanoSynthesizer.sample (cyclomatic 21): ChatterboxNanoSynthesizer.sample 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8352eefaf5ca3dd1f16a84a63de2b20f5431e147816ce00e1469720937be7fe2"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatterboxSynthesizer.sample (cyclomatic 21): ChatterboxSynthesizer.sample 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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8cb912f6cd4599980841279228f56938e5924a7c063463284d512f30e16807"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetDownloader.downloadCommonVoiceJapanese (cyclomatic 21): DatasetDownloader.downloadCommonVoiceJapanese 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d80cd79533585acbb723f3729434e4ec67fb2fb98d301780b115c0d25403de"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedBenchmark.seamArtifacts (cyclomatic 21): UnifiedBenchmark.seamArtifacts has cyclomatic complexity 21 (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/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"185cef88c3ef86a361556f9b4435ea4398466e05f3ed7127e63919be1dc49207"}},{"ruleId":"D1","level":"warning","message":{"text":"SlidingWindowAsrManager.processWindow (cyclomatic 20): SlidingWindowAsrManager.processWindow 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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f05be5bc3a98bfe53b71097fdc855e868f20eae848f517aeae8632e336e5053"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsConstantsLoader.loadVoiceSnapshot (cyclomatic 20): PocketTtsConstantsLoader.loadVoiceSnapshot 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/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"126235821ebde7c069118d960945f502c8d8d9a8de3c96b1392cc1e62bf32dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.spliceCandidate (cyclomatic 20): ChunkProcessor.spliceCandidate has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cb3fa309432ce2551084139a81fece23baf56915d9cb4e123e033007cc6d43"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.rebuildVocabularyBias (cyclomatic 20): StreamingNemotronMultilingualAsrManager.rebuildVocabularyBias 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd8efcd8c95afdbc7022b7c0d807986d9644f0d1c1a9dfaa4ab1190d47609ad"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcDPAlgorithm.ctcWordSpotMultiple (cyclomatic 20): CtcDPAlgorithm.ctcWordSpotMultiple 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcDPAlgorithm.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"20555b0c7607d84edfa75f80e85804150a9b8a6d5ff5f7e5c9f1a1dcc4f40cc9"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcDecoder.swift.ctcBeamSearch (cyclomatic 20): CtcDecoder.swift.ctcBeamSearch 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/FluidAudio/ASR/Parakeet/SlidingWindow/CTC/CtcDecoder.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb800de4b9ef6f69531fea476c3e9463d383005eb3b56e6c78349dd2d44f403"}},{"ruleId":"D1","level":"warning","message":{"text":"Nemotron3DiarizeCommand.runBatch (cyclomatic 20): Nemotron3DiarizeCommand.runBatch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb46184e46508976d818f4f0eb1b499037ff467ea6214efdbe1f61d1e7985d39"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetDownloader.downloadJSUTBasic5000 (cyclomatic 20): DatasetDownloader.downloadJSUTBasic5000 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c05be8be87c338ed99246f1b0c26f0c6c91c2a8bdddb3caf952ed6c2e8643d"}},{"ruleId":"D1","level":"warning","message":{"text":"WERCalculator.editDistance (cyclomatic 20): WERCalculator.editDistance 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/FluidAudioCLI/Utils/WERCalculator.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43f7995ee30806d3c1772a689e1178648fe1d66393e0aa8abfc8043f9442bc4"}},{"ruleId":"D1","level":"warning","message":{"text":"NemotronMultilingualTranscribe.run (cyclomatic 20): NemotronMultilingualTranscribe.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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9ee04995726e5bb7cb67abd1b61f7c873f139d30d9b692fc8603e7cdaf203d"}},{"ruleId":"D1","level":"warning","message":{"text":"Nemotron3StateUpdater.topKIndices (cyclomatic 19): Nemotron3StateUpdater.topKIndices 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/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c7023725a6444ac007809771205c1bb726dff2f9810027134f0f844d83b1b2"}},{"ruleId":"D1","level":"warning","message":{"text":"MultilingualG2PModel.phonemize (cyclomatic 19): MultilingualG2PModel.phonemize 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/FluidAudio/TTS/G2P/MultilingualG2PModel.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8642a74a41fa7045a4c20ac5b625ccd547490114de0f02da50d76e40f2afaa"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingUnifiedAsrManager.processWindow (cyclomatic 19): StreamingUnifiedAsrManager.processWindow 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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6021eb14eea43461497cf5165a7897afae92702b6cd7e8e03896f5606c3e3fef"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.mergeUsingMatches (cyclomatic 19): ChunkProcessor.mergeUsingMatches 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcf10bca2f5c9199e62da65ccae60e9d1c00c8cf7bb13d3f51765262581083b"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinBopomofoMap.encode (cyclomatic 19): MandarinBopomofoMap.encode 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. This is NOT this file\u0027s highest cyclomatic complexity: MandarinBopomofoMap.normalizePinyinForLookup (cyclomatic 25) 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinBopomofoMap.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e43f887e9a5fcece73db647a8608c8b5aed31a694e194b4f66cea69a6310f7"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinNumberNormalizer.fourDigitChunk (cyclomatic 19): MandarinNumberNormalizer.fourDigitChunk 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba8323d0ed69a662f6574b54a84c2c43e3b120f436e096f8d5fea93fd90f317"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinToneSandhiPOS.applyBuYiSandhi (cyclomatic 19): MandarinToneSandhiPOS.applyBuYiSandhi 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinToneSandhiPOS.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e98b72ed3a4702aa89d2026d26247654350548916e60acd601d3437f9220c73"}},{"ruleId":"D1","level":"warning","message":{"text":"EnhanceBenchmarkDataset.parseMetadata (cyclomatic 19): EnhanceBenchmarkDataset.parseMetadata 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/FluidAudioCLI/Commands/EnhanceBenchmarkDataset.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbc1d0db9ba9eb46dad9ff71cce8c7539ea4132fbc14a08b83b7e380a2edc83"}},{"ruleId":"D1","level":"warning","message":{"text":"JapaneseAsrBenchmark.run (cyclomatic 19): JapaneseAsrBenchmark.run 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/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"837ee211934294a224f2fab9fa1f42314398c37b998f799e33555439e2529c41"}},{"ruleId":"D1","level":"warning","message":{"text":"SenseVoiceBenchmark.run (cyclomatic 19): SenseVoiceBenchmark.run 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/FluidAudioCLI/Commands/ASR/SenseVoiceBenchmark.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0450cbcb59d624213cfb10d9645cc169390d4075633267e9fc1cb035f3a5b2"}},{"ruleId":"D1","level":"warning","message":{"text":"G2PModel.loadIfNeeded (cyclomatic 18): G2PModel.loadIfNeeded 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/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5014ffe4ba5777f4fe528f531b1c276910c5b2811920a869deaf3c368481fa05"}},{"ruleId":"D1","level":"warning","message":{"text":"VDSPOperations.pairwiseEuclideanDistances (cyclomatic 18): VDSPOperations.pairwiseEuclideanDistances 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/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f36a6db290964e85229716e068b840ff43bced842cc4df80f1602f6811a438"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsConstantsLoader.parseSafetensors (cyclomatic 18): PocketTtsConstantsLoader.parseSafetensors 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/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"761b59c2b5fea2842d8f4a679d8ad856aff7c284e8dd30f63372420268507b12"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.preloadShared (cyclomatic 18): StreamingNemotronMultilingualAsrManager.preloadShared 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26a55d10905112bd2bd6c87efb5d316c309d5f77e9846d4409adc9d8c584a9a"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinG2P.phonemize (cyclomatic 18): MandarinG2P.phonemize has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e5de605d449304fa4c769bc37b50080818747d2151cab5fd4620db1c376cd"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.evaluateCTCMatch (cyclomatic 18): VocabularyRescorer.evaluateCTCMatch 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"264bc1fa9622a68fe2c38b88e2b18a80ce00c2ad58852847e9987851b4c1835a"}},{"ruleId":"D1","level":"warning","message":{"text":"ASRBenchmark.generateWordDifferences (cyclomatic 18): ASRBenchmark.generateWordDifferences has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aa38adf5836de39cd603dd51717017e5292f6bdc7a27e338f6f9535f7175ce"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedBenchmark.run (cyclomatic 18): UnifiedBenchmark.run has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7b5625a1523aaaa771051678b8ac74aaec006f0f6a8f346b7af0a017ca3619"}},{"ruleId":"D1","level":"warning","message":{"text":"CanaryKeywordBooster.boost (cyclomatic 17): CanaryKeywordBooster.boost 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/FluidAudio/ASR/Canary/CanaryKeywordBooster.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e527db7eff49f4ef28378b7bbfbc6942603bdbf8ac6a7f14fc058d5cd501d64"}},{"ruleId":"D1","level":"warning","message":{"text":"RomanceNumberNormalizer.read (cyclomatic 17): RomanceNumberNormalizer.read 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/FluidAudio/TTS/KokoroAne/G2P/RomanceNumberNormalizer.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabad0b4d3df82d2d34a605eb25b3138e0d3946a3cd7b0662d31aa2c4f0168bc"}},{"ruleId":"D1","level":"warning","message":{"text":"AsrManager.transcribeChunk (cyclomatic 17): AsrManager.transcribeChunk 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bf5a1a28b73dd067041e8d910be59ac4dbefaa48fbabff00bda2db1efc2499"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinG2P.normalizeText (cyclomatic 17): MandarinG2P.normalizeText 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8384c75eea1afa82cfe034e439216c312a6315098fd4fba9fdbe2ea4b5f38f"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinJiebaHmm.segment (cyclomatic 17): MandarinJiebaHmm.segment 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinJiebaHmm.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa1712fa12fccad9efc9fa70ffec16f4faa5757af7bfa4761a7eadf90e78468"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanishG2P.phonemizeWord (cyclomatic 17): SpanishG2P.phonemizeWord 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/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"63513fe8d1d4e16f9774b3e75bfa67bb60966d0affd0ade4e7333aeb5bdce320"}},{"ruleId":"D1","level":"warning","message":{"text":"StyleTTS2Phonemizer.phonemize (cyclomatic 17): StyleTTS2Phonemizer.phonemize 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/FluidAudio/TTS/StyleTTS2/Pipeline/Tokenizer/StyleTTS2Phonemizer.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0284afc1387197e121e26ba15d34445546f9c4570e5963f8d27bbb365e37c788"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.alignBaseWordsToUTF8Ranges (cyclomatic 17): VocabularyRescorer.alignBaseWordsToUTF8Ranges 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"31089b458f13ca269f63f15cbace90d4b51826b6c368bb1715c6d88691fe5f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetDownloader.downloadEarnings22KWS (cyclomatic 17): DatasetDownloader.downloadEarnings22KWS 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfb72eca16308a4764e0742d8c54f45b8cc38cc847ae33286393624c8938ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"FLEURSBenchmark.downloadFLEURS (cyclomatic 17): FLEURSBenchmark.downloadFLEURS 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c04406295a5671cc849a17ee62d0e43955cffbea0dee679688cbe85aea00a6"}},{"ruleId":"D1","level":"warning","message":{"text":"nemo_ami_benchmark.calculate_der (cyclomatic 17): nemo_ami_benchmark.calculate_der 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":"Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c93bc7d1b7ef9021046ed4b1f82e1bd93d67e32b83ba614205b2a05508327a"}},{"ruleId":"D1","level":"warning","message":{"text":"CoherePipeline.decodeCacheExternal (cyclomatic 16): CoherePipeline.decodeCacheExternal 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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b195242f1d05786eb651c0cd506a4bbcd61a958cd71f16c858753ad054fbad"}},{"ruleId":"D1","level":"warning","message":{"text":"AHCClustering.assignmentsFromDendrogram (cyclomatic 16): AHCClustering.assignmentsFromDendrogram 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/FluidAudio/Diarizer/Offline/Clustering/AHCClustering.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d24a62421164ed484a247da20a644b9440781245e6f965911eb6060cb0ca4"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineSortformerDiarizer.processComplete (cyclomatic 16): OfflineSortformerDiarizer.processComplete has cyclomatic complexity 16 (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/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"563fd81d15cddfa42c1ae5c48072af7917662f079c5d3e0f4e630d6107bf5c59"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsSession.generateChunk (cyclomatic 16): PocketTtsSession.generateChunk 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d33d8e314490a777bd88979687c4579ac91a6360aedd9b80ead1ddc7236cb1c"}},{"ruleId":"D1","level":"warning","message":{"text":"AsrModels.load (cyclomatic 16): AsrModels.load 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fd506032ee1b78ff55d96594c04e4609220e9273408439f286f85cf7907f6f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.repairSeamGaps (cyclomatic 16): ChunkProcessor.repairSeamGaps 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2385af9771db1b0090c1b2b251da2bb3f1993b9c165f9d9a7e44799c82b5bfb"}},{"ruleId":"D1","level":"warning","message":{"text":"KokoroAneEnglishPhonemizer.resolveWord (cyclomatic 16): KokoroAneEnglishPhonemizer.resolveWord 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/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1453709cba7c2e48eec9ef1e638c081b612f2a1a5b25fcf37a7f383ebe987a"}},{"ruleId":"D1","level":"warning","message":{"text":"FrenchPhonology.tokenize (cyclomatic 16): FrenchPhonology.tokenize 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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e935e418086301ea704ec0b5d68e86c492068adc1212499dd9da97642a0af79e"}},{"ruleId":"D1","level":"warning","message":{"text":"JapaneseCutlet.romajiTokens (cyclomatic 16): JapaneseCutlet.romajiTokens 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/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b14aed37029eda549df5815c896f6595aebba38148b137ac68b0b3aaa6f7c83"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinToneSandhi.apply (cyclomatic 16): MandarinToneSandhi.apply 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinToneSandhi.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e34425ddbf528341f87bbb6da8bc1d0b1ae38fd2e34b5704e67d944cfc2fbd"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcKeywordSpotter.computeLogProbsChunked (cyclomatic 16): CtcKeywordSpotter.computeLogProbsChunked 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b6e7cb5ba6c5ce4a6d955022def0b923112cde87198f29bf2675c92c03e54e"}},{"ruleId":"D1","level":"warning","message":{"text":"DatasetDownloader.downloadVoicesSubset (cyclomatic 16): DatasetDownloader.downloadVoicesSubset 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"a920f970fd0318c3e63fdd7fc0df0eb076ddb9b6ec6f30252eca148f231a9b40"}},{"ruleId":"D1","level":"warning","message":{"text":"NemotronBenchmark.run (cyclomatic 16): NemotronBenchmark.run 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4db09babdf69923c6cf531572ea43fbd26b0f6566b13bdcd5a368618b1b67ac"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.runSpeculativeBlankDecodeV2 (cognitive 209): StreamingNemotronMultilingualAsrManager.runSpeculativeBlankDecodeV2 has cognitive complexity 209 (threshold 15). Drivers by points: if/else 55 (149 pts), loops 9 (32 pts), boolean chains 17, ternaries 5 (11 pts) (nesting depth added 123). 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d3e6f713128917963bca1f394d5bfe07195396e9eb1df8ecd0dd1f89bffc02"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.processChunk (cognitive 168): StreamingNemotronMultilingualAsrManager.processChunk has cognitive complexity 168 (threshold 15). Drivers by points: if/else 64 (129 pts), boolean chains 36, loops 2 (3 pts) (nesting depth added 66). 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4a639865191947ea9bedcbcf99fb5c12f4a11631b91ced6d84b13671303e99"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamDiarizationBenchmark.run (cognitive 163): StreamDiarizationBenchmark.run has cognitive complexity 163 (threshold 15). Drivers by points: if/else 63 (151 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 91). 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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8897038842806031ece8ccb7018efdc49df1d19c8eeb870c2ced88b685c7d37d"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineSegmentationProcessor.process (cognitive 138): OfflineSegmentationProcessor.process has cognitive complexity 138 (threshold 15). Drivers by points: if/else 39 (90 pts), loops 12 (36 pts), ternaries 2 (6 pts), boolean chains 3, match/switch 1 (2 pts), error handling 1 (nesting depth added 80). 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/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"091bd0535aae9125769e50cc9aeddcb781a7139059efe149f273befdbd72e822"}},{"ruleId":"D2","level":"warning","message":{"text":"TTS.run (cognitive 136): TTS.run has cognitive complexity 136 (threshold 15). Drivers by points: if/else 42 (111 pts), match/switch 5 (15 pts), boolean chains 9, loops 1 (nesting depth added 79). 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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdc2a96a3467c83cc3df7f068a5e29b7b19e21101f5ca8221fa99886921c4df"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerCommand.run (cognitive 128): SortformerCommand.run has cognitive complexity 128 (threshold 15). Drivers by points: if/else 48 (95 pts), boolean chains 15, loops 6 (13 pts), match/switch 2 (3 pts), error handling 2 (nesting depth added 55). 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/FluidAudioCLI/Commands/SortformerCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3c84ec50c21b2db24b14e4abe8b7dbe1a8baf81260e5ede3da98dcc4486749"}},{"ruleId":"D2","level":"warning","message":{"text":"LSEENDBenchmark.run (cognitive 118): LSEENDBenchmark.run has cognitive complexity 118 (threshold 15). Drivers by points: if/else 49 (95 pts), match/switch 3 (10 pts), error handling 3 (5 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 57). 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"37adaa5d9264b242df9cb833127deb93d8b659e614d21b8864c43983319b1a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.findCandidateTermsForWord (cognitive 115): VocabularyRescorer.findCandidateTermsForWord has cognitive complexity 115 (threshold 15). Drivers by points: if/else 24 (82 pts), loops 7 (23 pts), boolean chains 10 (nesting depth added 74). 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c95094b132ac3d062119b92f3615f75ad4a0a05b5c253d931b4e3fa0767ba0"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhanceBenchmarkCommand.run (cognitive 110): EnhanceBenchmarkCommand.run has cognitive complexity 110 (threshold 15). Drivers by points: if/else 18 (46 pts), ternaries 9 (29 pts), loops 8 (18 pts), boolean chains 11, match/switch 2 (5 pts), error handling 1 (nesting depth added 61). 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/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe1675a2dc271b0c45bac38379e6b2605c6e9522fde38de9ce268f2aba0887c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.processWithDualDecodeArbitration (cognitive 109): ChunkProcessor.processWithDualDecodeArbitration has cognitive complexity 109 (threshold 15). Drivers by points: loops 13 (43 pts), if/else 24 (38 pts), ternaries 11 (17 pts), boolean chains 11 (nesting depth added 50). 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a2c7183178a231ca596c2d82b46381fc38575103f9b0a8324689461d65a60"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessCommand.parseArguments (cognitive 107): ProcessCommand.parseArguments has cognitive complexity 107 (threshold 15). Drivers by points: if/else 35 (100 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 69). 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/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a31df499c6d46bc8e27eefbb41945f4d8a1cbcfd13f828027fa11dfe9c8b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerBenchmark.run (cognitive 102): SortformerBenchmark.run has cognitive complexity 102 (threshold 15). Drivers by points: if/else 48 (89 pts), loops 3 (5 pts), ternaries 3, boolean chains 2, match/switch 1 (2 pts), error handling 1 (nesting depth added 44). 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/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68256c8c1df3c64f186a6b3e257c4b5b917886c6e5872b59ffe414a2b22303b"}},{"ruleId":"D2","level":"warning","message":{"text":"ASRBenchmark.runASRBenchmark (cognitive 101): ASRBenchmark.runASRBenchmark has cognitive complexity 101 (threshold 15). Drivers by points: if/else 31 (74 pts), match/switch 4 (11 pts), error handling 3 (8 pts), ternaries 5, boolean chains 2, loops 1 (nesting depth added 55). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d1ff9d789e40e3841bf23de9f746f53bf767b06b88855451dd3ad6e2cded42"}},{"ruleId":"D2","level":"warning","message":{"text":"EmissionDelayBenchmark.runCLI (cognitive 101): EmissionDelayBenchmark.runCLI has cognitive complexity 101 (threshold 15). Drivers by points: if/else 28 (74 pts), boolean chains 10, loops 3 (6 pts), match/switch 2 (6 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 55). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a210072275dc5cda574a64fcbfd8b6730f84cacb23a1d911b590094b1d6c657e"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcEarningsBenchmark.runCLI (cognitive 97): CtcEarningsBenchmark.runCLI has cognitive complexity 97 (threshold 15). Drivers by points: if/else 32 (69 pts), ternaries 7 (13 pts), match/switch 3 (8 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (nesting depth added 49). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f67867985af90667b5548d3cbe1a43a79b330c46bd806204f976ccd196aadb"}},{"ruleId":"D2","level":"warning","message":{"text":"VBxClustering.runVBx (cognitive 95): VBxClustering.runVBx has cognitive complexity 95 (threshold 15). Drivers by points: if/else 29 (55 pts), boolean chains 23, loops 10 (17 pts) (nesting depth added 33). 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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c57632412d873dee2a678735bc6fca39313a5dba899f2d462bd3fffeb069aa"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamDiarizationBenchmark.calculateStreamingMetrics (cognitive 89): StreamDiarizationBenchmark.calculateStreamingMetrics has cognitive complexity 89 (threshold 15). Drivers by points: if/else 19 (51 pts), loops 11 (21 pts), boolean chains 11, ternaries 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 45). 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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ec4de276d500a26ef987beed0d153fe6ab1d4c12a2900e21b3df7c05ef4b7"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineEmbeddingExtractor.extractEmbeddings (cognitive 88): OfflineEmbeddingExtractor.extractEmbeddings has cognitive complexity 88 (threshold 15). Drivers by points: if/else 37 (56 pts), ternaries 7 (14 pts), loops 7 (12 pts), boolean chains 5, error handling 1 (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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7504c7f351a9c07c465ba87aacec307351fc7449a8bc21656cacb008e2bae3a4"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.phonemizeClause (cognitive 87): LuxTtsG2p.phonemizeClause has cognitive complexity 87 (threshold 15). Drivers by points: if/else 18 (52 pts), boolean chains 16, loops 7 (15 pts), match/switch 2 (4 pts) (nesting depth added 44). 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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f6608b8bd96b0715b167655942cff01c1777caed3a4488f47999f78717eaa7"}},{"ruleId":"D2","level":"warning","message":{"text":"CanaryEarningsBenchmark.run (cognitive 87): CanaryEarningsBenchmark.run has cognitive complexity 87 (threshold 15). Drivers by points: if/else 16 (47 pts), ternaries 8 (19 pts), loops 3 (8 pts), boolean chains 7, error handling 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 50). 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/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b39687685aca3ca4f3b11ab611d48aca0a3aa2dbb7a70929302885ad9c8a90"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.parseArguments (cognitive 87): TranscribeCommand.parseArguments has cognitive complexity 87 (threshold 15). Drivers by points: if/else 27 (78 pts), match/switch 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 55). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"985fce98dd8c3241f7b33d7df52a793ab2385a6ec981afcc0b4b3b8f65c1198e"}},{"ruleId":"D2","level":"warning","message":{"text":"LSEENDCommand.run (cognitive 85): LSEENDCommand.run has cognitive complexity 85 (threshold 15). Drivers by points: if/else 23 (48 pts), loops 7 (15 pts), boolean chains 10, match/switch 3 (10 pts), error handling 2 (nesting depth added 40). 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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"675891d9c2305b3a2f38871d2eae036dd0be562dcd4bf1b01c877637dc04b649"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronMultilingualFleursBenchmark.runCLI (cognitive 84): NemotronMultilingualFleursBenchmark.runCLI has cognitive complexity 84 (threshold 15). Drivers by points: if/else 26 (63 pts), match/switch 3 (9 pts), ternaries 2 (4 pts), error handling 2 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 47). 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f62a9636f3406f48524ff166c5c28538a5fd2fef41ef47bd3a149309f9a3b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TtsBenchmarkCommand.run (cognitive 80): TtsBenchmarkCommand.run has cognitive complexity 80 (threshold 15). Drivers by points: if/else 26 (66 pts), match/switch 2 (4 pts), error handling 3, loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 45). 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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa30a3b34ef01c373d8ec043fde1c5878d8225c5ea3ae476e89de72d668d8b5"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.runStreaming (cognitive 80): TranscribeCommand.runStreaming has cognitive complexity 80 (threshold 15). Drivers by points: if/else 19 (41 pts), loops 7 (25 pts), ternaries 3 (9 pts), match/switch 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 48). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b83a5e798f0de6b3fbd1b2eaa62f3d8e9e788ff26b33f4cc60c1687038e2756"}},{"ruleId":"D2","level":"warning","message":{"text":"TdtDecoderV3.decodeWithTimings (cognitive 74): TdtDecoderV3.decodeWithTimings has cognitive complexity 74 (threshold 15). Drivers by points: if/else 27 (51 pts), boolean chains 18, loops 3 (5 pts) (nesting depth added 26). 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"614ff33d420b9b5656508f40c2ece1f917f127c4b452c6769e3eebe73b9f92be"}},{"ruleId":"D2","level":"warning","message":{"text":"VadManager.detectSpeechSampleRanges (cognitive 72): VadManager.detectSpeechSampleRanges has cognitive complexity 72 (threshold 15). Drivers by points: if/else 30 (67 pts), boolean chains 3, loops 2 (nesting depth added 37). 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/FluidAudio/VAD/VadManager.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeee0c7b2fdd6fb00ea8fa24ca0153795de9a5efb40dd97638d04c20d0f4a9ff"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineReconstruction.buildSegments (cognitive 72): OfflineReconstruction.buildSegments has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (40 pts), loops 13 (21 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Utils/OfflineReconstruction.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aac621af58ea546a6768f29e9e9504541a16fc683d737ad56cfaa5f9908c01f"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcEarningsBenchmark.processFile (cognitive 71): CtcEarningsBenchmark.processFile has cognitive complexity 71 (threshold 15). Drivers by points: if/else 30 (42 pts), boolean chains 15, ternaries 4 (8 pts), loops 5 (6 pts) (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":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5c59097821af271d471bc5161e37484b69b8f9e62d22744ef10526abdec4cf"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcDecodeBenchmark.runCLI (cognitive 69): CtcDecodeBenchmark.runCLI has cognitive complexity 69 (threshold 15). Drivers by points: if/else 26 (56 pts), loops 4 (8 pts), boolean chains 2, match/switch 1 (2 pts), error handling 1 (nesting depth added 35). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f2905825ee80aaeddb8b617935ce5937a51491a8d2fdeb782223f79c7fa07a"}},{"ruleId":"D2","level":"warning","message":{"text":"FLEURSBenchmark.downloadLanguageSamples (cognitive 69): FLEURSBenchmark.downloadLanguageSamples has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (40 pts), error handling 4 (9 pts), loops 3 (9 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 40). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"135484016b149b75cbd5ef6140142ade132afb30cd007d5438d4e31ee6577312"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronMultilingualMultiStreamBench.run (cognitive 68): NemotronMultilingualMultiStreamBench.run has cognitive complexity 68 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 12 (18 pts), error handling 3 (6 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 2 (nesting depth added 30). 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualMultiStreamBench.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c2e1164af9ae040a409e04242291f630144c4682baf78d972dc1faa273a6cf"}},{"ruleId":"D2","level":"warning","message":{"text":"JapaneseTokenizer.tokenize (cognitive 67): JapaneseTokenizer.tokenize has cognitive complexity 67 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 11 (25 pts), boolean chains 4, ternaries 3 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseTokenizer.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f059656e65792850deee8b2bd4cb7f5ca5bf1f900ef64445038dddbf8f6d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrManager.reconcileFinalWindowSeam (cognitive 65): AsrManager.reconcileFinalWindowSeam has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 33, if/else 16 (23 pts), loops 4 (5 pts), ternaries 3 (4 pts) (nesting depth added 9). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79eb57155102fd701cbd0c243dd23ab04c675fbfe376511b498e202ea8c4ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcDPAlgorithm.fillDPTable (cognitive 64): CtcDPAlgorithm.fillDPTable has cognitive complexity 64 (threshold 15). Drivers by points: if/else 13 (28 pts), ternaries 7 (24 pts), loops 6 (8 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcDPAlgorithm.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d344c082421bd5ffd17ab527d4336f235f7ee19f77c0a6ca361bd193f572f97"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereBenchmark.run (cognitive 63): CohereBenchmark.run has cognitive complexity 63 (threshold 15). Drivers by points: if/else 21 (49 pts), boolean chains 8, match/switch 2 (4 pts), error handling 1, loops 1 (nesting depth added 30). 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7c14a3cd2e8a28c2af077e268df892f807ca4c4bac0b8280c1a15b98b1e007"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.rescoreWithConstrainedCTCWordCentric (cognitive 62): VocabularyRescorer.rescoreWithConstrainedCTCWordCentric has cognitive complexity 62 (threshold 15). Drivers by points: if/else 17 (43 pts), ternaries 4 (10 pts), loops 3 (5 pts), boolean chains 4 (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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"8165f403d3bc259414051a22d498fe472b52c761e176cadd0ad0bc070612aed9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.process (cognitive 61): ChunkProcessor.process has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (26 pts), ternaries 11 (21 pts), boolean chains 10, loops 3 (4 pts) (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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df5136203082ef41d3e16e27fb86b4791f775ee049ea2a9660528917bd49edb"}},{"ruleId":"D2","level":"warning","message":{"text":"FrenchPhonology.phonemize (cognitive 61): FrenchPhonology.phonemize has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (29 pts), ternaries 6 (15 pts), boolean chains 10, loops 4 (7 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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdc1d27ee3b28c962f802ab0da8065927e2b4178ebe3d5599311fd608e34a49"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcEarningsBenchmark.applyKeywordCorrections (cognitive 61): CtcEarningsBenchmark.applyKeywordCorrections has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (42 pts), loops 5 (12 pts), boolean chains 7 (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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c8da1008a32872923baa40f2166814e91da1662ad650d06e221102e20daa97"}},{"ruleId":"D2","level":"warning","message":{"text":"FLEURSBenchmark.runCLI (cognitive 60): FLEURSBenchmark.runCLI has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (39 pts), match/switch 3 (10 pts), ternaries 4 (7 pts), loops 2 (3 pts), error handling 1 (nesting depth added 33). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"22080bf04c751cb963e742a9f3eadc2bb3578749d3a6c0c27d36627ba6de71c3"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronVocabBenchmark.runCLI (cognitive 60): NemotronVocabBenchmark.runCLI has cognitive complexity 60 (threshold 15). Drivers by points: if/else 16 (38 pts), loops 4 (10 pts), boolean chains 5, ternaries 1 (4 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronVocabBenchmark.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00ba532dbb08ad793be66367dc7e06b80f20ce5c2903781b1af3b16cf43e850"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.runBatch (cognitive 58): TranscribeCommand.runBatch has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (35 pts), loops 3 (13 pts), boolean chains 6, match/switch 1 (3 pts), error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b79416d88b6b97e865e37f287efcbd93901e21d9b540e059f389f4c7b1edfdb"}},{"ruleId":"D2","level":"warning","message":{"text":"FLEURSBenchmark.downloadFLEURS (cognitive 57): FLEURSBenchmark.downloadFLEURS has cognitive complexity 57 (threshold 15). Drivers by points: if/else 9 (31 pts), ternaries 2 (11 pts), loops 3 (10 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 40). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae7ca1a75eff39427b195c2f8f0be320c1ffe5006b72393401fae3b6a69c05a"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.phonemizeNormalized (cognitive 55): LuxTtsG2p.phonemizeNormalized has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 15, loops 4 (6 pts), match/switch 1 (4 pts) (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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa35186e8fa00487849cc6431c42c9739a0a993e7401e4b41306223193aa4cb"}},{"ruleId":"D2","level":"warning","message":{"text":"G2PBenchmark.runBenchmark (cognitive 52): G2PBenchmark.runBenchmark has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (35 pts), ternaries 4 (7 pts), error handling 2 (4 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 26). 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/FluidAudioCLI/Commands/G2PBenchmark.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c919eb801c783c52a5a0e6239b93ffb2b454f895f7be005dea28594094f88f75"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxAlignmentAnalyzer.step (cognitive 51): ChatterboxAlignmentAnalyzer.step has cognitive complexity 51 (threshold 15). Drivers by points: loops 11 (26 pts), if/else 11 (16 pts), boolean chains 9 (nesting depth added 20). 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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxAlignmentAnalyzer.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3742a7e754fe61c7d2a9527b54a8238949db53a497464899e9c7ed5b7ce19d46"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanishG2P.segment (cognitive 51): SpanishG2P.segment has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 12, ternaries 2 (4 pts), match/switch 1 (2 pts), loops 1 (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":"Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9b30429382d2c9ef0836ed9e59d65b0445d64fbe8e5c99ce473ee37a988aff"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerStateUpdater.getTopKIndices (cognitive 50): SortformerStateUpdater.getTopKIndices has cognitive complexity 50 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 9 (16 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 23). 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/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b47ce38e7774c4c901ac335a48eed5691d79360667fe054ec8281d4cc98518"}},{"ruleId":"D2","level":"warning","message":{"text":"TTSAsrVerifyCommand.run (cognitive 50): TTSAsrVerifyCommand.run has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (33 pts), ternaries 5 (10 pts), loops 2 (3 pts), error handling 2, match/switch 1 (2 pts) (nesting depth added 24). 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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e379d779c1451b675dee9ea29dfff422b8829ce7dc1f2f9ea70298b971cb85"}},{"ruleId":"D2","level":"warning","message":{"text":"FrenchPhonology.mapToEspeak (cognitive 49): FrenchPhonology.mapToEspeak has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 24, if/else 10 (18 pts), ternaries 2 (4 pts), loops 3 (nesting depth added 10). 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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc75d9c825353664cd36557fa1657a68ce2598ae0ddc6ac40b82798c9c488e1"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanishG2P.phonemize (cognitive 49): SpanishG2P.phonemize has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 5 (12 pts), boolean chains 10, loops 2, match/switch 1 (2 pts) (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/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbe5443a5e98ba572f159c33fab0a9055fbc14df3a3a8110347300309dd8ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"TtsBenchmarkCommand.runPhraseLoop (cognitive 49): TtsBenchmarkCommand.runPhraseLoop has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 14 (27 pts), if/else 10 (14 pts), loops 4 (6 pts), boolean chains 2 (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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be4bb3a1639602c4a2283a60de71906c886b36ea65062b21c3e87baddafb1a6"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizationDER.compute (cognitive 47): DiarizationDER.compute has cognitive complexity 47 (threshold 15). Drivers by points: loops 13 (26 pts), if/else 8 (15 pts), boolean chains 5, ternaries 1 (nesting depth added 20). 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/FluidAudio/Diarizer/DiarizationDER.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d2ab7f236d9585020ff806b45a5a3d26357359f1797eba9abaf46c03d9ed6a"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2P.segment (cognitive 47): MandarinG2P.segment has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 4 (8 pts), boolean chains 5 (nesting depth added 23). 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"26163d286df1be6451fc0560cf29a9f89b2c18b74d0968d028f85174988890c6"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcDecoder.swift.ctcBeamSearch (cognitive 45): CtcDecoder.swift.ctcBeamSearch has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 4 (17 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 24). 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/FluidAudio/ASR/Parakeet/SlidingWindow/CTC/CtcDecoder.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"303a22a04d625e7f08b1c0e173f27876f2fe0b4c5358b847aeebf32044184f9a"}},{"ruleId":"D2","level":"warning","message":{"text":"VadBenchmark.runVadBenchmarkWithErrorHandling (cognitive 45): VadBenchmark.runVadBenchmarkWithErrorHandling has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (33 pts), match/switch 2 (6 pts), ternaries 2 (3 pts), boolean chains 2, loops 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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf5ed48e1c2b9b89738d11f77937bc54355609ec6d2ea57fd5fe451093c7a47"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereTranscribeCommand.run (cognitive 45): CohereTranscribeCommand.run has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 6, match/switch 2 (6 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97d6f2f2fa71fca6738bd460804debc4ca2096629070cfebf3b8257edb4dc89"}},{"ruleId":"D2","level":"warning","message":{"text":"SlidingWindowAsrManager.processWindow (cognitive 44): SlidingWindowAsrManager.processWindow has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 5, loops 1 (4 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 24). 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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d3bb7332525de9b74ae4ce78d76222ccf59e1649c3bf171d2c8d34bcfe4644"}},{"ruleId":"D2","level":"warning","message":{"text":"ParakeetEouCommand.main (cognitive 44): ParakeetEouCommand.main has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (34 pts), match/switch 3 (4 pts), error handling 2 (3 pts), boolean chains 2, loops 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"397ae72b89d3fcb799ef8e4ad14520f2e644be0aa73c6660d459f5455c890081"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenLanguageFilter.matches (cognitive 43): TokenLanguageFilter.matches has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 23, if/else 9 (19 pts), match/switch 1 (nesting depth added 10). 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/FluidAudio/Shared/TokenLanguageFilter.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee0b2cd808d7190741412ffce7152013f2263eade3b853895a3ccf8c8e2392d"}},{"ruleId":"D2","level":"warning","message":{"text":"Nemotron3StateUpdater.topKIndices (cognitive 43): Nemotron3StateUpdater.topKIndices has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 6 (13 pts), boolean chains 6 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd101deb5c124d896ffe210589f2b11aa5631acca9c9ca7aae478421e1d02f11"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.repairSeamGaps (cognitive 43): ChunkProcessor.repairSeamGaps has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (32 pts), loops 3 (6 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b321cc76b6f72f871c212355dab5e0ac9812afe02d45e299b84f5fa4b0ed16"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronAsrManager.processChunk (cognitive 43): StreamingNemotronAsrManager.processChunk has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 14, loops 2 (3 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e60965b434d11cd8ac045da89189f82d10931bf9f7807f93272881f97ec75c"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadCommonVoiceJapanese (cognitive 42): DatasetDownloader.downloadCommonVoiceJapanese has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (27 pts), boolean chains 6, error handling 3 (5 pts), loops 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08fd175fc219d387aee922ad99e46c001e5f5295eee84f5b075b2ac8fe185b6"}},{"ruleId":"D2","level":"warning","message":{"text":"G2PModel.phonemize (cognitive 41): G2PModel.phonemize has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 9 (15 pts), boolean chains 5, ternaries 2 (5 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/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e638c2c9941afeef966f3056e4e898eb7781566609bac9e4d6e67ca6dd68a5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.warmupModels (cognitive 41): StreamingNemotronMultilingualAsrManager.warmupModels has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 11 (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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c561d8397ee8625cc03ba07d61794fc4978bd53d125479e1e1dd7d63e1e09d"}},{"ruleId":"D2","level":"warning","message":{"text":"JapaneseCutlet.singleMapping (cognitive 41): JapaneseCutlet.singleMapping has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (31 pts), boolean chains 10 (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/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7892d639d65b604583353c4c9051c78eabe381941c8a17674bd8d0dceb41ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadVoicesSubset (cognitive 41): DatasetDownloader.downloadVoicesSubset has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 2 (7 pts), ternaries 1 (5 pts), boolean chains 3, error handling 2 (nesting depth added 23). 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27adced108ce413858b083437e3f2206b3102254a2ee1853baa8d7f85716598"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadJSUTBasic5000 (cognitive 41): DatasetDownloader.downloadJSUTBasic5000 has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (27 pts), boolean chains 5, error handling 3 (5 pts), loops 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce7995f1e78e3786d5dc58b38707be361eccbe53d11058b9d4fc8e43762815b"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereMelSpectrogram.compute (cognitive 40): CohereMelSpectrogram.compute has cognitive complexity 40 (threshold 15). Drivers by points: loops 15 (31 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 19). 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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"759eab5b1d2337e66f037ea28e390b4c927c1d221214f403da0df52ff06a0b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"SayAsInterpreter.formatDate (cognitive 40): SayAsInterpreter.formatDate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 7, match/switch 1 (nesting depth added 18). 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/FluidAudio/TTS/SSML/SayAsInterpreter.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"57286d856099370b50b0ea9ea82f52ebea69a40214bb52263a62d8b9595b8f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"AHCClustering.assignmentsFromDendrogram (cognitive 39): AHCClustering.assignmentsFromDendrogram has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 4 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Clustering/AHCClustering.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9ef938868041e7616544b35dec00533c2a96d1aa41b933af0ba37f2cc6d30d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.mergeUsingMatches (cognitive 39): ChunkProcessor.mergeUsingMatches has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 6, loops 2 (6 pts), ternaries 2 (4 pts) (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":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"224f0f347c701fe8ac4eddeea73cb22aa6b8fc6b2c8dba26b74cf8c641f56ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanishG2P.syllabify (cognitive 39): SpanishG2P.syllabify has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 9, loops 6 (8 pts), ternaries 1 (4 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/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"82315c1d78d07dc0b03e540f5a6c84c8dddb044d876bf7d3cfed9844d884a912"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineSortformerDiarizer.processComplete (cognitive 38): OfflineSortformerDiarizer.processComplete has cognitive complexity 38 (threshold 15). Drivers by points: loops 6 (20 pts), if/else 9 (17 pts), boolean chains 1 (nesting depth added 22). 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/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"532a2d6bc4f9a40810c4ef16391732eeac9d4cfaf9264fc432b508fbed58731f"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineDiff.generate (cognitive 38): InlineDiff.generate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 7 (8 pts), boolean chains 7, ternaries 5 (7 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/FluidAudioCLI/Utils/InlineDiff.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6cd13bc12bbb655c06b9baffb3c388591ff23b5109dcd83797eb0e72cf7395"}},{"ruleId":"D2","level":"warning","message":{"text":"ParakeetEouCommand.runBenchmark (cognitive 38): ParakeetEouCommand.runBenchmark has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 4 (6 pts), loops 3 (4 pts), ternaries 4 (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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf28ba197d9c8778003193f7e110e2e90ef856b23dc09cac73c0bf6ba584b0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizerTimeline.updateSegments (cognitive 37): DiarizerTimeline.updateSegments has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (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":"Sources/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ee4682d6e014d32a4dbe90af3cee86945979b6c82aabd26fe3190960de0d46"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxSynthesizer.sample (cognitive 37): ChatterboxSynthesizer.sample has cognitive complexity 37 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 9 (16 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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2327747a12e64a3ee1c75a71a5064d8552a8a186cfd6153fdb5078de7e282f78"}},{"ruleId":"D2","level":"warning","message":{"text":"FrenchPhonology.applyLiaison (cognitive 37): FrenchPhonology.applyLiaison has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 10, ternaries 4 (9 pts), match/switch 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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1e2e2b5800627e64ad0915886b33e2c8041ecb694584cbca90b0c4f7d4d2b9"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhanceCommand.run (cognitive 37): EnhanceCommand.run has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (28 pts), match/switch 2 (5 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/EnhanceCommand.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"64056d1195a257ef59e77c11411a3f0ab073d4b52ef34ce636507fe680addbad"}},{"ruleId":"D2","level":"warning","message":{"text":"SenseVoiceBenchmark.run (cognitive 37): SenseVoiceBenchmark.run has cognitive complexity 37 (threshold 15). Drivers by points: if/else 5 (15 pts), ternaries 4 (13 pts), loops 3 (6 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 23). 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/FluidAudioCLI/Commands/ASR/SenseVoiceBenchmark.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe314747e8b7e2f1bde95e9628d1674f32fe4c252c38ef15865907df887cba3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxNanoSynthesizer.sample (cognitive 36): ChatterboxNanoSynthesizer.sample has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 9 (15 pts), ternaries 1 (4 pts), boolean chains 2 (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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c1e4d7284f8191f59d9711487b2ee0127dcf29f92851576f3d2cfbc0c83869"}},{"ruleId":"D2","level":"warning","message":{"text":"ParaformerManager.decodeWithTimestamps (cognitive 34): ParaformerManager.decodeWithTimestamps has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 4 (8 pts), loops 5 (6 pts), boolean chains 3 (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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a457fcbcad37fbade4702bef8f780c3d2b340d4a90f446746ff3850f31731"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsSynthesizer.synthesize (cognitive 34): LuxTtsSynthesizer.synthesize has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (19 pts), loops 11 (15 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"013dbec23fd59f6c60c7c4eeee1f6f72ca625528ed2cc7a44845dfbe3bb165d9"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcDPAlgorithm.ctcWordSpotMultiple (cognitive 34): CtcDPAlgorithm.ctcWordSpotMultiple has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 4 (9 pts), loops 3 (4 pts), boolean chains 3 (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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcDPAlgorithm.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"41faf2d3645d9f0308bd22e90af84a765d8bd9c6e377f804af404e84b768cc85"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadVadFilesFromHF (cognitive 34): DatasetDownloader.downloadVadFilesFromHF has cognitive complexity 34 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 4 (11 pts), error handling 3 (9 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5dc011ad7fb53ccc70c89a0de7bfdc42c726a1ad5921f4a9f994dc33cf1c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadEarnings22KWS (cognitive 34): DatasetDownloader.downloadEarnings22KWS has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 4, loops 2 (4 pts), error handling 2 (3 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a963369c1b423d2f06460bb0948ba5c28caf9843c11be46fae97443b087de9"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronMultilingualFleursBenchmark.runLanguage (cognitive 34): NemotronMultilingualFleursBenchmark.runLanguage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (28 pts), error handling 2 (4 pts), loops 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"126c509422349abd0a8a6b3770ec9cbe06eeda92a0631fdaef32feb68f1ad3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"VadAnalyzeCommand.run (cognitive 33): VadAnalyzeCommand.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 2 (6 pts), ternaries 1 (3 pts), boolean chains 1, error handling 1, loops 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/FluidAudioCLI/Commands/VadAnalyzeCommand.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a962deda5a2a2ab72b66a31c9769aea47d86757bcd41d3f92b59c1c202c81b"}},{"ruleId":"D2","level":"warning","message":{"text":"JapaneseAsrBenchmark.run (cognitive 33): JapaneseAsrBenchmark.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (25 pts), error handling 2 (3 pts), match/switch 1 (2 pts), ternaries 1 (2 pts), loops 1 (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":"Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf9ecd6e43f36d72766f6b31e2f1a8c19bb400f561878f3c0151e3b18b9e40b"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronMultilingualTranscribe.run (cognitive 33): NemotronMultilingualTranscribe.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (8 pts), loops 2 (6 pts), error handling 2 (4 pts) (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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddf767e38cffaa7482a3cb706686731092e6e5d8937e835c4d9db8ffaefee1c"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingGenerator.generatePipelined (cognitive 32): StreamingGenerator.generatePipelined has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 3 (6 pts), boolean chains 2, 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"516ec3e579ac973dce29416e59e43ee6f2b8e1b9b4e8629a899e5695b43b4504"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.loadModels (cognitive 32): StreamingNemotronMultilingualAsrManager.loadModels has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 8 (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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26927c3c4ed431cd94c6c7557c1becd13100b0174ae5f04579858d5a52ac2bf"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinToneSandhiPOS.applyBuYiSandhi (cognitive 32): MandarinToneSandhiPOS.applyBuYiSandhi has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 6, loops 3 (4 pts), match/switch 1 (3 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinToneSandhiPOS.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4acb10b36bef2a490fc7d31e6113b8070f29aa9e35a055c141365155869ae85"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanishG2P.applyAllophones (cognitive 32): SpanishG2P.applyAllophones has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 11, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da58662f0affc338d7b81c521a55294c3e77f6910b97c22a4622adcaf4e7060"}},{"ruleId":"D2","level":"warning","message":{"text":"Nemotron3DiarizeCommand.runDiarize (cognitive 32): Nemotron3DiarizeCommand.runDiarize has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (6 pts), ternaries 2 (5 pts), match/switch 1 (2 pts), boolean chains 1, error handling 1 (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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6026e6b074ec404c7313a1be65e91f8a1f70e504f1b2d1bd5c3ff09241c3cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"CanaryTranscribeCommand.run (cognitive 32): CanaryTranscribeCommand.run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 1 (2 pts), ternaries 1 (2 pts), error handling 1, loops 1 (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":"Sources/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"043208b56a8626dc1abc175056c7e35d6ac3596c6a13f5e1d15a34662e312cea"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_localvqe_benchmark.verify (cognitive 32): verify_localvqe_benchmark.verify has cognitive complexity 32 (threshold 15). Drivers by points: loops 8 (13 pts), boolean chains 9, ternaries 4 (8 pts), if/else 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":"Scripts/verify_localvqe_benchmark.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd7cf0d6280281e679363f4838ebf31e2c9821ce5066b9213b1d5fd5b97b2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.alignBaseWordsToUTF8Ranges (cognitive 31): VocabularyRescorer.alignBaseWordsToUTF8Ranges has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"96df8e4a5da88f15d86296c9a4e7215d34b0e4c5a0b78212a36ee9281872e9e6"}},{"ruleId":"D2","level":"warning","message":{"text":"TTS.runPocketTts (cognitive 31): TTS.runPocketTts has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (23 pts), error handling 2 (4 pts), ternaries 2 (4 pts) (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":"Sources/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8ec27b0ae826045ff5ad54d820dc34777b0498e371f9b02b9c8d8bdd3c1174"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerStateUpdater.boostTopKScores (cognitive 30): SortformerStateUpdater.boostTopKScores has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 5 (13 pts), boolean chains 4 (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/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fefc6d420285a3aa1f9731f06d0d4547d4d8fe3945012c7f62bbf68b29a357"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineDiarizerManager.computeCentroids (cognitive 30): OfflineDiarizerManager.computeCentroids has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (7 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":"Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc1e9aa2c965f37745421b6205a2847d02beee2987b2883dec327ddd1793675"}},{"ruleId":"D2","level":"warning","message":{"text":"TTS.runKokoroAne (cognitive 30): TTS.runKokoroAne has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 2 (4 pts), error handling 2 (3 pts), match/switch 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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"7300e6e7daadb5d6d6d0cfe74b4bf35c252037d57fa224edd494e3463684552f"}},{"ruleId":"D2","level":"warning","message":{"text":"FLEURSBenchmark.loadFLEURSSamples (cognitive 30): FLEURSBenchmark.loadFLEURSSamples has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), loops 3 (7 pts), error handling 1 (3 pts), boolean chains 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"35162626a3aaed35a2fe7b304be6e435b602eb3fdf160180198d0e46f8eb27aa"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerStateUpdater.compressSpkcache (cognitive 29): SortformerStateUpdater.compressSpkcache has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 6 (13 pts) (nesting depth added 16). 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/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"19350e8460c92f5b4cad8e4b0b84b738d91c77b281848b9ffeb856c9fb27bc96"}},{"ruleId":"D2","level":"warning","message":{"text":"HFTreeLister.listTree (cognitive 29): HFTreeLister.listTree has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 3 (6 pts), loops 2 (3 pts), boolean chains 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/FluidAudio/Shared/Download/HFTreeLister.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bc6168373f5f54d4ca7d9f82d7effaaa929539f30fa8e1b9128fb2f3522294"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelHub.repoIncludeRule (cognitive 29): ModelHub.repoIncludeRule has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 20, if/else 5 (9 pts) (nesting depth added 4). 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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a52538cce9024c088f91a36db6ba80e293e28253c7c0227452b9695df9a07a"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingUnifiedAsrManager.processWindow (cognitive 29): StreamingUnifiedAsrManager.processWindow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 7, 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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a9c9e0ea04230c3c0ff51d889c93896ab93754bc543bfc51db4d548ce80f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.selectWord (cognitive 29): LuxTtsG2p.selectWord has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 14 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cacc40a61859eac19009eb6774a014844fc1a697f8f6be55264e4c014ab984"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.collapseSeamWordDuplicates (cognitive 29): ChunkProcessor.collapseSeamWordDuplicates has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 10, loops 5 (6 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9e8270f0382cb37943bac0f982b7b0d0227f139d55bbf690a80c7572470dce"}},{"ruleId":"D2","level":"warning","message":{"text":"TtsBenchmarkCommand.inferCohereLanguage (cognitive 29): TtsBenchmarkCommand.inferCohereLanguage has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 15, if/else 14. 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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88dc4012e678c81ddedf2755f1df4ee58a504ba66431d9b2840f845e187644d"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiStreamCommand.run (cognitive 29): MultiStreamCommand.run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (7 pts), ternaries 2 (6 pts), match/switch 1 (2 pts), boolean chains 1, 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c913103907a7e7dadb538e71d77b7a72f7efffb7fe89a0dadf774f04699a0dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"nemo_ami_benchmark.calculate_der (cognitive 29): nemo_ami_benchmark.calculate_der has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (4 pts), boolean chains 3 (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":"Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f201112efe1aeb3daa34da65202be2124d968dd3056639b7599552c889b67879"}},{"ruleId":"D2","level":"warning","message":{"text":"HungarianAssignment.solve (cognitive 28): HungarianAssignment.solve has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 6 (12 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/FluidAudio/Diarizer/HungarianAssignment.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"809a9683a864eeff5d2824a7f45a51394ac4d6fa08f6ce74549c3f12032a850c"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizerManager.createTimedSegments (cognitive 28): DiarizerManager.createTimedSegments has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (6 pts), boolean chains 3 (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/FluidAudio/Diarizer/Core/DiarizerManager.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0079dd306a5e133667c2723bf570667bffdcd5713370bfdd35e5d0e944d03685"}},{"ruleId":"D2","level":"warning","message":{"text":"Nemotron3StateUpdater.boostTopKScores (cognitive 28): Nemotron3StateUpdater.boostTopKScores has cognitive complexity 28 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 5 (12 pts), boolean chains 3 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbc6cbaaada4cfa7fc17713e25f2ace443fc02a50344dc11d78f88afd1a45e4"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcKeywordSpotter.computeLogProbsChunked (cognitive 28): CtcKeywordSpotter.computeLogProbsChunked has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (21 pts), 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9928653142418902c94f694f6d7f0433e05f3ca8293abe4a153010f8c88bb14e"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronMultilingualTranscribe.run (cognitive 28): NemotronMultilingualTranscribe.run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"16332fa88a8981d55b4aba73df3b1001ef85e04b6b64f13a0f415bd44f53116c"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.selectPhrase (cognitive 27): LuxTtsG2p.selectPhrase has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 11, 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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea466ba3a682aeb8c5b9a9f72498282e9af6486d7be21901172a7209831d4a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"SentencePieceProto.parsePiece (cognitive 27): SentencePieceProto.parsePiece has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (24 pts), match/switch 1 (2 pts), loops 1 (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":"Sources/FluidAudio/TTS/PocketTTS/Tokenizer/SentencePieceProto.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba2ade0e8592110174ae346ac3ff2cc3227d65175fe87d944a630f4147c64a0"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrModels.load (cognitive 27): AsrModels.load has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 1 (3 pts), ternaries 2 (3 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e44c632b247bb2c46b2c991779cb84c1da7691f4877c93a6daaffece06ff0f3"}},{"ruleId":"D2","level":"warning","message":{"text":"FrenchPhonology.tokenize (cognitive 27): FrenchPhonology.tokenize has cognitive complexity 27 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (9 pts), boolean chains 7 (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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c1a22f1a87087f86035f748870518fbc411a2183978e8e335c96d9ce4c0cae"}},{"ruleId":"D2","level":"warning","message":{"text":"JapaneseCutlet.romajiTokens (cognitive 27): JapaneseCutlet.romajiTokens has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (7 pts), boolean chains 3 (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/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee215e21c676540356f1555987d62f142cb9aba2caf902e2a945c490ef4e076f"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedBenchmark.seamArtifacts (cognitive 27): UnifiedBenchmark.seamArtifacts has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (13 pts), loops 1 (nesting depth added 7). 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/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d4ebe12466c3115d271bf2afc569f27cec4fc9d7c752f0c2fca12583c25148"}},{"ruleId":"D2","level":"warning","message":{"text":"CanaryKeywordBooster.boost (cognitive 26): CanaryKeywordBooster.boost has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, loops 3 (5 pts), ternaries 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/FluidAudio/ASR/Canary/CanaryKeywordBooster.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c2143e7201b4c41ea0c5cb22b2ce13ba62d3114544282006fe0bb8c0c8dd39"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizerManager.processChunkWithSpeakerTracking (cognitive 26): DiarizerManager.processChunkWithSpeakerTracking has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 4 (6 pts), ternaries 1 (3 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/FluidAudio/Diarizer/Core/DiarizerManager.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ec66ccba2e4f395e59e6baa255c546518ae6bfad6047455309dc9a36746d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsConstantsLoader.loadVoiceSnapshot (cognitive 26): PocketTtsConstantsLoader.loadVoiceSnapshot has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, loops 3 (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/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d4e48e9fd1731f32c2dc15d9886604cf07de090d2100902d6d3323e73738a3"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingGenerator.generate (cognitive 26): StreamingGenerator.generate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 2 (5 pts), boolean chains 2, 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ee74c186c71a44cbbb3243a670797e79fb0d2d42381022c8015be652e3e35"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinToneSandhiPOS.applyThirdToneSandhi (cognitive 26): MandarinToneSandhiPOS.applyThirdToneSandhi has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (11 pts), boolean chains 3 (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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinToneSandhiPOS.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"de52918a77c396f246a0f104c418e750e498a48e14ab1c70be487146985898dc"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleTTS2Phonemizer.phonemize (cognitive 26): StyleTTS2Phonemizer.phonemize has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, error handling 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/FluidAudio/TTS/StyleTTS2/Pipeline/Tokenizer/StyleTTS2Phonemizer.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0558397b56754833989d3ffd08b937743871a8045be91819c114b593674a24b"}},{"ruleId":"D2","level":"warning","message":{"text":"TextNormalizer.parseNumberSequence (cognitive 26): TextNormalizer.parseNumberSequence has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, 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/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"4451eb40595e75e485fc0ec39d134a62a40e3d9d28924aae70e62de7648ec417"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.runWithVariant (cognitive 26): TranscribeCommand.runWithVariant has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (6 pts), boolean chains 1, error handling 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"f470f3fe226a67bc4bc64c4a5ad3ff92ebed4294181b1d1f68bedb87a80d26eb"}},{"ruleId":"D2","level":"warning","message":{"text":"MultilingualG2PModel.phonemize (cognitive 25): MultilingualG2PModel.phonemize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (6 pts), boolean chains 5, 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/FluidAudio/TTS/G2P/MultilingualG2PModel.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"86597ab35c8a1394d20da0da2c0858445b8e0f7d269f77bafa7057c62dda8c47"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.buildWordTimings (cognitive 25): VocabularyRescorer.buildWordTimings has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (6 pts), boolean chains 4, 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45689b940786c3a464bd5e1765ea86ee09e1dedd6edb3b49e73cd6592f970ea"}},{"ruleId":"D2","level":"warning","message":{"text":"EnhanceBenchmarkDataset.parseMetadata (cognitive 25): EnhanceBenchmarkDataset.parseMetadata has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/EnhanceBenchmarkDataset.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9c2b02ef84dd26de02596316cddd7fa0d5c2de1ab4b40ba02365dc982f764d"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerBenchmark.processMeeting (cognitive 25): SortformerBenchmark.processMeeting has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (2 pts), match/switch 1 (2 pts), ternaries 1 (2 pts), boolean chains 1, error handling 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/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"37780d931e4074a1741613520d573aaaac4e43be559ef464bc16df8a57f6ea49"}},{"ruleId":"D2","level":"warning","message":{"text":"WERCalculator.editDistance (cognitive 25): WERCalculator.editDistance has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, loops 5 (6 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/WERCalculator.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1f9ef0f19ec21c839b9ab369579a3cf31d103ddb63ba9691b443402edc54a1"}},{"ruleId":"D2","level":"warning","message":{"text":"FLEURSBenchmark.processLanguageSamples (cognitive 25): FLEURSBenchmark.processLanguageSamples has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 2 (5 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceab9fdf29b60b4b475ee9672212dca7597609501257767ac6075d9ea567a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"CoherePipeline.decodeCacheExternal (cognitive 24): CoherePipeline.decodeCacheExternal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4accee3d225d662cf98e4674e6bd9298c78fcdc10320323ceff629694e20b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeakerManager.initializeKnownSpeakers (cognitive 24): SpeakerManager.initializeKnownSpeakers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (3 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/FluidAudio/Diarizer/Clustering/SpeakerManager.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd853ddb7459e06d44c02edeb2b0d8667f5d8ffbc3131ceabd3c34fb40f86b80"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerStateUpdater.streamingUpdate (cognitive 24): SortformerStateUpdater.streamingUpdate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (24 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/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc4b12423b91b26868c4e59527d2d6d5cbd9273852aac09f4b7231535e96486"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.camelParts (cognitive 24): LuxTtsG2p.camelParts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (7 pts), boolean chains 5 (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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"090f0a84e0e5faf04e7463fc4e14f4c0dbe8f3830da4dc051a9719881e628870"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsConstantsLoader.parseSafetensors (cognitive 24): PocketTtsConstantsLoader.parseSafetensors has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, error handling 1, 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/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e541050b5bf418452014b243d92a739f9d69f5b828c5bf50074e68a6e124034"}},{"ruleId":"D2","level":"warning","message":{"text":"ARPALanguageModel.load (cognitive 24): ARPALanguageModel.load has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (6 pts), boolean chains 3, 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/FluidAudio/ASR/Parakeet/SlidingWindow/CTC/ARPALanguageModel.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f91bbbe5ee4c54df4367983e1347d511933f56c9fc1dd16096a8f75af073c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2P.phonemize (cognitive 24): MandarinG2P.phonemize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (8 pts), error handling 1 (2 pts), 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"533b301eac136e79af2990f31eef4f29871c60c55e0763d04874461e8f27d8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinPolyphoneCatalog.init (cognitive 24): MandarinPolyphoneCatalog.init has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, loops 3 (4 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPolyphoneCatalog.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e61c8c347879a7567f9f88e780da429a8686d84e29282b14a1c23ad8e0903c"}},{"ruleId":"D2","level":"warning","message":{"text":"LSEENDBenchmark.processMeeting (cognitive 24): LSEENDBenchmark.processMeeting has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 1 (2 pts), boolean chains 1, 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a157ed82ddfb4967997a015da2a82cc99edd62de96bfa4fd7ea69956a17a69"}},{"ruleId":"D2","level":"warning","message":{"text":"SayAsInterpreter.addOrdinalSuffix (cognitive 23): SayAsInterpreter.addOrdinalSuffix has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 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/FluidAudio/TTS/SSML/SayAsInterpreter.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c4132791e95924cb10f418f56ce769983b42c6bb64df30e880a2b6ba5abeb7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxSynthesizer.buildPrefillEmbeds (cognitive 23): ChatterboxSynthesizer.buildPrefillEmbeds has cognitive complexity 23 (threshold 15). Drivers by points: loops 8 (19 pts), if/else 2 (4 pts) (nesting depth added 13). 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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16ca29a7478d279eee1d7c2f526c20bb5caede5ce0bf0077b5369da16c1fcbb"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsVoiceCloner.extractConditioning (cognitive 23): PocketTtsVoiceCloner.extractConditioning has cognitive complexity 23 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 4 (5 pts), ternaries 2, boolean chains 1 (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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsVoiceCloner.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d18d869801d48fe62449f0d5439beb2afaefd8335395ab41155915e2e4921"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinNumberNormalizer.fourDigitChunk (cognitive 23): MandarinNumberNormalizer.fourDigitChunk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7 (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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3561881933c948e9f7c1a461807d2c1f0a24e0b16579a11f95258917fa287e8"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinToneSandhi.apply (cognitive 23): MandarinToneSandhi.apply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (7 pts), boolean chains 4, match/switch 1 (3 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinToneSandhi.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0381446535168658b727705258a841d12ead92bdbb956d584d00436cc590d9"}},{"ruleId":"D2","level":"warning","message":{"text":"BpeTokenizer.encode (cognitive 23): BpeTokenizer.encode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (5 pts), boolean chains 3, ternaries 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/BpeTokenizer.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4edac251cef6f30c2740c2a3b78a42f66b2e595960e31411b7364494edc834"}},{"ruleId":"D2","level":"warning","message":{"text":"MinimaxCorpusCommand.run (cognitive 23): MinimaxCorpusCommand.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 2 (3 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/MinimaxCorpusCommand.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a7882abbd32c95444893d549bd77dfe15fd36e88cdcf1e34bab5b2c9f84680"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizationMetricsCalculator.isolateSingleSpeakerSegments (cognitive 23): DiarizationMetricsCalculator.isolateSingleSpeakerSegments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 pts), boolean chains 3, 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/FluidAudioCLI/Utils/DiarizationMetrics.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd25a0cddb6bc77b743d0d2f088cc8d06ee2939961acab1d6a57609fc2b9f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultsFormatter.printBenchmarkResults (cognitive 23): ResultsFormatter.printBenchmarkResults has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 6 (9 pts), boolean chains 2, 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/FluidAudioCLI/Utils/ResultsFormatter.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"476d4f4ba1fe1a32331e76c569773a112109de050dd90512fbd0a29f69397c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"ASRBenchmark.runLibriSpeechBenchmark (cognitive 23): ASRBenchmark.runLibriSpeechBenchmark has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2 (4 pts), ternaries 2 (4 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fde482d426e50ee689db42fdef103ea92d0ece0762f32537afcaddcaacd0fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"ASRBenchmark.generateWordDifferences (cognitive 23): ASRBenchmark.generateWordDifferences has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, loops 5 (6 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af3dbe5b18b9e13c833b89148e031bed13faf203d9e3425b0e8e9bb8dc73804"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronBenchmark.run (cognitive 23): NemotronBenchmark.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (6 pts), boolean chains 2, 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae6c164756dbf6ae277056f8f29b0845c68cd2338a8c4d92fb147438fe52a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"SentencePieceTokenizer.viterbiDecode (cognitive 22): SentencePieceTokenizer.viterbiDecode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (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/FluidAudio/TTS/PocketTTS/Tokenizer/SentencePieceTokenizer.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a683f229bdca9d69424658242425beeb15c6dc6073a5d61dafc75a6c23928405"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrManager.transcribeChunk (cognitive 22): AsrManager.transcribeChunk has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5 (7 pts), boolean chains 6 (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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc715a6bb4b3ff459928f89dc696efb7b537436ccefe4ae88f2d3f840f21dc1f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.spliceCandidate (cognitive 22): ChunkProcessor.spliceCandidate has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, loops 5 (7 pts), if/else 5 (6 pts) (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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec119eb11a6c592e6617a005d82765caa24223f7e4975258bd63ff9940e8df2"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingEouAsrManager.processChunkAndDecode (cognitive 22): StreamingEouAsrManager.processChunkAndDecode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 9 (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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b880618b7c0f314bce81727d7e46e562cefc5a2f02760b2aee0360728cc32c"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.evaluateCTCMatch (cognitive 22): VocabularyRescorer.evaluateCTCMatch has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 11 (13 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"37148016c28df24eaad04fba7799effc1ab40fc7051a992ace2b00ac89d90f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamDiarizationBenchmark.processStreamingMeeting (cognitive 22): StreamDiarizationBenchmark.processStreamingMeeting has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (5 pts), boolean chains 1, 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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"af02818141b7bf750b7b3bc9ca135e666137eaebbe11ec715062220a41d71fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"Nemotron3DiarizeCommand.speechMask (cognitive 22): Nemotron3DiarizeCommand.speechMask has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (9 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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9484c04ac0ddda4fd022794d0dbc741c5904fec9c6114cd2bb4f3cd93996fa"}},{"ruleId":"D2","level":"warning","message":{"text":"VadBenchmark.runVadBenchmarkInternal (cognitive 22): VadBenchmark.runVadBenchmarkInternal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (8 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"65760a9f46803953bcdef4ccba94a8fa32eea0379ed4dbf218b9ac10d672ae2a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParaformerTranscribeCommand.run (cognitive 22): ParaformerTranscribeCommand.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts), match/switch 1 (2 pts), error handling 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/FluidAudioCLI/Commands/ASR/ParaformerTranscribeCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05beba63397581c790f4a5bc749d8992ef14a389e662b91f164ab32f8920e28"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2pDumpCommand.run (cognitive 22): LuxTtsG2pDumpCommand.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts), error handling 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/FluidAudioCLI/Commands/TTS/LuxTtsG2pDumpCommand.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1693ef463d087b46c8c663e58ae69c9ff35cd266a4088abcf8d7ed355f837f9"}},{"ruleId":"D2","level":"warning","message":{"text":"FLEURSBenchmark.loadSingleFLEURSSample (cognitive 22): FLEURSBenchmark.loadSingleFLEURSSample has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 1 (6 pts), loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 15). 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"127eb44769a2807e72fe34cb5f25dd9e098d8d23ef45fae052ae04769fcdeda4"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedBenchmark.runMode (cognitive 22): UnifiedBenchmark.runMode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 5 (6 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/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9812c7b7479f5c622d20fe28454467c028f7f7ced17e640a97ce780da2d1882"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingDownloadDelegate.urlSession (cognitive 21): StreamingDownloadDelegate.urlSession has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/Download/FileDownloader.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e231e79d8594b83269902414f6f67b57c0047082d0c93909ec2bbbea76732db5"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsManager.synthesize (cognitive 21): LuxTtsManager.synthesize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 2 (3 pts), ternaries 1 (2 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/FluidAudio/TTS/LuxTts/LuxTtsManager.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"246ad75fa2e9666b71c14db4f84db5279910279d52bc0c7d5551faef1868cf94"}},{"ruleId":"D2","level":"warning","message":{"text":"FsmnVadManager.decide (cognitive 21): FsmnVadManager.decide has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, ternaries 1 (2 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/FluidAudio/VAD/Fsmn/FsmnVadManager.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99a13593db46b4e1a3a866d9f350286e335c122107f19a03ce2f9b8b9201ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"SequenceMatcher.findContiguousMatches (cognitive 21): SequenceMatcher.findContiguousMatches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (7 pts), boolean chains 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/FluidAudio/ASR/Parakeet/TokenDeduplication/SequenceMatcher.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d8b42e81a2a2e0ae13c6bb38227c9ffba9b45297b70a60e23aa974de50fc5f"}},{"ruleId":"D2","level":"warning","message":{"text":"VBxClustering.refine (cognitive 21): VBxClustering.refine has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 4 (8 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8becfef33978f98ce0cd40bfb6d32900b20a8b04b09e1208f232a1bc5937ea7a"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineDiarizerConfig.validate (cognitive 21): OfflineDiarizerConfig.validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf673fc8ceac5d0a8f15f5b79c0acd3adf2ee39ce99d26d84e7a89f8e164c10"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxTokenizer.init (cognitive 21): ChatterboxTokenizer.init has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 pts), boolean chains 4 (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/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c130d8d25a8aba0bab38230febada1098fd8e6125e20508e71aea893958edb98"}},{"ruleId":"D2","level":"warning","message":{"text":"RomanceNumberNormalizer.read (cognitive 21): RomanceNumberNormalizer.read has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 5, loops 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/FluidAudio/TTS/KokoroAne/G2P/RomanceNumberNormalizer.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab510601533f60002e34abedf86fb0d860b29188f24cabe0d6cffdce95a69c94"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsMimiKeys.discover (cognitive 21): PocketTtsMimiKeys.discover has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4, 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsMimiKeys.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f23ef0960a0a035feab41365cc786a63932876483cd1e98e2e1e2999811bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrManager.runInference (cognitive 21): AsrManager.runInference has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 3 (4 pts), loops 1 (2 pts), boolean chains 1, 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7511db5625d9e3fe5c55b995338b6ab2a3721474d2716b2208819b776da6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.silenceAlignedChunkStarts (cognitive 21): ChunkProcessor.silenceAlignedChunkStarts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (6 pts), boolean chains 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5189732fa3be0dee019eae0cbd4139743082742955d3fbb023bc0d855925137"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.updateRescueSpans (cognitive 21): StreamingNemotronMultilingualAsrManager.updateRescueSpans has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"77001c64983999bedb3a41b2c2e237108d75172318813bb15ae22528f7f0bb15"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2pwModel.disambiguate (cognitive 21): MandarinG2pwModel.disambiguate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 2 (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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2pwModel.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b71c3be2d6162c0e52a001d6566c0c811432e1fef6efd5f406869a7227f26f3"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinJiebaHmm.segment (cognitive 21): MandarinJiebaHmm.segment has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 3 (6 pts), match/switch 3 (5 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinJiebaHmm.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d821e9bd1030ac2d1bb7a26415aeaaef371bfeb69b383cdab6fb86fe37f3278"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleTTS2MelExtractor.htkMelFilterbank (cognitive 21): StyleTTS2MelExtractor.htkMelFilterbank has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 3 (7 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Preprocess/StyleTTS2MelExtractor.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b668e48c6cb6c35638a72295f5428c18917000d0fbd0f8df52ba80425802f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadAnnotationFile (cognitive 21): DatasetDownloader.downloadAnnotationFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, error handling 1 (nesting depth added 10). 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2539589a614fc8da78f98fb5d7f49126fecd929878376488992a4826f9ef8f"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronTranscribe.run (cognitive 21): NemotronTranscribe.run has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 2 (7 pts), error handling 2 (4 pts), loops 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cefdd535d21b7f649cdb2e7eae37710f4e1e8312f2930f34708b6f59bb18a74"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioSourceFactory.streamConvert (cognitive 20): AudioSourceFactory.streamConvert has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 1, 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/FluidAudio/Shared/AudioSourceFactory.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76643859b14b5011ad659ed9d1bfc68a1c17a535e12465727627da390436289"}},{"ruleId":"D2","level":"warning","message":{"text":"ParaformerManager.energySpan (cognitive 20): ParaformerManager.energySpan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e212aad2561ccb01077dd62c7e954c90a055d9fffd1088183053ce95ac2bccf"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeakerManager.findMergeablePairs (cognitive 20): SpeakerManager.findMergeablePairs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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/FluidAudio/Diarizer/Clustering/SpeakerManager.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"209209c5f5115e41e28ee8b5eea47cfa32403db2613fc4edff15d179e96a9bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelHub.download (cognitive 20): ModelHub.download has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e4e0c87bc9fbb1b352855f63d21d0297dc7fe30954f874e591e25fec5ed970"}},{"ruleId":"D2","level":"warning","message":{"text":"PhonemeChunker.chunk (cognitive 20): PhonemeChunker.chunk has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 4 (6 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Shared/PhonemeChunker.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6d6e83e9c887f629a1c8bc9224576afc6f7b48eced4051ef5fb8fdf431fb01"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSynthesizer.chunkTextWithMetadata (cognitive 20): PocketTtsSynthesizer.chunkTextWithMetadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (5 pts), boolean chains 2, 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02aaae799d3f6d7dbdd8e40a95537c5aec4013f8b0ca149c9eddc1b67d94442"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.rebuildVocabularyBias (cognitive 20): StreamingNemotronMultilingualAsrManager.rebuildVocabularyBias has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6731cf409cf46f7ab4c019593ad093c4817defce7c390edc556a3d2779fbbac"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinBopomofoMap.encode (cognitive 20): MandarinBopomofoMap.encode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinBopomofoMap.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9b9171863ad734ecd8271c1b57b3de78b8ec4a1b24ca9fc3bbdafe0a67d5bd"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadAMIFile (cognitive 20): DatasetDownloader.downloadAMIFile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e9d8f5d954b9ad1383db389ce25e5425ba233142014f12c49a9f93ffc6b046"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronMultilingualFleursBenchmark.loadLibriSpeechSamples (cognitive 20): NemotronMultilingualFleursBenchmark.loadLibriSpeechSamples has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts), ternaries 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ed4f011247e9ac8f7cd8d95088a0be5858c559fe17a682734bfca52a6f3d50"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronTranscribe.run (cognitive 20): NemotronTranscribe.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (6 pts), boolean chains 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67d94e04d21b70b9797de90e14a5c1fa41b8ac1608d9bc839d4cc0ce84bd2a9"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerDiarizer.enrollSpeakerInternal (cognitive 19): SortformerDiarizer.enrollSpeakerInternal has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 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/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd746c1d1ef4c45cf8da0f2ebfb603df81172f3f67e3cc56ae5d95c2750eeab"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDownloader.download (cognitive 19): FileDownloader.download has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/Download/FileDownloader.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96413436ab455fb124b20c1f50e1f9b41d6ac16f1731095b97b73b71b33d7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"G2PModel.loadIfNeeded (cognitive 19): G2PModel.loadIfNeeded has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, loops 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0591a76d2c6103e31e71668b43eb4745671248a024e7b88eb49d1879ab3882fd"}},{"ruleId":"D2","level":"warning","message":{"text":"NeuTtsBpeTokenizer.init (cognitive 19): NeuTtsBpeTokenizer.init has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (4 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/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"855af69cef751dddfd96dceeb80f22636b3770ac93b05987c33987a3ddca105a"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSession.generateChunk (cognitive 19): PocketTtsSession.generateChunk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de857ef776798d5c593dba62134ed8566bd24c83445d68ca79ca6616d6f7a9b"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSynthesizer.splitSentences (cognitive 19): PocketTtsSynthesizer.splitSentences has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7adab835642ba24e463c52b25ef4dd4a904510a9b5054dc8c9364addba7e3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomVocabularyContext.loadFromSimpleFormat (cognitive 19): CustomVocabularyContext.loadFromSimpleFormat has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (6 pts), boolean chains 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/CustomVocabularyContext.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad71adedeafe799a9af9c3b8927d4e26e5665a6e7f3d770a104296c0dfb10d9"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.preloadShared (cognitive 19): StreamingNemotronMultilingualAsrManager.preloadShared has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"489afc08f82b0e4da26b564882198c9569caaa78874b9fd2ad7a63b0d4c69454"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAneEnglishPhonemizer.phonemize (cognitive 19): KokoroAneEnglishPhonemizer.phonemize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, 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/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b6f12d1656191346f8986263db3239b0429cea8e74efbdc4c2ebba7896311b"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexicon.commonPrefixSearch (cognitive 19): Lexicon.commonPrefixSearch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 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/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseMecabDictionary.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cfa4291b2f68166d79c0e5e33dbc18156682ee851bafb67a7853336c4b4780"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanishG2P.phonemizeWord (cognitive 19): SpanishG2P.phonemizeWord has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (8 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2eb3710867eb547fbde93df53a2c556d4235d6439724956933f77985ebda62"}},{"ruleId":"D2","level":"warning","message":{"text":"TdtDecoderV3.applyEnglishBlocklist (cognitive 19): TdtDecoderV3.applyEnglishBlocklist has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 3, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"707f94741ac3a0a15558c1e84fa5629b12cfdfd2b2d023e1a3a0bdfef32af388"}},{"ruleId":"D2","level":"warning","message":{"text":"Nemotron3DiarizeCommand.runBenchmark (cognitive 19): Nemotron3DiarizeCommand.runBenchmark has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (5 pts), loops 2 (3 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c7f38b4281d90c50027e1cfde6a8cfea3b21580943151e4d5555ca7d9ee2e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TTS.runLuxTts (cognitive 19): TTS.runLuxTts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (4 pts), ternaries 2 (4 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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff6048146c33f978fd87566d178f616d8e5e78a2422d5d1c2f1987f15594ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadAMIAnnotations (cognitive 19): DatasetDownloader.downloadAMIAnnotations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38ee62ad71c77f55d522798c5257be03075e9dca5bbd75ca6d0cac98ab74734"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedBenchmark.runLongformBenchmark (cognitive 19): UnifiedBenchmark.runLongformBenchmark has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 4 (8 pts), loops 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/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcea1d6e799f5d2d2440337a6cb24f3c9be9c79681c56c10cb9abe28d5cf2ea"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_localvqe_benchmark.merge (cognitive 19): verify_localvqe_benchmark.merge has cognitive complexity 19 (threshold 15). Drivers by points: loops 7 (10 pts), ternaries 4 (8 pts), boolean chains 1 (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":"Scripts/verify_localvqe_benchmark.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6103c9c041544c370cea7c91ea7b8ddf866765ce3c9533935aa7ff1ddefe0b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelWarmup.warmupEmbeddingModel (cognitive 18): ModelWarmup.warmupEmbeddingModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 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/FluidAudio/Shared/ModelWarmup.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1bede1c4e51e27c2654af9c4b3c944eabb8291d1ddb3cd219519c7a40aac95"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineDiarizerManager.cluster (cognitive 18): OfflineDiarizerManager.cluster has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff4b66dd374dc09724e708a5378c5bfc1e8a2f9e694e5a3b525049d821b5365"}},{"ruleId":"D2","level":"warning","message":{"text":"VDSPOperations.pairwiseEuclideanDistances (cognitive 18): VDSPOperations.pairwiseEuclideanDistances has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, loops 5 (6 pts), boolean chains 3 (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/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2748f9520ed422487f39e8c4cd7c5afaafa21beb630951482f0a2decd9d1f495"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxSynthesizer.synthesize (cognitive 18): ChatterboxSynthesizer.synthesize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d998d0671aca203ed264137283684a3770dfd4043867fbcf2d1952a1fac4f4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"RomanceNumberNormalizer.french (cognitive 18): RomanceNumberNormalizer.french has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 4 (5 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/FluidAudio/TTS/KokoroAne/G2P/RomanceNumberNormalizer.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"685c2aa5493053cf0dc4f18d6a7cda9d408d008b70c44ba6cba4e12118a582b2"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.rawTokens (cognitive 18): LuxTtsG2p.rawTokens has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 4 (6 pts), boolean chains 5 (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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f60861f506fa997419e5e459cab9b2be103ae1599403dde64d69f9f4ac5525"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAneEnglishPhonemizer.splitWords (cognitive 18): KokoroAneEnglishPhonemizer.splitWords has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, 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/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9a8ee53003563ff46fa489d6669dd15e9518ff9c45dd71fcd8e0d2e21e2f70"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinPinyinDict.parsePhrases (cognitive 18): MandarinPinyinDict.parsePhrases has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10a5a1ad0afad6f114be3ab6c276f9d9f24d8fac27f557d5a131b585abd07a2"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizationMetricsCalculator.offlineMetrics (cognitive 18): DiarizationMetricsCalculator.offlineMetrics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 3, boolean chains 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/FluidAudioCLI/Utils/DiarizationMetrics.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c72aeb48d367e7609f4a34421435433c68c3113993a6e144faa8f9ad3395d47"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronBenchmark.run (cognitive 18): NemotronBenchmark.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4a0af2292c2fcff58fbe48e27de4805e0fe698f93e5747eaa0a3369184d57d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_benchmarks.compare_results (cognitive 18): run_benchmarks.compare_results has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 3, if/else 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":"Scripts/run_benchmarks.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd489338c51397fe4a52629ca3d2ad83bcd2b66f15e9fcfe9452b7a36f10a0fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerStateUpdater.disableLowScores (cognitive 17): SortformerStateUpdater.disableLowScores has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d5841c0dfea9d5e44921ef0c37e274c4363d648589c8137bbba33641559f78"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsContinuation.speechRuns (cognitive 17): LuxTtsContinuation.speechRuns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, 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/FluidAudio/TTS/LuxTts/LuxTtsContinuation.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd4d09e38ae450d0f9c7d4514a3f8ec1280b0782efe8728be8440681f99a5d0"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingUnifiedAsrManager.maybeRescoreSegment (cognitive 17): StreamingUnifiedAsrManager.maybeRescoreSegment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ac344ed5d8a1056d24db8ac25eebe101735fec948d1a07ced310b4b5efb25f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxTokenizer.splitAddedTokens (cognitive 17): ChatterboxTokenizer.splitAddedTokens has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 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/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"991def132d5e5a09dcf389a1ba5fd4db17894be471890f82ad34c307a2d6f670"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.oovPron (cognitive 17): LuxTtsG2p.oovPron has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d337a84e010aa85706d0abd2a08c6a453c670f0cc5bf2263cbd043551967ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrModels.parseVocabulary (cognitive 17): AsrModels.parseVocabulary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (6 pts), 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"9950300dfb16d683aab2a62edc0a9362681a5376c1377a6e8d220287289a3a93"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronVocabularyBias.candidates (cognitive 17): NemotronVocabularyBias.candidates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (8 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronVocabularyBias.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"535069e4edea2ab72b4cfc34754595597468b11268461da1499a51e9c9acf1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAneEnglishPhonemizer.resolveWord (cognitive 17): KokoroAneEnglishPhonemizer.resolveWord has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, error handling 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/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4ddae70c64948f003a05bd5bc78e92e1867d298497fe8e9ad6d6ba2343368e"}},{"ruleId":"D2","level":"warning","message":{"text":"JapaneseCutlet.normalize (cognitive 17): JapaneseCutlet.normalize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3a166386a2da35faf7b36936a54c7cb606f1e06935cbe70635ddb13e26e85c"}},{"ruleId":"D2","level":"warning","message":{"text":"AMIKaldiData.loadDERReference (cognitive 17): AMIKaldiData.loadDERReference has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa93c6225d0e2728bbff80b0b931befa56c6d2a410f26725a0be9f35d2853f"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadFullMusanDataset (cognitive 17): DatasetDownloader.downloadFullMusanDataset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"50693f6015cee6294dd38a8160cc0a9eae1dec1f7e1bdf7de004e7ee8cd27f15"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizationMetricsCalculator.clipSegments (cognitive 17): DiarizationMetricsCalculator.clipSegments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/DiarizationMetrics.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"310daa98f9a82666bb2205917064c82dd2c513911d659639a9c797411da7a423"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcEarningsBenchmark.tokenize (cognitive 17): CtcEarningsBenchmark.tokenize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), ternaries 1 (3 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"893405af2a615549a8d2bc71af392588d0626ebe33393df16f45a1ca29e019b3"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedBenchmark.run (cognitive 17): UnifiedBenchmark.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (3 pts), ternaries 1 (3 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab372f5944e1cf746913dbfa345a2a73bb1a769c85c6c33fe543301c9aedf26"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize_notsofar_card_audio.materialize (cognitive 17): materialize_notsofar_card_audio.materialize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/materialize_notsofar_card_audio.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ef86d4a973629bcb2d26b2d126b07be8432796f4e0ae2c3152309015499eef"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioConverter.convertBuffer (cognitive 16): AudioConverter.convertBuffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/AudioConverter.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fce61939f501adcd55cf917d44e35de7e0e7505a5ecf714982ee7aa808e10c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioMelSpectrogram.computeFlatTransposed (cognitive 16): AudioMelSpectrogram.computeFlatTransposed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (3 pts), boolean chains 2, match/switch 1, ternaries 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/FluidAudio/Shared/AudioMelSpectrogram.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c888d173e985d53455c45dee4de9d6ec3f37813ac5a0f375dd5b22933a5d8"}},{"ruleId":"D2","level":"warning","message":{"text":"CanaryManager.mergeTokenStreams (cognitive 16): CanaryManager.mergeTokenStreams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 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/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd38a1080c59d38bc6e1f71b520ead245cf28e7b7611f2b143e7c6516008fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"CoherePipeline.mergeTokenStreams (cognitive 16): CoherePipeline.mergeTokenStreams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dde9955bdb2f50d38303462cedacb17b2a017ec352391f29b8c4cb43bd2270"}},{"ruleId":"D2","level":"warning","message":{"text":"ParakeetLanguageModels.download (cognitive 16): ParakeetLanguageModels.download has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (5 pts), boolean chains 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/FluidAudio/ASR/Parakeet/ParakeetLanguageModels.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"344bf9a8d281880ac4359b449b896e4b08c5bc7dee0bcdb26cf15293282007d0"}},{"ruleId":"D2","level":"warning","message":{"text":"SlidingWindowAsrManager.finish (cognitive 16): SlidingWindowAsrManager.finish has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, error handling 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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b7e755c3793d8cc8f57b2d5ece982a70ff3e8e684aeaea02b8d540142ad0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SortformerSpeakerStitcher.alignment (cognitive 16): SortformerSpeakerStitcher.alignment has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 3 (5 pts), boolean chains 3 (nesting depth added 5). 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/FluidAudio/Diarizer/Sortformer/Offline/SortformerSpeakerStitcher.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3aecf0c9986ffb99b1846a501351e4a3e97bfb16140c060c2a184526b102af9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatterboxNanoSynthesizer.synthesize (cognitive 16): ChatterboxNanoSynthesizer.synthesize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, ternaries 1 (2 pts), 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"208aa6b600a3dfce62fabaf10bbd3a06a745f76c9d2d89d0ac6887efe59fdd70"}},{"ruleId":"D2","level":"warning","message":{"text":"LuxTtsG2p.updateCounters (cognitive 16): LuxTtsG2p.updateCounters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a961c83bec20a8be28f5b0dc928b363c915e3a88b7e9dbca43a72388aa04394"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsLayerKeys.discover (cognitive 16): PocketTtsLayerKeys.discover has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsLayerKeys.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ddca63c7c9a3303feb177c2d4a78dce01f571040a0ad64000da13bbf69993b"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSession.generateLoop (cognitive 16): PocketTtsSession.generateLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (5 pts), error handling 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"851d31308644062c6da649cf38dcfd10ccc54508b75759270bc22d81173ec57f"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSynthesizer.splitAtWordBoundaries (cognitive 16): PocketTtsSynthesizer.splitAtWordBoundaries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"265b2222000950bfc3639926367fe3b522f076dccb44465688f55a92f93c3977"}},{"ruleId":"D2","level":"warning","message":{"text":"SentencePieceProto.parse (cognitive 16): SentencePieceProto.parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), 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/FluidAudio/TTS/PocketTTS/Tokenizer/SentencePieceProto.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9467a5d662b39d2782a079bdad1dee4818fd3547a51d65c5913164b5730832e3"}},{"ruleId":"D2","level":"warning","message":{"text":"TdtModelInference.normalizeDecoderProjection (cognitive 16): TdtModelInference.normalizeDecoderProjection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtModelInference.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c21540017b80db5ac4cb50d056fb148dc6d54c06ef020f23ede9c46fec0e35"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizationBenchmarkUtils.loadProgress (cognitive 16): DiarizationBenchmarkUtils.loadProgress has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (5 pts), error handling 1 (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/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4c1b078aa1776cd757c88fe7ec70f10e4495a7dd225c60ca44220053151ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"Nemotron3DiarizeCommand.runBatch (cognitive 16): Nemotron3DiarizeCommand.runBatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (5 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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fd1846752ac23953e51c062c1f3ab66879154677be0e694c4789e01561ebee"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessCommand.runOffline (cognitive 16): ProcessCommand.runOffline has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (4 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/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"59117159bfedcd7205465d68a9fdab0902a7017b4f7d7552ed9f97e7735f0523"}},{"ruleId":"D2","level":"warning","message":{"text":"VadAnalyzeCommand.runStreaming (cognitive 16): VadAnalyzeCommand.runStreaming has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (5 pts), boolean chains 1, 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/FluidAudioCLI/Commands/VadAnalyzeCommand.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c44cac9f614ff8a781e5e72fdee746bb9a60a1cf15dee7928e5df703a572a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AMIParser.frameAlignedDERReference (cognitive 16): AMIParser.frameAlignedDERReference has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c378f27f1606290b0b672395f4f90f308ae2bb071c2759dbf19bbf7be04c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasetDownloader.downloadAMIRTTMs (cognitive 16): DatasetDownloader.downloadAMIRTTMs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 2 (3 pts), boolean chains 1, 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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"37db60fe929185573b8bec50f1787609545d029b8284716ad512009712b5b689"}},{"ruleId":"D2","level":"warning","message":{"text":"ASRBenchmark.downloadLibriSpeech (cognitive 16): ASRBenchmark.downloadLibriSpeech has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, loops 1 (2 pts), 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff3bef9c06bb4cecfd4d727a74e7414c42946efb952b035ada53bb6dfeceb85"}},{"ruleId":"D2","level":"warning","message":{"text":"WordTimingMerger.mergeTokensIntoWords (cognitive 16): WordTimingMerger.mergeTokensIntoWords has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde4aa15a395ee57f3eb1cc37167d7b7f56953f511c6a030c4155733791da3d4"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronBenchmark.collectLibriSpeechFiles (cognitive 16): NemotronBenchmark.collectLibriSpeechFiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34c3fe1eabf3c3928ec780cf51c4c5ebb28986ff1a830d58abfee6bd56f6ffc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PocketTtsSynthesizer.validateKVCacheCapacity: MethodTooLong \u2014 validateKVCacheCapacity runs 864 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 764 over it, 8.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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eea55cf07e45433705a08cec7011f4f2da5c424f2f48c4c16e5d8455c07915"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PocketTtsSynthesizer.isStatePlacementAvailable: MethodTooLong \u2014 isStatePlacementAvailable runs 864 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 764 over it, 8.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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b17a9cc748296b1d8997b88dad17622f883513ccc520944c0885c99f731b9f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingNemotronMultilingualAsrManager.runPreprocessorPure: MethodTooLong \u2014 runPreprocessorPure runs 570 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 470 over it, 5.70\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9578c23ef3deca17dd1c04474aa1a8642c2831336c2647856730d762bf6055"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VBxClustering.runVBx: MethodTooLong \u2014 runVBx runs 392 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 292 over it, 3.92\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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3522be82b4310e6d4ba40a870cdd5ac9b136a9386225099f7c2b60cf6d787fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfflineSegmentationProcessor.process: MethodTooLong \u2014 process runs 347 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 247 over it, 3.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b45915e7ebef07bb754cdea624994b78932177f93cbd5f53ecdf0f60209a24"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamDiarizationBenchmark.run: MethodTooLong \u2014 run runs 341 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 241 over it, 3.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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f752ede114d1127cb2dec02a6f29d8b1ba195915f1d3806387a1b6d0113d41d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TTS: ClassTooLong \u2014 1307 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 907 over it, 3.27\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"887142ba784898fe1c95c5229047f298b3b957cdec4416f17e52a8c481230672"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AsrManager.transcribeWithState: MethodTooLong \u2014 transcribeWithState runs 323 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 223 over it, 3.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6705a6e8d9823c23d1bdd9ecf59fbc601f0eec008eb2c61de1b9fb59eb80918d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTS.run: MethodTooLong \u2014 run runs 319 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 219 over it, 3.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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c21b90044be1cc4a8e4a33b598f06955ec44a254a006a9ea6f27cac6fbba79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfflineEmbeddingExtractor.extractEmbeddings: MethodTooLong \u2014 extractEmbeddings runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d319be2c627793b9e676e902adca9e59de807a1a597294013c410c31cf2869d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TdtDecoderV3.decodeWithTimings: MethodTooLong \u2014 decodeWithTimings runs 308 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 208 over it, 3.08\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d53424ac17e5a5b60078d2530b6dde3e789c789a8254bd18a39b0ba3ff83f9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ASRBenchmark.runASRBenchmark: MethodTooLong \u2014 runASRBenchmark runs 305 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 205 over it, 3.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f99f856027452ad93ff4e93f7f128d68a843bf83ae1c48a3a4002e8374f226e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TtsBenchmarkCommand: ClassTooLong \u2014 1153 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 753 over it, 2.88\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70441d2ecfbdd5fac315671c9ff8f198e908017d3bcaefe80513deb3faa4bfb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmissionDelayBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aec217f4b9f7b919374da5af29077df0a5e24ebb32e641baceb556b50c31177"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LSEENDBenchmark.run: MethodTooLong \u2014 run runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f901940c7067c68296d1f377e15887cd411c521ea89e6a8e36b38ba4c63d97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SortformerBenchmark.run: MethodTooLong \u2014 run runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.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/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6506ad3236575c98d8a34346b49df32555b32a167765becf398b4bf7ccbc68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/TTSCommand.swift: FileTooLong \u2014 1310 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: TTS (5-1623). The bar is 500 significant lines; this is 810 over it, 2.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0367f1137c69f28f048bf4cb70229687dbed30b55d030e699411503277dc586c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SortformerCommand.run: MethodTooLong \u2014 run runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\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/FluidAudioCLI/Commands/SortformerCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"123c67ddd7aaaaf8de47dce9a316cfced8fcbe02a048aa5eb6cd55c3f3f2bb03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CtcEarningsBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a74c8c416b2041f4f915a2a07f939414485aa339c63735bbbf730c52a5c0f60"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StreamDiarizationBenchmark: ClassTooLong \u2014 1000 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 600 over it, 2.50\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfcbba22f3a20344aa25e8a7e553a977cb9f0bf7a60d28734b387775d4b3754"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CtcEarningsBenchmark.processFile: MethodTooLong \u2014 processFile runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d78448f18d5de45aa43ee7997f3d52f28ce58b968926c0b45b7c7acb09e38"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChunkProcessor: ClassTooLong \u2014 990 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 590 over it, 2.48\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7109d10391c784f5e56197a7472ad4295ef9b5a1693e12f5bc12db5fde5379d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CtcDecodeBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"712f8c9149fda5506dcbee679571588b8a5ff5e60d7b54d26a8f20074512c081"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StreamingNemotronMultilingualAsrManager: 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd7070c69091682eff3037a226f18e6e336cf9892ab27ae4fc19f711d5f9ba8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VocabularyRescorer.stringSimilarity: MethodTooLong \u2014 stringSimilarity runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c990a7bba25781b9fe20e8f300881680347004846d5d68a553e067860166ba0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VocabularyRescorer.debugLog: MethodTooLong \u2014 debugLog runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"92884e37f7455cfffa1ecaac38c4ab15553bb9e77d33762e5aab940e04f0646b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/TtsBenchmarkCommand.swift: FileTooLong \u2014 1158 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: TtsBenchmarkCommand (33-1554). The bar is 500 significant lines; this is 658 over it, 2.32\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa651aa400cd016174c9c0aed7ad3552ccb2208846cf080a4c437ccaf788157"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EnhanceBenchmarkCommand.run: MethodTooLong \u2014 run runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\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/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63c95e2263034a64f10f4a65ba2a77d96a3a41255f4c42ceeb91be78b0060c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PocketTtsSynthesizer: ClassTooLong \u2014 864 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 464 over it, 2.16\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f51c3d2a8bb4e10a9d60cc0502e6d3d79faa52f404ebd18739873daff788ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: FluidAudio/ModelNames.swift: FileTooLong \u2014 1077 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: ModelNames (403-1856). The bar is 500 significant lines; this is 577 over it, 2.15\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/FluidAudio/ModelNames.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57efe66d643ff9a6c174885968d2c5256abbd1827768dc7a8972b21114e91644"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VadManager.makeStreamState: MethodTooLong \u2014 makeStreamState runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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/FluidAudio/VAD/VadManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75954449b0b39c9c41cd927a99bd48fa2deff9b44bc79f56d5f6db6a76dba0c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VadManager.processStreamingChunk: MethodTooLong \u2014 processStreamingChunk runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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/FluidAudio/VAD/VadManager.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fc3f0ee31b2a4b211141ccbe2c9ff9e6a0d351a37517da970d99127c763a7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VadManager.segmentSpeech: MethodTooLong \u2014 segmentSpeech runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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/FluidAudio/VAD/VadManager.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25574616ae31099d32260adb6ed129ab969e219ebbf7b9590d811cc8563c236c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NemotronMultilingualFleursBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"488b64e9ce50f22b5541eb56a92cc46a58533fc466f113fcce836b067ae62467"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TtsBenchmarkCommand.run: MethodTooLong \u2014 run runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5d68b95c42f670d1a8e17b4fd8427cd5aa9fefa2fab49249389fb3d60a02ca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CtcEarningsBenchmark: ClassTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 421 over it, 2.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c0f7ece564a98c3f0fc5361bb59faff7e25f368f63fd7c292346066a07fba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/DiarizationBenchmark.swift: FileTooLong \u2014 1005 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: StreamDiarizationBenchmark (8-1421). The bar is 500 significant lines; this is 505 over it, 2.01\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc10c319fc84bf63d0677eb019c360da4b2f6312d5cb2f1b631bd017dcfffcb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LSEENDCommand.run: MethodTooLong \u2014 run runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f17703599fce0d2ea534e41cb5d7e4ed2e4b0c8105fedc1927b869c7f30e38"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelNames: ClassTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 397 over it, 1.99\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/FluidAudio/ModelNames.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c8cc86a1f58b6af9b33ec5b61317e03f862050caf257a49f903c7a30fc9a05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TDT/ChunkProcessor.swift: FileTooLong \u2014 991 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ChunkProcessor (3-1535). The bar is 500 significant lines; this is 491 over it, 1.98\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e978da8c083a75be3ea52ecd3d4be1d38b290c8a64c416c136305e5caab0fcd1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTSAsrVerifyCommand.run: MethodTooLong \u2014 run runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6880e2f3d3b3027ad3623a4f9bcd784c9bde50d3b291f5b6843b9a41918a9f91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChunkProcessor.process: MethodTooLong \u2014 process runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28e00ced0e3aaa013d193f9da80d4ecba1c136b377090ed80f994ef954818c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FLEURSBenchmark.runCLI: MethodTooLong \u2014 runCLI 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d90dd376f365044ecbbb677961055f4f3a51406687c93bcb63beabb3d226bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/FleursBenchmark.swift: FileTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 411 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b61580f4300a3370c7c78ff1913e5b4dd76cd3109facc65edd987e1dfa3ef7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PocketTtsSynthesizer: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3779926d0edcd6a73727193ba91c2f3e89e383aa282c53182725e1a21913c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuxTtsSynthesizer.synthesize: MethodTooLong \u2014 synthesize runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee623e44b7f27e0d86488875d6954e078f255e865279a52be988247b8dfbc6d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OfflineDiarizerManager: ClassTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 298 over it, 1.75\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aa7cb35c009ef8bb3c644d431866c8c138786634756e0158c423c76bc4e9a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChunkProcessor: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce2a21dbd65daf91115157e6cda0b58775514b657d5d1a468d5774d8f0c2126"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Pipeline/PocketTtsSynthesizer.swift: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: PocketTtsSynthesizer (14-1481). The bar is 500 significant lines; this is 366 over it, 1.73\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad3178701dd764b03113a8b8f8183c384a0d01e4d3c626737121935eacd835"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TtsBenchmarkCommand.runPhraseLoop: MethodTooLong \u2014 runPhraseLoop runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3639b7e1910e3813766d01d59f0253ea07d5326151d7be38ee485f8740502f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranscribeCommand: ClassTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 279 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a31a0253ae4477db4c7079a34f0da87e9fda5b2910923c85a1846de20cc2edd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OfflineEmbeddingExtractor: ClassTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 268 over it, 1.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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d6a709e419673dcaaca9bb31f4b922d1a69e75f153fe588b394fc8628d0709"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatasetDownloader: ClassTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 265 over it, 1.66\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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af47cf460317b46b77f0f35562649e496a148db632846cda9c3be864d98b7b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/CtcEarningsBenchmark.swift: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CtcEarningsBenchmark (9-1241). The bar is 500 significant lines; this is 327 over it, 1.65\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"007006b5406b92251e47ec474fc738aaf315cc3fe221a82c724b2a361f920b12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CohereBenchmark.run: MethodTooLong \u2014 run runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a546f7b45fd004d19fed622dbcac2a09034511144a0af251f8f2da38875776e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscribeCommand.runBatch: MethodTooLong \u2014 runBatch runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7259127da687d95915200fc7f8233b2d4faeaf6828a2cfc8f564e15042fade"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscribeCommand.runStreaming: MethodTooLong \u2014 runStreaming runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"57efaabd04bc68db8e2a58e26edadc1ea72b4b532e35bab34f2363b24f2d55af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/TranscribeCommand.swift: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: TranscribeCommand (197-1124). The bar is 500 significant lines; this is 290 over it, 1.58\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a3f8b2ed2c5af7b33d19a5f4076f713df6c49d5dfcb95b9ba977eec1a52f3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Diarizer/DiarizerTimeline.swift: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 280 over it, 1.56\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/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee87a19483e7a5d87536188ba1e9d99ff6d14db648290e11b9cc35c30844d8b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfflineReconstruction.buildSegments: MethodTooLong \u2014 buildSegments runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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/FluidAudio/Diarizer/Offline/Utils/OfflineReconstruction.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e850e48d3a9478391d8342ab27d605ced3666fecac3be132caf7856c9899f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/AsrBenchmark.swift: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 264 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c1a95f4edbfecebaad46e91924f6ce9ae4c7e325975fce5f2d224089d2591e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessCommand.parseArguments: MethodTooLong \u2014 parseArguments runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7a4fb9e8682288212a987cb31448f333114178c47ee6b0327e9b18a9f8865f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscribeCommand.parseArguments: MethodTooLong \u2014 parseArguments runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c411322f9de267cae3ae420a2fa5000dfba45c8d7bd7c3fbd3ee82b3aeb5e4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VadBenchmark: ClassTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 187 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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe360a0a277495ea9c5f00b7ed683e9085cc3873a2168c61cfebf75944a2f37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsrManager: 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ec81c35fa0a8d3878876a783558892e06ac56d2bf8b7d25aaa9d255c815ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamDiarizationBenchmark.processStreamingMeeting: MethodTooLong \u2014 processStreamingMeeting runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc035d2e9d27782677775d755614f0a82f93105390f08c1936c8b9c2c3c68020"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Extraction/OfflineEmbeddingExtractor.swift: FileTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: OfflineEmbeddingExtractor (63-1033). The bar is 500 significant lines; this is 216 over it, 1.43\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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"959ce37361ca324557bb64446a088f9da4ef489fcf3757ddbe56f3ce1314c1ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CanaryEarningsBenchmark.run: MethodTooLong \u2014 run runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57bdb6504880ac9c950feb35aad5893a140261f35e645f3b121bd80923be6cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/OfflineDiarizerManager.swift: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: OfflineDiarizerManager (13-1045). The bar is 500 significant lines; this is 207 over it, 1.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/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"838de7c197720d384b1aeb79e9c5506014cc6770e28117a53fba081a3c2c29bb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CohereBenchmark: ClassTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 163 over it, 1.41\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a4fb86f31693b32d3b9436ee075cb58d585ebc3eb9b620da2d76e8dca61143"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VocabularyRescorer: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8efff068a2e2b76b73a0332e76ffe24ad7db6ea4a93693240b1c68eebe4400"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Nemotron3DiarizeCommand.runDiarize: MethodTooLong \u2014 runDiarize runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37989197a728d3a25c1cbc686af377bae8a0a62728ae6b28f82333d610b46a9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Nemotron3DiarizeCommand: ClassTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 155 over it, 1.39\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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba716cea15e922f960dcea45a553dfe73484c03b1944f52114cc31ce835b502a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SortformerBenchmark: ClassTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 149 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"068ece1bef2e807f2e6b42dfaa06fc95596c3bcdd75c7a9e227c13c9a70bccf0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VBxClustering: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 148 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b748a7d42b7af8d866cb66254726624eeeca7adbc256be2275c29d9e453550"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NemotronMultilingualMultiStreamBench.run: MethodTooLong \u2014 run 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualMultiStreamBench.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e29c9da1f63bd37382894dce3a08e899625539c99bb83272701f259e3b47c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NemotronVocabBenchmark.runCLI: MethodTooLong \u2014 runCLI 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronVocabBenchmark.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63deb39bbb925de46fc5ab2dc6a2e1ec3c453b5c82a3dbe10a0206e2ee8fd0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextNormalizer.normalize: MethodTooLong \u2014 normalize 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/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"742432d469bc7e9a7dfd3331224f63baa81459f714f2c5c49f968537337cc547"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LuxTtsG2p: ClassTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 138 over it, 1.35\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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d6cacde1a138be07f1b87aa88a5affc7c29c6fd14315b7d6b2c5ee5e418eda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DatasetParsers/DatasetDownloader.swift: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DatasetDownloader (7-1071). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ad4a3230df4e4a9ec80d85c24082f0e144c40fee8e2a472289b3c82e10e7aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cohere/CoherePipeline.swift: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 168 over it, 1.34\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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88f622f873585249e9c5e3657732aee6fbf0dfca380b14bb1d656ce582643e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SortformerDiarizer: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 131 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2576d5e0fc45580e1bbb1a9b24b2f9744867865c50194204b7b3b10bb62f86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParakeetEouCommand.runBenchmark: MethodTooLong \u2014 runBenchmark runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a5557c019258eec566676b970dec52291ef957426d34046c6c9c79c2e570ef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FLEURSBenchmark: ClassTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 113 over it, 1.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2dbbc93b256b153cb10645f0e21a416f67d777adefa7d082574a5d0a90f027"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuxTtsManager.synthesize: MethodTooLong \u2014 synthesize runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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/FluidAudio/TTS/LuxTts/LuxTtsManager.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a4694414b58610f901e5cfe2f923f14a9737f335046a60cb6d5a27d5136f64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NemotronMultilingualFleursBenchmark.runLanguage: MethodTooLong \u2014 runLanguage runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32623f850cc8e50c23bb1f2bc571cfb0b21273a64f306d51ddeb4f8db974d40"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTS.runKokoroAne: MethodTooLong \u2014 runKokoroAne runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3176cc8d3fdad601f384ecd0c9b4d7918c47d51e6a92996e21e6b316c2c3f946"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LSEENDBenchmark: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 104 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6558d477372aa86adbb1c1be9ebdea2699f5c5423dd9af7b818a77858eb7dc16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: G2PBenchmark.runBenchmark: MethodTooLong \u2014 runBenchmark runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/FluidAudioCLI/Commands/G2PBenchmark.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46c8727b4a9b302c8f972cf93b1ce86929e643d1eab14931eecf857247cce22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Nemotron3DiarizeCommand.runBenchmark: MethodTooLong \u2014 runBenchmark runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb81a042707d47ac4c5ef1436e58c2a80dd5127b674ec27a279eb5467326e96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTS.runPocketTts: MethodTooLong \u2014 runPocketTts runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"43455b29dbb1c4dfa97494956c34563792a9489c648bd9e7ed604cac045bbb7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingNemotronMultilingualAsrManager.downloadAndPreloadShared: MethodTooLong \u2014 downloadAndPreloadShared 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ec1880f4fa2bf1c9022c55f64648040922c7ecca1221869635cf980365543a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingNemotronMultilingualAsrManager.loadModels: MethodTooLong \u2014 loadModels 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"871489fc99318c33c86d7364a6c97442e0c0469cc3cd67ad022ab4d560bb808c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Streaming/NemotronMultilingualFleursBenchmark.swift: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 over it, 1.22\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b79442d1c6bc31f66a4bb48316f8aa7fe0761b803b563b711b826581833ba1b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfflineDiarizerManager.cluster: MethodTooLong \u2014 cluster 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/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"706017c727292d6060fb345f0974033f73b20f63e6cc1f0a71cd7529d9217565"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/VadBenchmark.swift: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: VadBenchmark (8-832). The bar is 500 significant lines; this is 93 over it, 1.19\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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6d08a42416898c3c48eed86b1f4a975ab15ae9220a11145b9dd02cbbd82758"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cohere/CohereBenchmark.swift: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: CohereBenchmark (12-749). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce69ec4fa51326d5f5a8c40da7178b12789b909fe63af5ac2299306f701dbda3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParakeetEouCommand.main: MethodTooLong \u2014 main runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e084f58770602897f74eb1c49c8dbf8d522df59516e28a57ee28c3a1a4630990"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamDiarizationBenchmark.calculateStreamingMetrics: MethodTooLong \u2014 calculateStreamingMetrics runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2488c3cb945b4aaf8e08ef855e5c94d05d7c5ade44fbcf5c21b0d6eb28e45a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultiStreamCommand.run: MethodTooLong \u2014 run 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d44b6cd4a05fb17cde3a29e9e09602c8fea6a27c38aaf45b548a1657a76268d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TdtDecoderV3: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 65 over it, 1.16\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4c8e7ae37de4f92d19b68904e841b28fdc46479287bed7956af7f3d50a88f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SortformerBenchmark.processMeeting: MethodTooLong \u2014 processMeeting 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/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5357e38385bdfd7ea20c10f467a090e2af24a71c15ff4a79e20ffa7ca636880c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MLMultiArray.reset: MethodTooLong \u2014 reset 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/FluidAudio/Shared/ANEMemoryOptimizer.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e517331c260a2edcb5a09224bc1e79ee2e878cd1d7ff74394fd0ee99e56eaf1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTS.runLuxTts: MethodTooLong \u2014 runLuxTts 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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0ba90fd532b4f55611d0e1b8edea059c94ff146149d5cb97aee4ea1fcb7e81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Nemotron/StreamingNemotronMultilingualAsrManager.swift: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 74 over it, 1.15\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a3ee567adb94ea324a134132323720ac10e575dcf38eb6c365440cf70cfd7d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelHub: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 56 over it, 1.14\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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee9ab80a8efbe60761ffbd10b60e8823244a1dad5385c2c769a45028b7f57a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FLEURSBenchmark.downloadLanguageSamples: MethodTooLong \u2014 downloadLanguageSamples 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6172e89360fbc35baf035832ad12d627a741b4d06f905aa372329e8da52b66cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatterboxSynthesizer.synthesize: MethodTooLong \u2014 synthesize runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"667d880da0a50b62e2a1d7fa4e9c8b1dc3e8cc1facc0652e0b78faa2ad879d25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/Nemotron3DiarizeCommand.swift: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Nemotron3DiarizeCommand (7-698). The bar is 500 significant lines; this is 63 over it, 1.13\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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a487ea10adc6609ee3e0f4311b06688eddfc6dd83906ad2fa0c8d19b35459"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VadBenchmark.runVadBenchmarkWithErrorHandling: MethodTooLong \u2014 runVadBenchmarkWithErrorHandling 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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd9120d6dab648042eda6a53dd947077869977a1776c85bed2dbc8bcd913006"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Clustering/VBxClustering.swift: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: VBxClustering (26-776). The bar is 500 significant lines; this is 53 over it, 1.11\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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c11f13a657e573a4bf6df0b5f10f17c9693a81a5119780a3b900c131b4e591"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/SortformerBenchmark.swift: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: SortformerBenchmark (6-748). The bar is 500 significant lines; this is 53 over it, 1.11\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/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bd1c84e4e3361aca538d2896e0ccbc0b3130013c8562abd8644f91e5eb31d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KokoroAneSynthesizer.synthesize: MethodTooLong \u2014 synthesize 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/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28df4f4e72ff369f40326a6c65598e9c120e3aeac82b65133480299b92d2d97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiarizerTimeline: ClassTooLong \u2014 434 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 34 over it, 1.09\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/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"745918dcafec087c9f65f4e79d53df756b733b408ad5c60c951ae3ec46ef4966"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EmissionDelayBenchmark: ClassTooLong \u2014 434 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 34 over it, 1.09\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"466698ed26f27d384b1944e3e3c9e8bb5dd396048a779503226f4d1cadaf9c4e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SlidingWindowAsrManager.processWindow: MethodTooLong \u2014 processWindow runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b712f41b5a1f9f2c4258ea1fadade841beaafcdeb5a83d5e818d316b380185c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: G2p/LuxTtsG2p.swift: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: LuxTtsG2p (24-765). The bar is 500 significant lines; this is 39 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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"586dd76ae3b1459077528833559e08a8f42b09e07e0700f53f421d773252fa51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/SlidingWindowAsrManager.swift: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f54b1b17305be5f9f0aa9819bcd17cc04871d9f92a3322c588bdda178286b2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sortformer/SortformerDiarizer.swift: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: SortformerDiarizer (12-980). The bar is 500 significant lines; this is 35 over it, 1.07\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/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece37312c66cfe99f23bea64298bb5ee00db88c77c2eba3dba66f93a09445639"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VDSPOperations.pairwiseEuclideanDistances: MethodTooLong \u2014 pairwiseEuclideanDistances 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/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"140ff2bc8ce56770ea7eadd0083f338330f4061ac76b8889d77b9034176c626a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiarizationMetricsCalculator.offlineMetrics: MethodTooLong \u2014 offlineMetrics 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/FluidAudioCLI/Utils/DiarizationMetrics.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"24153dee3e86700afbe157c9c90c91f9cd42d6ccca3852801b1bc91155e4a080"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SortformerDiarizer: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 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/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"869b648dbeaffc1502cdb1e3f43aec545ee5006a6f0bbbdff8ee665d646842d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LSEENDBenchmark.processMeeting: MethodTooLong \u2014 processMeeting 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f2ad104dd34f95758e751b10e2f2a6abf9070d37f64507f6c001e1213e4362"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TDT/AsrModels.swift: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 over it, 1.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2198580d40353eac2ada076dbfc6e037ea3def18467401444a2e18def24797"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiarizationMetricsCalculator: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 17 over it, 1.04\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/FluidAudioCLI/Utils/DiarizationMetrics.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6081037195e2e475ae8fd7c659994cd6f9adffe9db8c8743925bd16489cab4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FluidAudioCLI.main: MethodTooLong \u2014 main runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.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/FluidAudioCLI/FluidAudioCLI.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d902888035569c5cd6f18122307ae42301718291bd5161d8c8069879c239cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProcessCommand: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 15 over it, 1.04\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/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d63df67cafec5bc5f3ea767762c3cb80f5f96a589424f6d8e223afd013aadce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpeakerManager: 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/FluidAudio/Diarizer/Clustering/SpeakerManager.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9c06bf9e0fa41411bdd586c8f09d70d2c8f3c363145595a86835d14eab597"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuxTtsG2p.phonemizeClause: MethodTooLong \u2014 phonemizeClause runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c120d3f437a1755f9e8ece7c181d2d4d7db10977327ab74e9a31c399b3f985"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Supertonic3Synthesizer.infer: MethodTooLong \u2014 infer runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f23cf7b1177f822d3be99e3b7c5d2c740311ae98e60132d82d323a6374e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelNames.getRequiredModelNames: MethodTooLong \u2014 getRequiredModelNames 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/FluidAudio/ModelNames.swift"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52f0e51c08d174f90796f1f3340766c484af3e2c52c589eb320aee3681517b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/LSEENDBenchmark.swift: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: LSEENDBenchmark (6-677). The bar is 500 significant lines; this is 8 over it, 1.02\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0e1681186ae9f574772bd73f6f49c8c3700f3d37e6dd6a79cc2ccae8d95679"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AsrManager.tdtDecodeWithTimings: MethodTooLong \u2014 tdtDecodeWithTimings 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc353933004d1e2c71da671f53f9b2f8803afb011415adec2b8f84358cc19a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 15 shared lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:254-306 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:170-210 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:212-260 \u2014 These 3 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0882def88c370b98b304dc3775aec1b6bc1f093a14251a34874e24a64983a48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 13 shared lines): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:163-217 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:285-319 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:321-354 \u2014 These 3 members are variants of one another: a block of 13 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc1a6cbafdd6a7546b6c1f3dd5db7266fde09c24dc91b40a8ab3c84e76c0168"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 4 shared lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:99-121 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:94-118 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:24-35 \u2014 These 3 members are variants of one another: a block of 4 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6def24afaf26dc1ddc68689212ad53dac0d199a765cc6b1110e26da2308e8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (159 shared lines): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:57-427 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:66-431 \u2014 These two members are variants of one another: 159 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8462e1fba30593158794c04245039bb32c2269bd3efdb42a8c18656bc81ad89"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (124 shared lines): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:171-626 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:288-480 \u2014 These two members are variants of one another: 124 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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b1ed97d4aff01520b759641d5267edd76875f00a83f147648ade9e913dd50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (104 shared lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:58-577 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:45-454 \u2014 These two members are variants of one another: 104 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b14d5e07f78c637644ffb4df733b57f7dcb06de45426170f31595cdf0a8af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:9-267 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:10-342 \u2014 These two members are variants of one another: 63 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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e9833291e9df936e359806f9de94e9cfdf29fabb8e1b0eebe24cd0c95da953"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:33-166 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:32-176 \u2014 These two members are variants of one another: 46 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0c67c5742ff989545e1cc8ae83609d69a24f74c7ec265dadf84f6f05a04f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (32 shared lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:353-414 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:426-487 \u2014 These two members are variants of one another: 32 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee1cdcdbc827557c9e689980a52b6f3013290aa621798974512478f9144b4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:119-164 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:226-279 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a147ce47144503c4e60715d843e352c546ee65dcd554ece62232467ffe36080b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:393-431 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:462-678 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:118-243 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:166-281 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:114-194 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:448-520 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:528-665 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:743-894 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:896-1062 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1067-1162 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1181-1286 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1291-1377 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1381-1452 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1457-1527 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:494-600 \u2014 These 15 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"212fd1fdb50ee4541f65209670d94fe7e2e02b40e38749a687d032aced011a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:363-389 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:546-627 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:351-374 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1120-1145 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1159-1182 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:289-317 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:483-509 | Sources/FluidAudioCLI/Utils/InlineDiff.swift:21-97 | Sources/FluidAudioCLI/Utils/WERCalculator.swift:186-251 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd561126523d81718f7441b2d05311d754e2221e835928e8956b56237f350295"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:120-126 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:132-138 | Sources/FluidAudio/TTS/Inflect/Assets/InflectResourceDownloader.swift:41-47 | Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:42-48 | Sources/FluidAudio/TTS/NeuTts/NeuTtsModels.swift:102-108 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ResourceDownloader.swift:151-159 | Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ResourceDownloader.swift:98-106 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c86ad83a6a8b60c4677a6dce389b51cb693bcc50d48befff338f3d44020425"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:341-359 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:361-383 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:326-344 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:367-387 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:205-232 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:249-275 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedRnntDecoder.swift:137-150 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"03861438ca09913fcf4c0be3677fc1fc5a9300fbe05b643de637204c89c9677c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:100-114 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:116-130 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:139-153 | Sources/FluidAudio/Speaker/CampPlusModels.swift:65-79 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:62-76 \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/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f5415c1821330ed85770149cc8647ee1d9465b2a84a41336d4202ac8d75a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:116-127 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:148-159 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:172-183 | Sources/FluidAudio/Speaker/CampPlusModels.swift:81-92 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:78-89 \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/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"75610289220bd18450ff8949c4332db6cb9e0fb83012f8ad19b86f18e5eb7a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:286-361 | Sources/FluidAudio/TTS/NeuTts/NeuTtsPrompt.swift:39-47 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:785-790 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:805-820 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:284-325 \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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fb36b4f8d35ccb3e53b8eb73fb8a0812deb2272a2eacbb9e0ca6fe7ac8d1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:174-221 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BFlow.swift:19-67 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:88-135 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1424-1433 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1469-1479 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf60d77462005a116e306660ba952549ade91c344e0659c3c0a551d03d5e4a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:308-339 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:140-165 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:262-292 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:348-365 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b1a3bcc62a5363801de0449307df982198ac14462939196ff095cace71f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:530-601 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:605-699 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:703-772 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:776-838 \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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"044b7c239360072564093d66ae339273d757f62f4cc2e5bba295d55942b3a70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:677-762 | Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:950-1070 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:12-131 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:145-273 \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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a760b788a9c895dc6e0db40426fd14345b8027c5fa87f35efe12c9c4f3b966c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201361 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:300-350 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:484-544 \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/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"022599c394122ffc1125659d6f7edc6e915816155dfb24070390cfc94bbefa5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201358 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:251-308 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:332-387 \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/FluidAudioCLI/Commands/DiarizationBenchmark.swift:251\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b59ff5214ab0ff89083e1887aa7fa9f6f5a8113760118901aaa64123ff6de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:233-289 | Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:397-453 \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/FluidAudio/Shared/AudioMelSpectrogram.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/FluidAudio/Shared/AudioMelSpectrogram.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95c60565bf04575fcce904c7358bb1429b146d449826225f384b832ceeff27a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201356 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift:124-179 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift:202-254 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift:124\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5d61f028c7183cbcc9e0a222012797754cb089561ec14c44f9afeb6e570027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:1058-1111 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:1049-1102 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:484-537 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:1058\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:1054\u0060 calls \u0060exit\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:1043\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93e988136dc8304b5c128ae5ba764b8a6f002fe45f41bb6f794a5e9936a56e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201347 lines \u00D7 4): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:433-436 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:109-113 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:305-351 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:378-424 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:305\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. 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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded4253bb0e29e0d5555c729339e83a8ae8bb08772a860e1f1924e47b9f7dcad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201344 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBlankRescue.swift:366-394 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:902-945 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBlankRescue.swift:366\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBlankRescue.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f63d5ac3169057403c6c59b56c956773990d13fcbdb0519fb232cc9661a5e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201343 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:92-130 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:592-634 \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/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcc8686fbba9705967232622a5aa630be864ccebdc51db7a940e386f985a8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:817-855 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:996-1034 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:817\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"495718ee3d382ef7a9c87b7dd37099401167e92122bec422f45c8380d6ebd070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:42-79 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:46-82 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift\u0060 and \u0060Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"461e9fbda54beb112234fde76f7d525cc296c8ee32da26c9b064fb0e551323e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201337 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:521-557 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:648-672 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:521\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991f5d965f4566ff9b613604f1bf6a5804b21695d13f58cdc0fc85264e1240b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201336 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:366-401 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:373-405 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:366\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8c61dbbed3038b98f396950f1716535dcb00518f8289861c762aba114129b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201335 lines \u00D7 2): Sources/FluidAudio/Shared/Download/ModelHub.swift:100-134 | Sources/FluidAudio/Shared/Download/ModelHub.swift:280-303 \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/FluidAudio/Shared/Download/ModelHub.swift:100\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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dba086ef374bd9f86db1eb5081a046374b72c04abc40589fb8a6bbfae4599d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201331 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:261-284 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:419-449 \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/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:261\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/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab13635f1e84f22365efede10660f6695309a525eef274dfe30e0919be24d4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:418-448 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:548-575 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"90542d599eee059db1466abd54c385fedfb329e5288714eb22a9295ecfd78d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201331 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:329-348 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:546-576 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b30fd3cd1a594becff1e38c82ddf96f4c7b0abce6ff19c74908f8d738afa3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201331 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift:239-269 | Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift:272-298 \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. 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/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c666090a76a1f1ffcddbdc7660a94dfe5be7881977cc09e3e8152513ffc12d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:290-320 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:269-299 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:290\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec278c33cb3bdd6a70dd6b8a0434c88d497dee793b1c38986cb64f8630a2e288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:581-608 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:404-430 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5555e7ae4e6741e9ae1d56737524b38655522b876146aa9ca3411c51bbc0e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:349-375 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:429-455 \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/FluidAudioCLI/Commands/DiarizationBenchmark.swift:349\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"88180706dd1e0e5de7e31fdfdd534ccee9c5bd25926cb3dd59b697f09be2c655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:833-857 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:989-1015 \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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaa11f168e62a9cb0194777665d77eafd17442ad90c793ea21adb41af295c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:378-404 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:196-222 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 96 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c28ee3d75e92a8ceb28a6d683e6c7f6a44cfc3e08678fc79e8622e7496b3bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:129-154 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:116-140 \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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:129\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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"da43e6f135e3bda3e33dd933f47f3bd3cd4d100b01d896b77871d4945bc2b1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:281-306 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:235-260 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:281\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"783122da43c83beaf67188076b8f6efa5e86dba76f4a3340e31f732127d7c272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:305-329 | Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:579-603 \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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bed699d8aaf6d95abbc91146daf7c434a10f43b396323f13e77bec0a8b3798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201325 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:403-427 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:407-431 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:497-499 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:403\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4e6755f6fd3e05a6fb6469cfcd0f9454822e3e4c189ff5f1ade6378fe9254c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:58-82 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:43-67 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 96 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:58\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc750e33377b9f673d48f0873384902e1f37bfc88fba0200420242077f8658a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:104-127 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:92-114 \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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:104\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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3408503b95c222859bb4064f14549a107e1f9f3af6c8b7026817b055dc61464e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:240-263 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:315-338 \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/FluidAudioCLI/Commands/LSEENDCommand.swift:240\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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb19e25b85a563a5e9d7b7d278bc0f5928725630bf3cca0a3af835e5d42711f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift:201-224 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:811-833 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift:201\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:835\u0060 calls \u0060Double\u0060, \u0060updateAudioPosition\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift:226\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45f1896a87a563fb1ae240e288eab2f2558c9f591a738ae6f34864b4fdc29bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:40-62 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:26-49 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:40\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7319369b20506a44e598328bf077d7c65030e4822cc3718dfa69d77c7ea3582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:651-673 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:311-333 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:651\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d69127a03c48d86c104f5d3c167c684e5f1236cfae26d1994f5db9eede8bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:65-87 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:206-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/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:65\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/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"209ba244c2c43b8375b94a3e5749bffb06fd09b5bee5803c308e0691ad11f18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:76-97 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:115-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:76\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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd7827b111d1442893a9b0d7642990fe638282362f2835de9c55ecd3bd13f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:235-256 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:487-504 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"661e2b93add412ad17e0807e6dd442ad7c5dc82e5bf6bc951a283704f6e03ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:642-663 | Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:847-868 \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/FluidAudioCLI/Commands/DiarizationBenchmark.swift:642\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c767e477704763ca0e9dea0c7b87a0f01d8bc59d01ad4e31959c15add7f1aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift:214-235 | Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift:510-531 \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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift:214\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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db4cb416fca571c7f1494d7153c36617f395f5ea03e70d69374070be843890d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:246-267 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:427-448 \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/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:246\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 \u0060frameStep\u0060 to \u0060Double = defaultFrameStep\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/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccd144debc9db152261958721977a2d32414fba0d472cd2f47c9bde3b045872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:135-155 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:105-125 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deb444d9eee69f92650ee3bf86f1ce17ee3bcbe6f449af69f85046d31365b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 7): Sources/FluidAudioCLI/Commands/TTSCommand.swift:502-520 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:646-665 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1143-1162 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1267-1286 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1358-1377 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1433-1452 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1508-1527 \u2014 all 7 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/FluidAudioCLI/Commands/TTSCommand.swift:502\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c687f2e0657864c34b298b2645c2c40383228f027b0b6631da1d8eccef4cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:40-59 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:43-61 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:40\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/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c27f14b5328d83c055f8ae5a7ba484c8e5fa938694675eb059e3529ed73383f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1054-1073 | Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1101-1118 \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/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1054\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc0e80829facac713a2f386ab26d59238008e2063dff7dd019a144ee31c59c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:107-124 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:248-267 \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/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:107\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/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"38776e6979f03a5e39c1bca71af301b7699e24721545518b93f33c598864c289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:954-973 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:1100-1119 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:954\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36789ee36fa530143104a4f3a7447d1f794e22bf01ead7cea0ce7c4d3b6f5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:832-849 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:858-876 \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/FluidAudio/ASR/Cohere/CoherePipeline.swift:832\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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"590b8ab49bc925cb3a048c4d3225345affb600d40d99c07dd82500d3deff2255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:161-179 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:149-167 \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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:183\u0060 calls \u0060streamingEncoderFile\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:172\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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"48087f160465dabe950b4287a882f0ddfd6e3022c4873ca3a4c5ee3577b7e595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:354-372 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:526-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a298c1e4e3082a497eef1beb422a44c940311875fa83843ab6d4977d7e1ce54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1106-1123 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1267-1285 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1106\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9d5e47435aa91a32321ca2be6939baf6ac1b1abeba64f2a78ecfb8a9a48c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:259-277 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:515-532 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59252bb99414f0bcdf42d7aeaa6de0d66633ede4cf0f7a3354315c0a3e70063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/FluidAudioCLI/Commands/EnhanceCommand.swift:64-82 | Sources/FluidAudioCLI/Commands/VadAnalyzeCommand.swift:81-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/EnhanceCommand.swift:64\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/FluidAudioCLI/Commands/EnhanceCommand.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bb146b5ee595c43a831cfe7af9571055b13f1a9acef469a3ba470a0e615e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:82-100 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:69-87 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:82\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd0d09d2df0d46b0fd3c3a6f8e3cd9b7ea753ddecae1ab43c82e181dffe9fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:264-281 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:176-194 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:264\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:263\u0060 calls \u0060info\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:175\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a99e4263b33347a835e499271096cbdcc73ee11078741a7fa918e6b9655b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 4): Sources/FluidAudioCLI/Utils/TextNormalizer.swift:425-439 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:471-485 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:532-549 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:571-585 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudioCLI/Utils/TextNormalizer.swift:552\u0060 calls \u0060replacingOccurrences\u0060 and \u0060Sources/FluidAudioCLI/Utils/TextNormalizer.swift:442\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/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad8e433bdd3ee05e1d35c52261e266269112fc63a10ccf8ad320a390115bfce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): Sources/FluidAudio/Shared/SystemInfo.swift:92-107 | Sources/FluidAudio/Shared/SystemInfo.swift:113-128 | Sources/FluidAudioCLI/FluidAudioCLI.swift:209-226 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/SystemInfo.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8e01e531dd1b00b6dd403a6951e93508f94f27d25115a4d07c7b7959a3b01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201318 lines \u00D7 3): Sources/FluidAudioCLI/Utils/TextNormalizer.swift:448-465 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:538-552 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:555-563 \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/FluidAudioCLI/Utils/TextNormalizer.swift:448\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/FluidAudioCLI/Utils/TextNormalizer.swift:468\u0060 calls \u0060replacingOccurrences\u0060 and \u0060Sources/FluidAudioCLI/Utils/TextNormalizer.swift:555\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/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"909b666b94e2dd24a70338d1d72f32072c9e880abe18d676f18b5633a33a9153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/FluidAudio/Diarizer/Extraction/EmbeddingExtractor.swift:134-151 | Sources/FluidAudio/Diarizer/Extraction/EmbeddingExtractor.swift:182-199 \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/FluidAudio/Diarizer/Extraction/EmbeddingExtractor.swift:134\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/FluidAudio/Diarizer/Extraction/EmbeddingExtractor.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"340e12f0c1e314b3c28e9b38d64627424cb9f5a2c05170a30882c308e615702c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:181-198 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:159-174 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:181\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c01c3c240ca7c1d4a98e8ca40be2b5b32df1e872df52833bd618b1a606af12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:149-166 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:159-176 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:149\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0d4b2f4afa56d293fda508d0b81de2010b8e77437bd69d93f74dd04c42e6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:436-449 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:525-542 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:436\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"71320afc3709de278045954257c549dc1adbbc0e12f802100254be84f1db154f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:707-724 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:779-793 \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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:707\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"378b96ab9c91ba09f225ed8ad04803b69adb93596669a5be38a63a99be24696f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:527-544 | Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:574-591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:527\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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f961f4d4b201e6512a88d26721f4a0522050cb1ea90e4f6ef00fc9d86f6aecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:558-571 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:410-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:558\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bfb3a280f5c7875d71853cfaaa4b1c282a96bcb84ab1987355f800e6340c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudio/Shared/AudioConverter.swift:221-237 | Sources/FluidAudio/Shared/AudioConverter.swift:328-344 \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/FluidAudio/Shared/AudioConverter.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a30f5097b99aa200caf853ee571006d17ce943bf78af6597f8b0eab2b4cf860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudio/ASR/Shared/PunctuationCommitLayer.swift:248-264 | Sources/FluidAudio/ASR/Shared/PunctuationCommitLayer.swift:286-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Shared/PunctuationCommitLayer.swift:248\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/FluidAudio/ASR/Shared/PunctuationCommitLayer.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc67ee09c1e716471d7cee212bfb9e5134f39e1ee5b03d91b7d5d7f90adfe77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtConfig.swift:17-33 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedConfig.swift:53-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtConfig.swift:17\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtConfig.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee96aaa466f5e7854f7ae3f5f613356b57c7c1d14911fbad7d7e934b65f3a9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:264-280 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:354-369 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e852732e7b00d0506a7c2727c7d9190e88c4d2e9f7d45e99795019fd26b91bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:285-300 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:372-388 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a0b732d0b2a23c1beb44af5556205dc5ebb3075533a78f37f63347655fbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:323-339 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:276-292 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:323\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c965772f87a09d9ac3cb0a72ff5a2ec99df67097d6a057ace054eea868674ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift:90-106 | Sources/FluidAudioCLI/Commands/EnhanceCommand.swift:44-60 \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/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift:90\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/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb153ce9f09a38346752902dee4495548b52ab1a654fed293d9223992f571919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:648-664 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:156-172 \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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:648\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d9b3ed1823b7504c724d5bffdc981b555ed507b1993a8295936e30fca72e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudioCLI/Commands/VadBenchmark.swift:668-684 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:745-761 \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/FluidAudioCLI/Commands/VadBenchmark.swift:685\u0060 calls \u0060appendingPathComponent\u0060, \u0060max\u0060 and \u0060Sources/FluidAudioCLI/Commands/VadBenchmark.swift:762\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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34f02896e7f11891a53bd2dfe1919c7238323f3c668e8a013ad23cc004586d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:108-124 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:240-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/FluidAudioCLI/DatasetParsers/AMIParser.swift:108\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/FluidAudioCLI/DatasetParsers/AMIParser.swift:126\u0060 calls \u0060info\u0060 and \u0060Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:258\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/FluidAudioCLI/DatasetParsers/AMIParser.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1ada864ea797864d279c032132d76545b6ddb1915a16f6edd10530d6065d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:508-524 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:533-551 \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/FluidAudioCLI/DatasetParsers/AMIParser.swift:508\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/FluidAudioCLI/DatasetParsers/AMIParser.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b525a524f3513d1b7789a14d55dbb58984b15d9f55a31aeafc83bed471e1e40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:89-105 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:230-246 \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/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc826cd9184c17109fc1b4e1ba03986ddd9c09b053a099ffeae5509165616988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:561-577 | Sources/FluidAudioCLI/Utils/InlineDiff.swift:44-59 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:561\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 \u0060hypothesis\u0060 to \u0060[String]\u0060 in one and \u0060[String]) -\u003E (String\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6349dd9af87663530e97a899c535b6dafd9c6a3a9b639860857142379b12440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:52-67 | Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:89-104 \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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5bac33b6eda18f147b46eaff707a3a1238d086dc78a4251505a88904c3af17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:275-290 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:368-383 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:275\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"523709aa1ec32ca02fdaf081b71d2bb007ec5278ade8deff91b2974ce3fc2f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:341-356 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:407-420 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:341\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5da79909590d585f8fc29d5d29730a7a346ddce7e0de521b9e82fc06af87fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift:73-88 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift:99-114 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift:73\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b034b4669f41d4a4c0f77f7e7dcc8583dd1108dcdd2ea8e5f695c0c0d95c329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:210-223 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:310-325 \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/FluidAudioCLI/Commands/DiarizationBenchmark.swift:210\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aae821dd109293d6c653e46d23e5a9a185ffba01f4dff8a1fa1584af0210061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:119-134 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:56-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f067f9bb88356933f9b682f48c6e08400f73868058e5453fac2a8f78e137a6c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:534-549 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:612-627 \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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:534\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7402650855a10bef7288e6ae57d33a73f6b7d5c64a5bfa32bad5ee9752762d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:737-752 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:804-819 \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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:737\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33beb3525e9f00d7403dc6a62f50827b41618507abc83bedc61fbe107fba224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:230-244 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:410-425 \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/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:230\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/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ee5d8e575911a7e66c9e15af65e3500fb6dce6b416d64e86a8e28e1d11636a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:100-114 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:116-130 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:139-153 | Sources/FluidAudio/Speaker/CampPlusModels.swift:65-79 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:62-76 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4941676ba653e6051f1b8c4055896fc425524c365f94ad5d3e60bea0e57f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:45-59 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:48-61 | Sources/FluidAudio/TTS/NeuTts/NeuTtsModels.swift:43-55 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:45\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/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4b49f5887fb4000b059ed0a2625e6ad2eacf18806424ca2451dfda8b92c1d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:137-150 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:107-120 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:190-204 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:137\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ab38eeb51b8cc587c331b63762baded4ebe4bc2b9f53059ee491e9534c1d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:179-193 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:127-140 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:169-183 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:179\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9249058b7b77962c1361e1621b458f2bfdeeb83585b2a87f7ec1fc23f6953e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:55-69 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:30-44 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:114-128 \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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:55\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc940f52491c49ca543a6c5ed6468e3549ec08f9e93e90c3bbe9d4123d947a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:681-695 | Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:954-968 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:16-28 \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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:681\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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa89f11fc31adb41c0b2f7d481f96c560656e82a29e2f0b0b6011556bbc13d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:348-362 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:402-415 \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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:348\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/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"727825cdc42146c563d5c99a20d837f08fa35c039027774590479a3bc0af29eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:202-212 | Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:545-559 \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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:202\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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59429b816a2a417a9a1df4cd72804689942e579d157f1a975cfac66e5be5ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:208-222 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:162-176 \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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:208\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e040ca157ff1a77c7662a1e31a8c2a3e0f162bc0857cc1cecf98358b624c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:169-183 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:197-211 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:169\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"01009f7fe2bad0924a2028507d0ab835dc4437b0f293dee60355e4cfa66441c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:598-612 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:50-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:598\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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d1f26f9a1e61f9f03b4f76e2e7e7ed2ffcb474567024b68b664371f87eb0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift:82-96 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift:99-112 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"da87e201e97314c7ea7709de0bcfe2bb4d58847ecc744a4874aa1abeb0bbe834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:254-268 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:212-222 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:254\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fd872a9de7f9433a91a0fea6c04d74e02e2a0bfe6f45e24a9ac642670576ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201315 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:346-347 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:369-383 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:331-332 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:374-387 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:254-255 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedRnntDecoder.swift:141-142 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:369\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. 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 before the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:368\u0060 calls \u0060bindMemory\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:344\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"863a1f845257360910d1f1c7fe11942127f0baab1bd30b24ade073586aaeb026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:102-116 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:39-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:102\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3499309dd169b1408ed53cc092f720282654cdbde3b0d2a96d32dca955065689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudioCLI/Commands/SortformerCommand.swift:83-97 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:260-274 \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/FluidAudioCLI/Commands/SortformerCommand.swift:83\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/FluidAudioCLI/Commands/SortformerCommand.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7593fe3a4f1afdeabb04a2b9c057b6a61d26a7a53bdd8044f3865ea74331a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:870-883 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1039-1053 \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/FluidAudioCLI/Commands/TTSCommand.swift:870\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a02ad3c85f32424c28d2733622f13055ada30ae14dffb855905761e1982cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:53-67 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:153-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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:53\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d01c9cc3e00c474f0d67f37c031e49b70dc02c34f85b806c835510061e321d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:455-469 | Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:472-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"143400f14116a5c793d0e3fdb8800493c660741d675f1ca6df8fb6b3dfcb874e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:29-43 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:339-350 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:29\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:44\u0060 calls \u0060info\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:351\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b813c21b3b026f4ac1a38c1d736da1e53632961aa9757b1c3baea1564fea3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:44-58 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:350-364 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:43\u0060 calls \u0060info\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:349\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd0e4dcde0b22214659d8708367baaae2552fee34fee25caff6209cc4129bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:465-478 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:712-726 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e243e44cb763a8a7210fef87808e78ebeb9e8fc60c911d50c01ab8bec6c0412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:671-684 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:93-106 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:80-93 | Sources/FluidAudioCLI/Commands/G2PBenchmark.swift:64-77 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:671\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e351ffa0668a0279f946bfa8d8175fff890d4a47ea7fb9b83c3c3789e2f553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:74-86 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:59-71 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:108-120 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:245-258 \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/FluidAudioCLI/Commands/LSEENDCommand.swift:74\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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"558b408ac4859ae1d73c6f39fdb96bcd4eea3b8c196c0e1933dae679e5adc233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:182-194 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:300-313 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:330-342 \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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:182\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060s\u0060 to \u0060[Float] ) async throws -\u003E (d: [Float]\u0060 in one and \u0060[Float] ) async throws -\u003E (f0: [Float]\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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:342\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:194\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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4cbfe8a4b9484647bc9d87d35a8be45c0692249cb376d4b51bff915edff4e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:88-101 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:230-243 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:265-278 \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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:88\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9560522f40359ea52b9453472cbd5a8a9ea8558641a22a5e8465e65bf5160fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1324-1337 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1400-1413 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1476-1489 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6250af47dcae4b8bc1ee7950b33afe173a2ce032efbb26a7b086df0c376f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:28-41 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:26-39 | Sources/FluidAudioCLI/Commands/TTS/LuxTtsG2pDumpCommand.swift:23-36 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:28\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7c94393963a9de75f8a0c47cba1e610963d47fc96906fc006e5fa8f67cd924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:217-230 | Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:379-392 \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/FluidAudio/Shared/AudioMelSpectrogram.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd043c6dbd7e62df1504b250fa95144f1016213139f6a8fe3b57acb3c93a643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:191-203 | Sources/FluidAudio/Diarizer/Sortformer/SortformerModelInference.swift:170-183 \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/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:191\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/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16c4455bead5441006adb3f34643b459e00b57299f510126c94415c0f42a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:368-381 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:415-429 \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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:368\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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3850a4b6116bba9d4d52aebfa90fb14ad58867c2e8ec538b256fb30640d573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:127-140 | Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:330-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:127\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/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e509025c134631b633c8ba122a97eeb5d29c7c4ed6f01c340cff6bf2fffd03f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:156-169 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:155-168 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ee8a8478f23eef6fa9eb5bc2c8a00aa744015f3452db3fd09d4bb18cb45121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201314 lines \u00D7 3): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BState.swift:69-72 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:253-266 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:323-336 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BState.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d507a47bc686d642c6dac1adfce7bb18ed276dc4e3be21f7e4728fd20aee66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CTC/CtcDecoder.swift:257-270 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:202-215 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CTC/CtcDecoder.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"98299001d336232c96415411b2c3d8c8c44a5b7398ea13e257f1d9e78d8da356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift:300-313 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift:347-360 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c018eeaf3ab648f627d8b4cb76bf89560034eb3bcf6f9845b476e020517c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:715-728 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:343-356 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:715\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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a7acb43339dd773578749e30c10e3eb9930a3e6ea18514e1fb9f9af949f479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:139-152 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:192-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ef780bcdc438dd58d85504f4240ae9fe206a8ee44da8523f9f538f0d814e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualStreamingConfig.swift:54-67 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronStreamingConfig.swift:37-50 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualStreamingConfig.swift:54\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualStreamingConfig.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3d8dc2ea7a9894c3cb022823a99a50d89d419ee47cb402b0ff3d7f2a0df7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:367-380 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:434-447 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dae06e8c50c2daeaeeadad647fd326d89ffca774e64a91d08fb602061aa537b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:388-401 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:457-470 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"41495479a77c2cd990ede76023c5d083b9a789c1a2da3f8831f7875d2b5aa8dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:468-481 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:694-707 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:468\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0557dd8e21cbd3a963e29509dd88979bf311d0ab1d19ec7cb5c4b768150d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:385-398 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:389-399 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e89c66d3e3fd658269deb87376837bb3dfc852c0e356abe5ed3b7cfe92a7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:83-96 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:97-110 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:83\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d1718e54d104b2e378d10a1cdd15ec9d3bddf0bed242ddab4527807bbd7f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:103-116 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:69-82 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86d690b5a22cc8309fcfd35620887ea4d32d9779c7b7cbd0a83e3d8d4144265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:533-542 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:755-768 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf4531375243257a6064c61d46d1a3a36511243d125ea563540e6f330f01598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:118-131 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:114-127 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 96 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:118\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:133\u0060 calls \u0060info\u0060, \u0060downloadLibriSpeech\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:129\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc26861a3f6162fb1955a1f35d2d5ffdf6cdf2d2e6c9dc87a7f99380df67cb83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:61-73 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:39-51 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:33-45 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:898-910 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:141-153 | Sources/FluidAudioCLI/Commands/TTS/LuxTtsG2pDumpCommand.swift:28-40 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:36-48 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:310-322 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:120-132 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:164-176 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:62-74 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fde9fe0a9ee6478bf5eeecc8f264fa1a034efa887aceba90ca72dbf7ea7400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:680-692 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:167-179 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:146-158 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:150-162 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:680\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b27ddaa4a20a0094ad32a6358ec78a0ba5a65ef00df1280b72b6c43aab1e7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:103-115 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:69-81 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:114-126 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:132-144 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a172436fa93ab8ce5a1124b064dd7a77a55680f25ebdb05852553caa5c2ba22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 4): Sources/FluidAudioCLI/Utils/TextNormalizer.swift:468-477 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:505-513 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:549-561 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:568-577 \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/FluidAudioCLI/Utils/TextNormalizer.swift:549\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/FluidAudioCLI/Utils/TextNormalizer.swift:465\u0060 calls \u0060replacingOccurrences\u0060 and \u0060Sources/FluidAudioCLI/Utils/TextNormalizer.swift:549\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/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd08e0da1845fb2cbb75428f4ce28da2cd2c15225fc59d7d3687785f21ffecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:51-63 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:168-180 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:151-163 \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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:51\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf1a5e865cdf8986c4f739492313a40e01ed8fc1b9fd4d6c9c54c07a508d190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:255-267 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:330-342 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:424-433 \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/FluidAudioCLI/Commands/LSEENDCommand.swift:255\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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84d379caca084b921a1be9e1fe9b2ddd63879aed28644538e4669d10b278ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift:54-66 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift:69-81 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:746-757 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/MultiStreamCommand.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f866c96bb70ecded72efe303e580144d95f287eda56f1f9d7e353d07ff9880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:37-49 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:39-50 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:25-37 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 96 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd17c5519c9b545ea322ecf7aa7fb635d76edaebf90008252199036e125c1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:226-235 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:361-373 \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/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:226\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/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1db07257a4e1a05bc001051c848d0d9c9702fecdf31a4890db38636d4057beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudio/Diarizer/Segmentation/SegmentationProcessor.swift:114-126 | Sources/FluidAudio/Diarizer/Segmentation/SegmentationProcessor.swift:185-197 \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/FluidAudio/Diarizer/Segmentation/SegmentationProcessor.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef812c3231c0b3c36dc5b4031ce182e7898fd444036ecdbe726ab70839566e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:384-390 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:903-915 \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/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f89aa63bb136852ce7260d37f26ca5b7b63bbdf7500a32e18db2883c402b694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift:231-240 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:169-181 \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/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift:231\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/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bd8d8ebc8e187b27706def0e2a92cd9c470b9a5e24aa44d48dcdc9b3a7fbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxMLSupport.swift:108-120 | Sources/FluidAudio/TTS/NeuTts/NeuTtsSynthesizer.swift:167-178 \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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxMLSupport.swift:108\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/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxMLSupport.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9a6afd5d11313db8b0a76c54aeff2128b0267cee29b3b74f92df0c24671a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:385-397 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:458-470 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:385\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94de03b1e301e86fd320d0b32fcdae0b9426f35803637cd73ff5d3ea3fe1d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:296-305 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:548-560 \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 after the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:567\u0060 calls \u0060warmupModels\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:311\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"852c2695cc7fa0c21d7dc52cb075fdab17538eb2f41fa4a7b5ec5a675580f99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:113-125 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:480-492 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0f818fb333e759b4d346438cc2e74980afc2b8749bdcbfdb3acce5d42e2a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift:79-91 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift:95-107 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift:79\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c3f95088c3f9d6e1b120e6c7e3e2b0983d476f1bd60f7b5eec9d1f48b10e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:177-188 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:289-301 \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/FluidAudioCLI/Commands/DiarizationBenchmark.swift:177\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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5716abde1764bb9b89597af769f52f695ec83b698ac05afc832d06af5441e944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:317-329 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:397-409 \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/FluidAudioCLI/Commands/DiarizationBenchmark.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/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cd1c915669521703a2f777a3c26ac7b73fe3198bd9e1f4ed71b892d29e505a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ProcessCommand.swift:15-27 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:12-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ProcessCommand.swift:15\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/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8c8e9f78fbe18376593e3eb8c839ffc252c88fba5550335bb611fac2729b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:556-568 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:253-265 \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/FluidAudioCLI/Commands/SortformerBenchmark.swift:556\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/FluidAudioCLI/Commands/SortformerBenchmark.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b560d43d6321acfb26ff0d16e55bcb119873720ef1844210cfa270e601cc565f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudioCLI/Utils/WERCalculator.swift:52-64 | Sources/FluidAudioCLI/Utils/WERCalculator.swift:95-107 \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/FluidAudioCLI/Utils/WERCalculator.swift:52\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/FluidAudioCLI/Utils/WERCalculator.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c8e5efc10f6754611ecff7e1b5503d3563d0e1685182b94b1fee7ec2915678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:591-603 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:864-876 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:591\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8260e3276442e5a6f8465660807c99c5faed7e64503f114be52276a761a3a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 20): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:62-73 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:89-100 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:40-51 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:676-687 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:34-45 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:98-109 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:894-905 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:610-621 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:633-644 | Sources/FluidAudioCLI/Commands/G2PBenchmark.swift:69-80 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:163-174 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:137-148 | Sources/FluidAudioCLI/Commands/TTS/LuxTtsG2pDumpCommand.swift:29-40 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:37-48 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:231-242 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:266-277 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:311-322 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:121-132 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:165-176 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:58-69 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"358c3fb921c606b04dca7334044318ba99d2aacbf0c722a9737b4007b3509612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:678-689 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:901-912 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:165-176 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:144-155 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:49-60 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:148-159 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:65-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65828a76ea233d2e8dd37c466bf9f4471e8efdb2e465a8b53a503088dd5763c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:116-127 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:148-159 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:172-183 | Sources/FluidAudio/Speaker/CampPlusModels.swift:81-92 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:78-89 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e11daec5e2c4fa62bf2247e6da07f280735e4ef8544e3f0c714c1b3b98a2264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 3): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:602-613 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:630-637 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:639-646 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:602\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e2c9752c7d752473cef8f21652beea6375873886476bd1eb891c7bae8e0126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201312 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:98-101 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:120-131 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:124-125 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:419-425 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:494-502 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedRnntDecoder.swift:125-129 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:98\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:119\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:98\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b07c6a3a96534b5af56aac052dfea0004103260a311523407783c471f669ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:392-402 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:395-406 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:488-496 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:392\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b53262b916c31a917704cd299e0e1b8d48f44d50d74216bea15510f276e587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:902-913 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:50-61 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:128-139 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"021a1979df8ea4fa420d5d46730cd7c42793dda4ad44a5a3847e896a23d76fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:258-268 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:353-362 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:1059-1070 \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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:258\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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f180e81cdc43d72df3cd63ba84f92c0463c24be2a8dd7586532765b48181e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:686-696 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:19-30 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:157-168 \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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:686\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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a619dda6e6c437a9ef8c8608c10b89ad6d815cae9c99e9c9a4ab39abbd90235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201312 lines \u00D7 4): Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:135-146 | Sources/FluidAudio/ASR/Parakeet/ParakeetLanguageModels.swift:309-314 | Sources/FluidAudio/ASR/Parakeet/ParakeetLanguageModels.swift:319-326 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:159-170 \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/FluidAudio/ASR/Paraformer/ParaformerModels.swift:135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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/FluidAudio/ASR/Paraformer/ParaformerModels.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52d830a4bb848f92441f47ef9ff6cbb8556b1b443afa92bcf8792c157712a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift:104-115 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:970-981 \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/FluidAudio/ASR/Parakeet/AsrTypes.swift:104\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/FluidAudio/ASR/Parakeet/AsrTypes.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0210c310a25ea92b35f6f47608d39a56403e05ea51df8841997c8e26936c950c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift:332-341 | Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift:411-422 \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/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.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/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"39be775f033a3ae4b884356d7fb9201075acbe922f197dba1af6de27fd99b0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/PocketTTSError.swift:10-21 | Sources/FluidAudio/TTS/Shared/TTSError.swift:9-20 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/PocketTTS/PocketTTSError.swift\u0060 and \u0060Sources/FluidAudio/TTS/Shared/TTSError.swift\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/PocketTTSError.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d273092ccfd9296e7467817c1feba3830189cd67a2efa1af29c69093bfc9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/TTS/Shared/AudioPostProcessor.swift:70-81 | Sources/FluidAudio/TTS/Shared/AudioPostProcessor.swift:96-107 \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/FluidAudio/TTS/Shared/AudioPostProcessor.swift:70\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060cutoffHz\u0060 to \u0060Float = 10000\u0060 in one and \u0060Float = 80\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/FluidAudio/TTS/Shared/AudioPostProcessor.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0829316253fb122bf8f8623c853341d1b70210ee1b2bdd8a0ec8a6730107a4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:163-174 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:192-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:163\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/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f287b9f2984e0fa93e5abb75f2d5092fcbb4de26c71d3b5c9c377c9b9bfe1a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:134-145 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:252-263 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"52527d6ac89ae0eb12ff0d7d100f76666f8f86b1b3e76dbcca5858b379c29fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift:322-333 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:436-447 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift:322\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc47643a78a89d62a6dacbeba195173cbe7a7c2c4f992e7bdca04c5d7d5baa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201312 lines \u00D7 4): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:308-319 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:149-152 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:262-272 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:352-353 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:308\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d3eda85546a0fedd3587a9fefda474dabd4f821dccb72f35409757ef05d428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift:190-201 | Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift:483-493 \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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift:190\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/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda03add8fd3710da6100e6980dda4ab62bbed9163119f2899c858d34696a630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:114-125 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:198-209 \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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:114\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb83d03f7bc6a136454a71e73b97e768c6f7deb9751be45f69219a3cefd4defe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:736-747 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:878-889 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:736\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd432c68dc4790e60bbeb0f691aefa50c12f3922518327a4fe800e94d76c465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:58-69 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:47-56 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:58\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faebed4a3a07071cef78eeff6f9c507b3c48eb3f7637b17b0c8847a2f9f7cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:396-407 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:450-459 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:396\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e5951ba979800855ef5a73796aa094995331de5d0f94b1486ce4903df55ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 18): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:59-69 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:91-101 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:37-47 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:31-41 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:100-110 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:896-906 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:612-622 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:654-664 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:29-39 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:139-149 | Sources/FluidAudioCLI/Commands/TTS/LuxTtsG2pDumpCommand.swift:26-36 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:34-44 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:233-243 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:268-278 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:308-318 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:118-128 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:162-172 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:60-70 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:59\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/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:35\u0060 calls \u0060printUsage\u0060, \u0060exit\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:58\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c41c545ef2c4ef59f19f87040ef842e4fa7958032988191762a8fcc26d197c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 9): Sources/FluidAudioCLI/Commands/TTSCommand.swift:505-514 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:649-659 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:878-887 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1047-1056 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1146-1156 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1270-1280 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1361-1371 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1436-1446 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1511-1521 \u2014 all 9 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/FluidAudioCLI/Commands/TTSCommand.swift:505\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6271413733e5e66dba9050ab76c1e5ce787d612dbf1bbbcc40557c6c32bc140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:678-688 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:901-911 | Sources/FluidAudioCLI/Commands/G2PBenchmark.swift:71-81 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:165-175 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:144-154 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:49-59 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:148-158 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:65-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"862700d78f442b5b04823351f6d8aba94cdbcc75636e95a569d11bf827efa241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:679-689 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:902-912 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:166-176 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:145-155 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:50-60 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:128-138 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:149-159 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:66-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c1b36dfd505fb0d35be3af61d0158f2664048bb5680bfa6349d479a37cd4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:669-679 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:91-101 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:78-88 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:140-150 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:110-120 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:193-203 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:669\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d211dc8b4222d4500688d62a44c9b95fd6b5d570a2dac0f248ea55e7201184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 5): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:349-359 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:300-303 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:334-344 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:355-365 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:222-232 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:349\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. 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac83ba74da27f451e0d88eeea7df3526127f797a71c3f59680ed687ae187d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:273-283 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:185-194 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:227-237 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:273\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a14518d8aa78c842629c8ffee445162535305e44e9632fc867618df431be087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:376-386 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:383-393 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:476-485 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:376\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"700a9b2aeb7803dbfbddbe6eaad18ccdd7cf7c6ead0b8cc9e4202526f6652bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:88-98 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:88-97 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:265-275 \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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:88\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3370f2a635036d0d5f6759abbce736b72f6b1ece392ce89e3e82ebb348fb1c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:86-96 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:73-83 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:123-133 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:86\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7fe20285cd9fe5ac238139d5282d1847354d8d071b9b37930a37555c7d1881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudio/Shared/Float16Conversion.swift:12-22 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:24-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/Shared/Float16Conversion.swift:12\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/FluidAudio/Shared/Float16Conversion.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c5cbfb806751cfe466bb1ece6f32ac27fda7388b42022f8f1506b022b0b871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudio/Shared/Float16Conversion.swift:26-36 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:11-21 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/Shared/Float16Conversion.swift:26\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/FluidAudio/Shared/Float16Conversion.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e09dda698fee2edfd21fc18d7a3ea6e2904ae58cc70a8ba334b49c08f6b0aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:222-231 | Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:333-343 \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/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:222\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/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea908b268defabfb2ca4e5b55bc32e4516511d3d5fb4bb91ca65bc096442aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:208-218 | Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:226-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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:208\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/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b718759aa0ebe7b64bed32a20b0abfdf4296ff77891285690c37e44570f57c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:452-462 | Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:473-483 \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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9883d65bebfe73c681a0af5d739135a0120c2ca1482736ab08741dd32fa9a6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:192-202 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:124-134 \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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:192\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff675d0761313c0bd73ab677730576b559996122107b5efd858560609d58f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:180-187 | Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:413-423 \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/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b16004c994c3e756ab3a0476532b0f9f97d0c9f82d50f7e8bc8805b80fd002d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:211-220 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1029-1039 \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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:211\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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3644faa7a65d8c4c8c2e911a00cf903b1358dd25dabeb2b32785b4a4dcff959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:807-817 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:948-958 \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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"e801c54ec8544c17a7ee6371370f239b4c06a8f052916925e46258ab8ffc7cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:31-40 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:189-199 \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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:31\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92a983fab7c00824b095cf62a224b3e95c0b163b68894f73430db93815114d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/VadBenchmark.swift:482-492 | Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:626-636 \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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1267cd0bb2bb9f5a511bc15fa50dffa07dd0d7c8cc027fc9962eee740eba14b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:341-348 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:388-398 \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/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:341\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:341\u0060 calls \u0060String\u0060 and \u0060Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:388\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/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9001f1938ff99718ea8e1ee03435336daeac0060c99c44b7883e7669f3b728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:367-377 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:511-521 \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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"79647b2966c0d4657b9594978a606799114d65405460cdc55f111a77f29cc9d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:456-466 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:472-482 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb108f5205a321586ee05ac79204b0ce32811ce016cdd6ae544ddb44fd53c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:113-122 | Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:272-280 | Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:337-345 \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/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:113\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:268\u0060 calls \u0060info\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:335\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/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bae2022b8e052725e8d2866bc5b61d33ba8a09f8c9397b6ae536841ec3378a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:102-109 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:120-127 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:175-184 \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/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:102\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/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f903b6ed6756dff706b72c4dedca64947273282a2b6a7bf31813c3ebf7262a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:380-388 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift:103-112 \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 \u0060features\u0060 to \u0060MLMultiArray\u0060 in one and \u0060MLMultiArray) throws -\u003E (MLMultiArray\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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9533cea304b5a395070aaacfcb272c7f5afb635305953178477060e9c69deef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift:195-204 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:499-509 \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/FluidAudio/ASR/Parakeet/AsrTypes.swift:195\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/FluidAudio/ASR/Parakeet/AsrTypes.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ed8d359392edd4bc83b0582330f73090d248ea1580280080561e89aa66639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:80-89 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:91-100 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:80\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/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0c9ece5373c00f696e555cbd6bc19a127e41fafb1c50ec48f9e2f73d3ea6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/Inflect/InflectError.swift:15-24 | Sources/FluidAudio/TTS/LuxTts/LuxTtsError.swift:15-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/Inflect/InflectError.swift:15\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/FluidAudio/TTS/Inflect/InflectError.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"da08cabab79b46afda7d5aa87193dcd9f474d7d6b02f103e25fd889e6be2f09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Error.swift:16-25 | Sources/FluidAudio/TTS/Supertonic3/Supertonic3Error.swift:19-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Error.swift:16\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/FluidAudio/TTS/StyleTTS2/StyleTTS2Error.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"47532ba3baf02222d016241d76952c46e31edf9ce0539b7c7139ad81c7dca5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift:596-603 | Sources/FluidAudio/Diarizer/Offline/Extraction/PLDATransform.swift:186-195 \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/FluidAudio/Diarizer/Offline/Extraction/PLDATransform.swift:186\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/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c705cf388bdb3b55c5ad236b5db46de5f3a51a37d17cc815ace0f2475311c14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:55-64 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:63-72 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:75\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:67\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96244118bb48a043dd54c9d91b8d80d696e84f22601696a5f09b4aae0e082bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:267-276 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:371-380 \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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2196e5a6a8b618766371665aef5c7e8554cbdb8c9f6c7508718394e8746c6d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:105-114 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:406-415 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f139ea93cc0896a4a9d0387399dffb4230cd99a76ac683e8391e442609b1092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift:53-62 | Sources/FluidAudioCLI/Commands/VadAnalyzeCommand.swift:29-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift:53\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/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abdf65b427863a523336c994b9d9b55b900dd5fd3eade03a49b5b7e8ebc6e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:87-95 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:36-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:87\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82be3984af1db15089a265175d02bcd57b3af4fa5782014feaf8e0dd00a2f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:861-870 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1501-1510 \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/FluidAudioCLI/Commands/TTSCommand.swift:861\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7a3f1a10b810fb292fc173d7ac61838a7c3ddcb6a1e6e89f47a3f65bd8c52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1227-1236 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1323-1330 \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/FluidAudioCLI/Commands/TTSCommand.swift:1227\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7de31c54f7f61395e86fe20389c5db89fd6a50806facb34c9f1145d49ac559a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:49-58 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:137-145 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.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. 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c501a0aacfdca0e17c65def09f0f869d1a700b416619e18fcfbd86b44f386c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:105-114 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:195-204 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:206\u0060 calls \u0060printUsage\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:115\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1072b4dc6921640b53ea25650f737e20a38f37f90ca2a8bf1ad5b4f47b58061f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:243-252 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:273-282 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:243\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"74202e96dcc939a1bf71903b3e130d7b1d8c0b08a2927fea93c7acb68b99d2ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:340-349 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:27-36 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2239c2d6ad88ba78463860ab6aea771a1bf5d1fa6166c83dd472bca730b3095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:351-360 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1159-1168 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:351\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c783c716d74e5d63d0ccc99dc33b65d88c245ec7dac0f7ef3447434df4a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 7): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:120-126 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:132-138 | Sources/FluidAudio/TTS/Inflect/Assets/InflectResourceDownloader.swift:41-47 | Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:42-48 | Sources/FluidAudio/TTS/NeuTts/NeuTtsModels.swift:102-108 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ResourceDownloader.swift:151-159 | Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ResourceDownloader.swift:98-106 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab17d435dfbf2f10e83cb06cc9a16b63354fe880bd95a95d89e7a4dc283b20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:103-111 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:69-77 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:114-122 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:78-86 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:63-71 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:112-120 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:250-258 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd26c583320188f6c2bc2898846bad6b0dc1e67476c343ba902d8af2b692e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:153-161 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:226-234 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:275-283 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:379-387 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:405-413 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.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. 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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5b257b501f1eb57d477d8b8be4aba3a2e42a61302fc58c88fd5583af4a3dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:189-197 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:195-203 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:121-129 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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. 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0844962722a62753722a0c99bb2aad7191ba0e9cdae7a7d62fc618c7deb678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:147-155 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:59-67 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:69-77 \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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:147\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc243f90f83ea5c739e2ccc1a2876ca8a3a4fd2644341aeb8d66827954a83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:212-220 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1030-1038 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:420-428 \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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:212\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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"468acc357a433b6cb4221d45f1b9a878f687dab50ac9cfb5a609250971519b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/FluidAudioCLI/Commands/TTSCommand.swift:861-869 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1018-1026 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1501-1509 \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/FluidAudioCLI/Commands/TTSCommand.swift:861\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48f20540d3cc605c6cd4ff6e4723a6a6cef5009b06a0c9a7dbe8aecd367557b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:455-463 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:490-498 \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/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:499\u0060 calls \u0060processLocked\u0060 and \u0060Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:464\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/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3419b482bb40453cbeef70f98170d7b02b3deb6b45756c6ae3d1ab64696a31fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/Shared/Download/ModelHub.swift:86-94 | Sources/FluidAudio/Shared/Download/ModelHub.swift:320-328 \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/FluidAudio/Shared/Download/ModelHub.swift:86\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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b132c062dac8acd6ebb0aeff79a477e82299a674af5f8fed7a2e9edc55d4d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/G2P/G2PModel.swift:115-123 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:94-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/G2P/G2PModel.swift:115\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/FluidAudio/TTS/G2P/G2PModel.swift:114\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:93\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/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4fe64a8356886048871ac246781e06376018f09e44fd9120917e74ddc2e101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:907-915 | Sources/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift:551-559 \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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e1b02c1bd9cfafd57916894b50aadec1bab9066fb0345dd0a20f2238389b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:93-101 | Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:208-216 \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/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99e02e0705774a666017deec345a85728d045c0409a51bd3d4d61e302db8e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:66-74 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:75-83 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:74\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:65\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffead86443a69edea557ffd39678c5e986ea264bc0dfe511b67cebeacf12d896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20139 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:99-107 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:94-102 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:26-26 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:99\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4d0c4166dd42dc9b6163d1604a55f728960ebfe605806b44ec2c841a9cf87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsVoiceCloner.swift:93-101 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2GlueOps.swift:90-100 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsVoiceCloner.swift:93\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsVoiceCloner.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"43de536c99daa7f39c3d17739958ed9bc93b77aeaae889c085445d4123f63b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift:387-395 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Tokenizer/StyleTTS2Phonemizer.swift:250-258 \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/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa0c1ad2c52beacc426fe114787bfe62101a8cad2d1877a8fa695d5c6b7b940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:82-90 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:105-113 \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/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:82\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/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd691550d88c818e4d62b73faa723c2c1665c9442fa793648ce9ef4bb4f4b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:252-260 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:264-272 \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. 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/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eba6dee2c92cacdc75511e77efd89d1dd2100634f1cbabf890a9876ef6dd37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift:55-63 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift:127-135 \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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift:55\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/VocabularyRescorer\u002BCandidateMatching.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa913cc805fff1b9c382886e5c912b1515acccec4d08d786952583c4ce652f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:129-137 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:236-243 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:129\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1411c96fe2b4a9a4e908249d2431a7c3f99975923f2b6f74d80d04e7f091912b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:81-89 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:179-187 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"532acf04745b20f10ea1fbb0700ba2881cca33a82a7fcbcb0d9c5eb778e5eebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:207-214 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:268-276 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:207\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee286e6b2d1dd07b6bfead45db6918df5f5215e0e0d4a71d728386951343bf91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:133-141 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:98-106 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:133\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a123c1a345330e1e465754cd9891b8b6f816685f0973350004a353491961408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:387-395 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:1233-1241 \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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"766609705c16579e41f631264a42b9fba4e1e507850766e6e3814a8bedf06dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:645-653 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:729-735 \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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:645\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d036532408500807d44cddf4ef2d850a630b11598bc27ff6f45150d5da26e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:69-77 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:53-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:69\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3d8ecec3015e303b5bf1fd60bc98e498f571b1e9e9b96aaf2925c21fbee128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/ParaformerTranscribeCommand.swift:30-38 | Sources/FluidAudioCLI/Commands/ASR/SenseVoiceTranscribeCommand.swift:36-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/ParaformerTranscribeCommand.swift:30\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/FluidAudioCLI/Commands/ASR/SenseVoiceTranscribeCommand.swift:35\u0060 calls \u0060printUsage\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/ParaformerTranscribeCommand.swift:29\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/FluidAudioCLI/Commands/ASR/ParaformerTranscribeCommand.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c185768e0d678c32e4d8f82208595e8dea90535f1e6682c0e4e3be5570b4889d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:84-93 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:109-117 \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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:84\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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"042cc697145af17e4795e35726cbb7218dbb8afed9067e7efc287175c49ceb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:417-425 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:485-493 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:417\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b67300da1e1bd83b70811cebd7214c70a764e23efe2ad4863e1de5d3064d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:267-275 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:159-167 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 96 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e61d43ba804e836614b1ee705869b85f63cc85ea22af7ba379300a8c51a77ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:579-586 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:39-46 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:89-96 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:233-240 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:117-123 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:579\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:126\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:100\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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d3244dc56b8e20976ab0cd092340a46b296ea20d54c21876fa01791c12ba41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:605-612 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:632-637 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:641-646 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:649-656 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:605\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"22871751a2b959246ce08fb7d2694788ac70d1c7276edec2fce01b5822b55a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:357-362 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:402-407 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:421-428 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:471-478 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a91ed1a186f1536e10193ff980bbbceaa49c1a18c7d8d5b2fc5f6bb46ada60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 17): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:412-414 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:654-656 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:212-213 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:260-261 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:173-174 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:484-486 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:616-619 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:626-627 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:823-825 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:956-963 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1123-1125 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1247-1249 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1334-1341 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1410-1417 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1486-1493 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:570-572 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:585-587 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 96 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/FluidAudioCLI/Commands/TTSCommand.swift:616\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:212\u0060 calls \u0060info\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:412\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/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"097ab9ca074bdb2391071a14e6afe0a78e8828c339472e67ec25de474093a1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:85-92 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:108-115 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:123-130 \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/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:85\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/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a48b2914775f4d4f40fb44595fbd2f691a8d843e1b959aee26ced8f0d204c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:101-108 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:67-74 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:222-229 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c56905bffd060539122a6cbfe26ee865c9b24291c96e8414ce98127d8e0a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/Shared/ModelWarmup.swift:55-62 | Sources/FluidAudio/Shared/ModelWarmup.swift:69-76 \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/FluidAudio/Shared/ModelWarmup.swift:55\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/FluidAudio/Shared/ModelWarmup.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40f18ac952732c32d852af908743264ab5b37fdc17b35f828d65b57d4a34581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:655-660 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:128-135 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:655\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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afe4a1d4db85d784b9cd64729a6daffb56a7b1f58c84db68cc8c6e121f3dfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:69-74 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:79-86 \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/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:79\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/FluidAudio/ASR/Paraformer/ParaformerModels.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32012ac29dc01a74d1c85ab345d3460a83df2b430d1fbea6d8bcd66cc82ff72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift:404-411 | Sources/FluidAudio/Diarizer/Sortformer/SortformerModelInference.swift:306-313 \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/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8998a544e29e0f0c1f725dcb4732afbb2f1cc5905e8587b16b79a33a5f17ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudio/TTS/G2P/G2PModel.swift:68-74 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:86-93 \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/FluidAudio/TTS/G2P/G2PModel.swift:68\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/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba709a5a22b74bfa849491a2612867b449dd0741b0a9cc6f7c08228f918455d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:123-130 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:127-134 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae246f69ab60e93f845ae6fd257846dc682690808f6b74077c02ea034545a3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift:305-312 | Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift:444-451 \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/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift:305\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/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf952d758d9a41b4a4f893fc1d059d4296878dd0bca50595b9bb68c90a41e894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:146-153 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:198-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"225f796d8cd475e86993b5bb50f2411ad1d4bfde938af43f2237f3c2ee5f44a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:282-289 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:533-541 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6437969342b9b065ebe5b094198745302033d56c7dcf939caa7258cc7d4541d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:146-153 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:295-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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ede32aa335e37e84432c34fa0e1f6d00714df1f1ef6b0c224ff110ec333451e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:265-272 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:325-331 \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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:265\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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:273\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:332\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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5762946dc3ba3a19ae246fb7a04e6f4618a44076ff604ff71dfe0f06e63014b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:312-317 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:343-350 \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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:343\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060s\u0060 to \u0060[Float] ) async throws -\u003E (d: [Float]\u0060 in one and \u0060[Float] ) async throws -\u003E (f0: [Float]\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 before the matched lines, \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:342\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:311\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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4a34247da3d10bff3901e318a01d895b9c91d15a7e729e948c649d71ddf444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:381-386 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:448-455 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87a9198084e5a00e00c94cb6a6434a78197e27cef5747f468c1b6efdc3148c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/SenseVoiceBenchmark.swift:20-27 | Sources/FluidAudioCLI/Commands/G2PBenchmark.swift:58-65 \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/FluidAudioCLI/Commands/ASR/SenseVoiceBenchmark.swift:20\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/FluidAudioCLI/Commands/ASR/SenseVoiceBenchmark.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddec6461cc8239319f9f3630eafbae7d4d377f5f5e0cebf07e38bb6cc1c4801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:330-337 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:129-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:330\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/FluidAudioCLI/Commands/LSEENDCommand.swift:137\u0060 calls \u0060Date\u0060 and \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:338\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e96a4fda38727fbd2cdce127d3bee0bc019011fb3a112e26561c3ae03618e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20138 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:198-205 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:276-283 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:397-399 \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/FluidAudioCLI/Commands/LSEENDCommand.swift:198\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/FluidAudioCLI/Commands/SortformerCommand.swift:396\u0060 calls \u0060sorted\u0060, \u0060String\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerCommand.swift:276\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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b807b23e030a719860747bdc8940ff36b75576a1889fa0c4914e3e3499165831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:226-233 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:302-309 \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/FluidAudioCLI/Commands/LSEENDCommand.swift:226\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/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"636af12ef8e05342e6d90416b975de4220a97bf8975f95a82a89dffdcb511152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:629-636 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1129-1136 \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/FluidAudioCLI/Commands/TTSCommand.swift:629\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/FluidAudioCLI/Commands/TTSCommand.swift:1137\u0060 calls \u0060Double\u0060 and \u0060Sources/FluidAudioCLI/Commands/TTSCommand.swift:637\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"34394e48eeb5ec95dcb2ce8ef17c67f12966c29744aa2f1d46abb0a2ad0e2673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1345-1352 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1421-1428 \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/FluidAudioCLI/Commands/TTSCommand.swift:1345\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b112799bf6ec14ad502bd657f4bb8a974a7881856f27b635400f7d550fae8b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:50-57 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:262-269 \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/FluidAudioCLI/Utils/ResultsFormatter.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bab99620d308905e9b03e3578343a31f1367f0a177029aaaaa31f4a250e9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:76-82 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:281-288 \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/FluidAudioCLI/Utils/ResultsFormatter.swift:76\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/FluidAudioCLI/Utils/ResultsFormatter.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49d5ee0d56b6486b4f73a26494e85268ba2b9e5b96b2cd258a85b57d149f361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift:153-160 | Sources/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.swift:139-146 \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/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift:161\u0060 calls \u0060Double\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.swift:147\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/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe69d1112fdd8d091d9fcfb030837240e4edc1de113ab1ced8b1f6ad6cb8410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:90-96 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:110-116 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:234-240 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:118-123 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:411-416 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:862-868 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:90\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:126\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:100\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7b8cc39030cbedce0a36bffe79589beec8ea009cf640a8654a9dac0562a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:344-350 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:368-374 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:389-395 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:408-414 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:435-441 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:458-464 \u2014 there are 6 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 6 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:344\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fe099d9041031e8ecce10468120b8f606eec328dbac778e5ce25b9a8a775aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): Sources/FluidAudioCLI/Commands/TTSCommand.swift:628-634 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1128-1134 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1252-1258 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1344-1350 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1420-1426 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1496-1502 \u2014 all 6 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/FluidAudioCLI/Commands/TTSCommand.swift:628\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/FluidAudioCLI/Commands/TTSCommand.swift:1137\u0060 calls \u0060Double\u0060 and \u0060Sources/FluidAudioCLI/Commands/TTSCommand.swift:637\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d8a687a4ffd18681edfb3410f7bc1115580016706e11fdb74c651fe8a34a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Sources/FluidAudioCLI/Commands/TTSCommand.swift:606-612 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:954-960 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1332-1338 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1408-1414 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1484-1490 \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, \u0060Sources/FluidAudioCLI/Commands/TTSCommand.swift:613\u0060 calls \u0060reduce\u0060, \u0060Double\u0060, \u0060squareRoot\u0060 and \u0060Sources/FluidAudioCLI/Commands/TTSCommand.swift:962\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bcfa37c6c580e2e5dfa21d64906053881d2532f840e36179c6eb4c3c61a6a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Sources/FluidAudioCLI/Utils/TextNormalizer.swift:448-462 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:485-494 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:538-549 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:555-561 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:593-601 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Utils/TextNormalizer.swift:448\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/FluidAudioCLI/Utils/TextNormalizer.swift:468\u0060 calls \u0060replacingOccurrences\u0060 and \u0060Sources/FluidAudioCLI/Utils/TextNormalizer.swift:555\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/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"508066a519cbd6524c4d87a9684e78514fd785c22117281ded0d1d94aa741c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:343-349 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:391-397 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:416-422 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:464-470 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:343\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:340\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:390\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2b601f0bf2e647d91cb2d43c8ce487fd6f4fd6f3c3791b4d78719c53d6dd51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 4): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:559-565 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1134-1138 | Sources/FluidAudioCLI/Utils/InlineDiff.swift:42-48 | Sources/FluidAudioCLI/Utils/WERCalculator.swift:208-212 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift: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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060hypothesis\u0060 to \u0060[String]\u0060 in one and \u0060[String]) -\u003E (String\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9ec37aab66f0e49a6c554ce8f9bd760b3dcfad024443b9547bd705e2320ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudio/TTS/G2P/G2PModel.swift:65-71 | Sources/FluidAudio/TTS/G2P/G2PModel.swift:88-94 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:84-90 \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/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"769fbd53de1d028420cc9c7605b799d80b4526459bf4a9ffecf9f81af6df4681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:60-66 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:68-74 | Sources/FluidAudio/TTS/NeuTts/NeuTtsSynthesizer.swift:65-71 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:75\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:67\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bea44eb92f0fedb07236649ad145c85da6bf0cdf8083adac2926262970e4997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:124-130 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:128-134 | Sources/FluidAudio/TTS/NeuTts/NeuTtsSynthesizer.swift:102-108 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d22d8450b1ec06996b9cbead880512aba4240c9aaf0648965da39c2e75e7538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:366-374 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:373-381 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:469-475 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:366\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:375\u0060 calls \u0060fflush\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:476\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2712cc9723b91459df14b46179d1f8f1208f8dac483e3b4e54eb6453303563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1227-1236 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1324-1330 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1399-1406 \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/FluidAudioCLI/Commands/TTSCommand.swift:1227\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1db545977aa2cf57b5eae7ed09bb41dea2ef52d473acab06c3275f58144827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:149-155 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:652-658 \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/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"891ff4d8f83ac1f6a316ecd1374f4cc2bf9c5fe375578bc94e4172d186156954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:171-177 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift:121-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Canary/CanaryManager.swift:171\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/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7e6f97191dae0bf8ba4a916d5433d604ef49608cc7a5a995284e68e00ac233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:69-75 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:95-102 \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/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:69\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/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:94\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:68\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/FluidAudio/TTS/G2P/MultilingualG2PModel.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d6a5640bcabc0b883b2cad5177a6aa31cfec8ae810a7731c18f49263d1e6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:316-322 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:337-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:316\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/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"815b3b4e9efb8b8fd6335c667eed07936e32958d4356cead7a7f2dff28325db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:239-245 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:272-278 \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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b823386a7bf5e337014392c890c04344ed2acb6d83c352461248e605fa5784ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:375-381 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:448-454 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"3826899c19f704691d28a0515c63ca6b99960e8f62d3345e970844f65852cdf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:84-90 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:78-84 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:84\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dbfb094e156709585d0df11363340d376a0ebc7d74874ea15bb4c2c6c3b595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:294-300 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:471-477 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"255d1e98f37fea01fc59068c93ec040df2e770e4b418f82f06d5bc76dd8d131b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1427-1433 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1473-1479 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1427\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53a0ed999460f0fff8563d74751825648724051cb5ff5b4fa35e5c0aaed36df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:13-19 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:29-35 \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/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a5172e6f0112c17131add8405c56e4a2907920f70e03494b08925266a419fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:166-172 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:505-511 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2897cde4243b4db1c3be327235cf1a4139e0093a056969cae9ac248b912a2df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:489-495 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:489\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:485\u0060 calls \u0060debugLog\u0060, \u0060O\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:710\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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"99680ee8a2f0a3710cbe670cb5dce0f6e51de32aa2a0575706d68da8fc1d620d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:30-36 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:50-56 \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. 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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c510fbb9492ee2b8c97fddae7ff6bad2b0891601ec8be89bc892930a79331a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:555-561 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:645-651 \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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:555\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4e293b1c2cc2db32a1c4c80770b143b9833e6f44b2ab147b9e9c31d3cd272e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudioCLI/Commands/VadBenchmark.swift:765-771 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:773-779 \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/FluidAudioCLI/Commands/VadBenchmark.swift:765\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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e02950888c51bda1af4431f0737776ccca896b1d8934e4466db3dbb949c3ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:214-220 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:142-149 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:214\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7551d3ac9028c3cc3c19b01fcd07f9dafdae6222942dafe09148bf093a074896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:39-44 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:89-94 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:233-238 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:344-349 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:368-373 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:389-394 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:408-413 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:435-440 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:458-463 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:631-636 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:640-645 \u2014 there are 11 copies across 4 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 11 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:39\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86426f1ed3a63f4838c10828b1175b8bb5a0036fd137e43e4f911176682e343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 9): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:378-382 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:559-564 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:363-367 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1134-1138 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1171-1175 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:306-310 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:495-499 | Sources/FluidAudioCLI/Utils/InlineDiff.swift:42-47 | Sources/FluidAudioCLI/Utils/WERCalculator.swift:208-212 \u2014 there are 9 copies across 8 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 9 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/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:378\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060hypothesis\u0060 to \u0060[String]\u0060 in one and \u0060[String]) -\u003E (String\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/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eb6044b411df5fabc41ece6c3982b43c4ed5ddf28b303e82c8b99d915b4c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:121-126 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:352-357 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:376-381 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:397-402 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:416-421 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:443-448 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:466-471 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:488-493 \u2014 there are 8 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 8 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:121\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b583e1a31f0bd7a51bfb8881b12929ab4af2819351d9bb359a2e0f895fac14b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:579-584 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:117-122 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:165-170 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:604-609 | Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift:234-239 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:173-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:579\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/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:171\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift:232\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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad75ee3eebb46642bee1187527dcb5fd955b2de5479f749a2f385e7926d2657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:109-114 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:410-415 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:861-866 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:270-275 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:374-379 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:119\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:870\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea2c9b6c754eedb34bd42a5387d167086e875c6995ab4cc2da6905e0830b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:165-170 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:604-609 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:631-636 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:640-645 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:165\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6506fddc5807453ee4c815d22cfda5c3210cec251de4b7d340401c60e0c9d5f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:328-333 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:127-132 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:153-158 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:197-202 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be02fb01cc73fb789c73e4a653166fb88924df774f1b5c347b3a5a2702daafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:555-562 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:645-652 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:729-735 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:797-802 \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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:555\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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cd466fca13ceaa37936c3028c623b2e016dc8606a03cffd6c23fe9123836db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:240-245 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:109-114 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:410-415 \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/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d2cacbdab6a3dfd824c5877cc95e6387f78e07c4997d6ecddd350fba7b9523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift:118-123 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:270-275 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:374-379 \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/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b5f21f4c24633705af51a5343561f538bf8b3aa03f1eff47f31af86190265c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:189-194 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:228-233 | Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:340-345 \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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"43682d79295215a9f4ad407a9b4edd18f91ccdf2465f004354d80fe8c949bb2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:85-90 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:108-113 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:124-129 \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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:85\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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb461cf81ada92dcd8e324f8b44d962b79bb09902580d881af5908ea8127937f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:149-154 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:298-303 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:401-406 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc6f0bfcd67705e3223768013389b5071e4958b8ef5b00a3c0abee96481db4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:287-291 | Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:621-626 \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/FluidAudio/ASR/Cohere/CoherePipeline.swift:287\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/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"79debac30ff04a3db398789698bf956e59c63e6a81d03291c9ed3ab64b776cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/Speaker/CampPlusModels.swift:34-39 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:34-39 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/Speaker/CampPlusModels.swift\u0060 and \u0060Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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/FluidAudio/Speaker/CampPlusModels.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585cca5f84b17ec1b9572757063b073c8d8617be98525ece06c95154b12b02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:240-245 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift:118-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/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf788b87199049c7076c58a472656cc7ecd8b18ef0dfc5bca388bec4507c686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:261-266 | Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:267-272 \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/FluidAudio/TTS/SSML/SayAsInterpreter.swift:261\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, \u0060Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:260\u0060 calls \u0060interpretYear\u0060 and \u0060Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:266\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/FluidAudio/TTS/SSML/SayAsInterpreter.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bf72881e8892806e42a0174038f6ff7b803851f5df06f9df2fd60b0c71aeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:297-302 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:370-375 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d51c838613aa18017bf567b34c8c44f17dfb1f8836d685e7d23d9d2372ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:366-371 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:439-444 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18a4652b597bd3e3472cb155f89bc35c4c4b254117b28a124503681870ca52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:409-414 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:482-487 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:409\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb07459ee10ac75e8bd96526662907e64424b545929df739d42fcedaff6ca5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:110-115 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:105-110 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:29-31 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:110\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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"158f0977bafc53dea3a6010e6af26bab428dcbc885428817bc6d0adbaa49cdbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:62-67 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:62-67 \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/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.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/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c978f0ac5b490dcd33c9f9d26d574c54c063748471edef23ecd99fa225b353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:126-132 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:245-250 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:126\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"73265446b9f7940dcc30a038deb7f23db2fcf3b067f597f90a43ed8ee5e2a5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:393-398 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:143-150 \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. 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8e38bb42231fd0096c5654199df207db6a7fde149055607a53fdb1450fa3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift:369-374 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Tokenizer/StyleTTS2Phonemizer.swift:235-240 \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/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5836a1993b7f48580eedec02138494f5462cae9c604aa1bbacf43f738138220e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift:317-322 | Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift:342-347 \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/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.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/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseCutlet.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3889dcc7e769c40ad63165265f922511fa08acb895766c508c9224212c25b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:215-224 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:229-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:215\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:225\u0060 calls \u0060digitString\u0060, \u0060intToHanzi\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:234\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/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c4a8424df94c73c5ebf1cbdea95343288cc2161a8e4589752540375e3aee58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:18-24 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:21-26 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift\u0060 and \u0060Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:18\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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"91487b8ca8b5408ae954175e0e94134fd67193437f66f47ca817c7d57dac322d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:30-36 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:37-42 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift\u0060 and \u0060Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:30\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/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e971e8a6f3beae58c5a545d8174e4f967b37fcd84f649bafd852187da540abbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:149-154 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:166-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:149\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"155c88b6823b2a6765a5b84888ff75c2790c84a22b37d9b35db1d5c82de527e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:527-533 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:634-639 \u2014 before extracting anything, compare \u0060Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift\u0060 and \u0060Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 266 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/FluidAudioCLI/Commands/LSEENDBenchmark.swift:527\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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e1feabac85b908d96dee2af5a3ba88073be6a57ea4521c19f4ac47889abffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): Sources/FluidAudioCLI/Commands/VadBenchmark.swift:133-137 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:575-580 \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/FluidAudioCLI/Commands/VadBenchmark.swift:133\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/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"97841cec9e6b3f00ba42e3106505c7265a0334be08da9c8ac103c400f7aece9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:577-581 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:38-42 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:88-92 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:232-236 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:115-119 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:343-347 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:367-371 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:388-392 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:163-167 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:407-411 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:434-438 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:457-461 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:577\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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:583\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:44\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/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1510e3b567d5dc02b1b33f0133d5558900fbd4da380a6b93f1dd9b2abcaac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Sources/FluidAudioCLI/Commands/TTSCommand.swift:489-493 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:628-632 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1128-1132 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1252-1256 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1344-1348 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1420-1424 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1496-1500 \u2014 all 7 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/FluidAudioCLI/Commands/TTSCommand.swift:489\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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3e61595fc7442f0a0d47eb2db370352ef94ac69b87e565e24eb8265a3c3e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BFlow.swift:41-45 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:98-102 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1427-1431 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1473-1477 \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. 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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BFlow.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424cabda4aca6dda91e90f7e6e96d3f5973fa6e4f3e93cebd6ff1ea3ed7e847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:368-372 | Sources/FluidAudio/Speaker/CampPlusEmbedder.swift:39-43 | Sources/FluidAudio/VAD/Fsmn/FsmnVadManager.swift:124-128 \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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef82b2a2ab43380b692ea5062e19924c72607d9b93a6874d10752520f6d8515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:52-56 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:69-73 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:79-83 \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/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"396a6a97eb37e39f72087d4e7e5dd7e6dde11fa76887e047717cf9eb9afa04bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:439-443 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:342-346 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:415-419 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/ASR/Paraformer/ParaformerManager.swift:439\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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9280549e141800433b646b21e766c4cdaa6ba262efc3c2a50afcce90b38a1de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:190-194 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BFlow.swift:39-43 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:96-100 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:190\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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4ed2975da34b875b2e4b3dbdcdd8092868a454ff8c4a73e2ec494af41dc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:264-269 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:180-184 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:218-223 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:264\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b874be5175ae4a6b249895d8442b95bde75518d02da1a3f7230a6a408ae72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:364-371 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:356-360 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1164-1168 \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. 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/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9be23592137955e2d85a08a8a63eda6d302eaa18f3777dfa912b431b30ec31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/Shared/AssetDownloader.swift:81-85 | Sources/FluidAudio/Shared/AssetDownloader.swift:88-92 \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/FluidAudio/Shared/AssetDownloader.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"34121c02ebd6d8b7db93c3115c09d3374dd1d51a3da10bb917f216519e88753f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 5): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:288-289 | Sources/FluidAudio/TTS/NeuTts/NeuTtsPrompt.swift:40-44 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:786-788 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:814-817 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:307-311 \u2014 there are 5 copies across 4 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 5 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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:288\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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc34157b0a20c9c8ad7565183c350c795d2ad452b3b07852a0d1e5aca7bfecaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:250-254 | Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:270-274 \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/FluidAudio/TTS/SSML/SayAsInterpreter.swift:250\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/FluidAudio/TTS/SSML/SayAsInterpreter.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f934898a784932b2435398b6c77fbaf587663b7240d192e781f9a00765399f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/VAD/Fsmn/FsmnVadManager.swift:125-129 | Sources/FluidAudio/VAD/Fsmn/FsmnVadManager.swift:142-146 \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/FluidAudio/VAD/Fsmn/FsmnVadManager.swift:125\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/FluidAudio/VAD/Fsmn/FsmnVadManager.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2174330ef05197beff4e2e55f58f488040490276edbe8a73029c9d52906674c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:178-182 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:189-193 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 161 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/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"627cfd27872b1ff208c44da8f6d0d9f42f036f5844d0ea55f27733b6c6756ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:183-188 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:192-196 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d54cc5bb1120f1ce0e3b1f0ee005ec7c7b577c6997ba3ba693b4c5f94589de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:291-295 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:543-547 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a868bbed2e0694bc43f6bef1bbb13c1564ba9fe20ece5fa605a72b95796287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:70-74 | Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift:23-27 \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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"daffbcf5d84b801a594d5e3c9df2b08e9f622f6b068933b5b60b2f1399bfb577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:88-92 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:480-484 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:88\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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66f1b79100167502bd06741b1262b4c763a9115420d713e16ef212567e6948e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 7): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:343-346 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:361-366 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:328-331 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:367-371 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:208-210 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:251-254 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedRnntDecoder.swift:138-141 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 165 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:361\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:366\u0060 calls \u0060MLMultiArray\u0060, \u0060NSNumber\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:346\u0060 does not \u2014 after which the two agree again for 5 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64be883d8ad65066719d8d610b8939659e824105413bcd712bfeda02086f5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudioCLI/Commands/SortformerCommand.swift:266-270 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:386-390 \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/FluidAudioCLI/Commands/SortformerCommand.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"305eac35933393f77b7a618a61ab93c133d942c302f42d190ba4ee03f5b522cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:134-142 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:288-292 \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/FluidAudioCLI/Utils/ResultsFormatter.swift:134\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/FluidAudioCLI/Utils/ResultsFormatter.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"669cc488dab55ac541dfe0617041ee479e1edbed5cf9945255518e73e8965f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:171-175 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:179-183 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:186-191 \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/FluidAudioCLI/Utils/ResultsFormatter.swift:171\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/FluidAudioCLI/Utils/ResultsFormatter.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9f66dbe6336bfea51f6e33bf321c5295744643af2772b2f93e53c1b1ff07b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudioCLI/Utils/WERCalculator.swift:12-16 | Sources/FluidAudioCLI/Utils/WERCalculator.swift:39-45 \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/FluidAudioCLI/Utils/WERCalculator.swift:39\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/FluidAudioCLI/Utils/WERCalculator.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f861883ed6098d371d9ca9c615063c6b7ae203055ff611768e95c26f5bc7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:915-919 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:976-980 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:915\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27b9cae4e0955e0f09805cd2d29c3a6989a22cafe3f6b711295bd5060df8d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:495-501 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualMultiStreamBench.swift:150-154 \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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:495\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0776807ac57d582f6d7d14427e0632ac7e1a5c62b9ad0974f0b72392fc67aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:229-233 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:164-168 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd881eb3f1583d2414f345f57737321246856ebc1de858ffab08a51ca1ffdf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Inflect/InflectManager.swift:186-194 | Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Manager.swift:328-336 \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/FluidAudio/TTS/Inflect/InflectManager.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae2ec0b2244ecf7d64befc641c4801eea5eefee7e673bac835edf63941c7f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/LuxTts/LuxTtsManager.swift:48-56 | Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:89-97 \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/FluidAudio/TTS/LuxTts/LuxTtsManager.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ed5cccd96cd2d7efdc51f96e523a338a45b4dc4747c9d6c28fe7dfe6ab6914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:785-792 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtModelInference.swift:255-264 \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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ad995a303cde34560a49f7bcef0c9d251e0c5102d094c98a0874ab23203b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronVocabBenchmark.swift:267-290 | Sources/FluidAudioCLI/Commands/G2PBenchmark.swift:343-365 \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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronVocabBenchmark.swift:267\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/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronVocabBenchmark.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bc776a98727c92965dc558a5cbdcc5359b82a56f1a959cd35e3eb0c97934a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:572-582 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:304-314 \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/FluidAudioCLI/Commands/LSEENDBenchmark.swift"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ee2918689ae1a72047708b4a71454acc1c34ff2dbdbf4432db0b3b9b313b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:580-604 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:397-422 \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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:580\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50edbc719a1073ec23d4071cdc420e23c3a18c7a2520fe016235340271542d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift:169-173 | Sources/FluidAudio/Diarizer/DiarizationDER.swift:30-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e918f9a884420d9301a08e02087523437a2f8e06b743c63a58c547cf7be264e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/Speaker/CampPlusModels.swift:23-27 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:23-27 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/Speaker/CampPlusModels.swift\u0060 and \u0060Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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/FluidAudio/Speaker/CampPlusModels.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd1d7e036a679cc480bb6c087ffff57985878c6582928858264dc34d7bd9167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:36-40 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift:39-43 \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/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2af45acd735512d3231bfaee00e5d62921e9b1c70b1803c014089ec87cfea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift:32-36 | Sources/FluidAudio/TTS/NeuTts/NeuTtsManager.swift:31-35 \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/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab80d56826ae6e438214c9660f815db00d94bd5c5f1b84282de2d3dcb49818e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ModelStore.swift:39-47 | Sources/FluidAudio/TTS/Supertonic3/Supertonic3Manager.swift:51-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ModelStore.swift:37\u0060 calls \u0060private\u0060 and \u0060Sources/FluidAudio/TTS/Supertonic3/Supertonic3Manager.swift:45\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/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ModelStore.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c909dd1ee54d9d9cb85a6823a7605b5312f12c59ea06f681a2b717aaaeeed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift:784-789 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:134-140 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:285-291 \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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad271586104c4d6312e76c42a45c3cb5fd7bcd5e4be37ee4d08748a66c58dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/Shared/AudioConverter.swift:510-514 | Sources/FluidAudio/Shared/AudioConverter.swift:518-522 \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/FluidAudio/Shared/AudioConverter.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb280a566295e6112092dfa76fb4e4b747db156fcddfa88d6ffdd0f1f6fce2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift:67-73 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoManager.swift:77-83 \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/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ae840d5e64e6d1360d41e8443bb3de650ae382600eaf4ef3c873c5b2918d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualStreamingConfig.swift:90-94 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronStreamingConfig.swift:68-72 \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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualStreamingConfig.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d008acf65a7c6a085db9f6284bdf638cc21e8b6d739add1806409da0fde67a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:129-133 | Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift:36-40 \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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:129\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/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"183b5728ef88e5b2a8568c421440f2048def44bd309338da64e32c30d59ab6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:332-338 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:414-420 \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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4978d7285c72ba7ea6b2ad3af2b3d4acf2649fe9ff1979e1bbfe24340a557a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:254-259 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:283-288 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:323-328 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b700391f3efb33e41af98745d5a872470abc72c04720a1c4574ab8f414fa463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:464-494 | Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:596-624 \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/nemo_ami_benchmark/nemo_ami_benchmark.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2c821379a7d8214615083bfd90b857ffdbfd51b453801ff899da098189cc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): Scripts/run_benchmarks.py:79-103 | Scripts/run_benchmarks.py:107-132 \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/run_benchmarks.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"72617631bed287d8506d1aa1673a643eee77d0784e263e2fefaab7f4d864ae4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:152-168 | Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:172-188 \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/nemo_ami_benchmark/nemo_ami_benchmark.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4018ff5b517286cfe5e057c81e7058580f6f67cade43fd3998e7b415654560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:351-366 | Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:402-418 \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/nemo_ami_benchmark/nemo_ami_benchmark.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eb66c31a83cfcab26b8d7e217ed699e563687344c2bf3e2c2091daf09f933e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Scripts/run_benchmarks.py:170-176 | Scripts/run_benchmarks.py:196-202 \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/run_benchmarks.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5d72d203431d29b11272a7674f0b3beab4e45ac092edfce369bfb8b9ea2742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Scripts/run_benchmarks.py:180-185 | Scripts/run_benchmarks.py:193-198 \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/run_benchmarks.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d43a0b4e3431b6f2119ba22cb7efe163d35743741b69a624094555c63214fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Scripts/voice_cloning/evaluate_voice.py:224-228 | Scripts/voice_cloning/evaluate_voice.py:237-241 \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/voice_cloning/evaluate_voice.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d5f784ce90c78d002fc7bf61ce48dcecbfb51f8274c9f7bc0e3ea99b79068b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TextNormalizer (LCOM4 7): TextNormalizer\u0027s methods fall into 7 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 7 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/FluidAudio/ITN/TextNormalizer.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"456c1b0b256f0f49672a4de7d1aaa841346870728af6d824a45a7dd31962ee1d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TranscriptionTracker (LCOM4 5): TranscriptionTracker\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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1496e9b49f3eefd1cc722e090cdbbab33c5d61c76a0618b01ec954c18260d"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 Swift suite: Coverage NOT MEASURED: the Swift half could not be measured \u2014 the Swift suite in . produced no coverage export. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLoadsRealPackageThroughCacheSymlinks: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Decision/CuaS1FormsIntegrationTests.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb0683b88ab9d7401bc47364e3c6709a2a02f56a77e5ec121ce5d86c66b0c5b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSortformerEnrollSpeakerReturnsNamedSpeakerAndResetsTimeline: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3cae2f735ab1b85492c3617aadccb418cef157eee465640ebe61fec9d436ec"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSortformerEnrollSpeakerFollowedByStreamingProcessing: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ae946e74f011bc33a0b27e59f09f60447fd8e151f215ad235053ca5c6d8a32"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSortformerFailedEnrollmentDoesNotDisableStreaming: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac17816c26e919fc17f18251b04f3bd8fb1265db46c0ae2393b84c37cfdcef"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSortformerEnrollmentClearsDiscardedSampleCountBeforeFinalize: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a95921b6301340e8250b98e1c22a92e30882b1a0ccf1924493ec923b8c88f8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSortformerMultipleEnrollmentsRetainNamedSpeakersAndState: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddb64d3a8312ab02defcf5bbfc48b5d8b77e12e8d24c9d9db40da17c0cd02a8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSortformerEnrollmentCanRefuseToOverwriteNamedSpeaker: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"baab562e11d72571a8df6529dcdc4bc5662bc02c115872e26c42cc391b3bd512"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSortformerEnrollmentWorksWhenTimelineDoesNotStoreSegments: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9ee8bcc4376143d21efeaa3c70bd6deecb64f6a1a54e6ba7be6fb3293344c1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLseendEnrollmentWorksWhenTimelineDoesNotStoreSegments: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c232d91b2ca32c391a3eed2b7ef6c9ec1292c3d947ab482c6344850043b8d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLseendEnrollmentCanRefuseToOverwriteNamedSpeaker: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/SpeakerEnrollmentTests.swift"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"332f97bb053327bc161741984864a0ed0b51f0dc527f48022103b7464d40b9fe"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEmbeddingExtractorWithArraySlice: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/ArraySliceTests.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b401691c792bc890984b18ff4645958d29999657dc4a66401ae005c9eb8e59e2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPerformanceWithArraySlice: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/ArraySliceTests.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"429df4030ffc9bfb6928ac4d0cf2fbdc5dc81228209b654d7be30f8ddddbd9d1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testColdDownloadOfSmallestRepoProducesLoadableModel: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/DownloadSmokeTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7845d9982ddfe83cbc423c71c8345c553e5d7b1491c16d5c2744260b21f08b27"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEmbeddingExtractorWithContiguousArray: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/RandomAccessCollectionTests.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1988f5f094eabd7307d61b756defebd7819a23d6f8f47caed3b816f97db12b0b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEmbeddingExtractorWithCustomCollection: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/RandomAccessCollectionTests.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d5715d8a9b9a39484068f39b805fb86529b5472ab06ce882ce339c5adea223"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testComplexCollectionChaining: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/RandomAccessCollectionTests.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a5fd4ac1f9544565e6e57d5c2d5d122e257fd05dbcb23a3b977c18c24d7900"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testVadModelLoading: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/VAD/VadTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ceda6f21b7856a13557879dcf59af224b0ee357a95079401358c9fab7d2c23"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testVadProcessing: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/VAD/VadTests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd26261c343d4ac9e9d02ebeb4b750c700b10348ca45344e85d554a873638b2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testVadBatchProcessing: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/VAD/VadTests.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0be2144d7fc1ec642de14daab88b9307597b7b2ad1d0b779945ddfeaa770b8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testVadStateReset: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/VAD/VadTests.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad19232fbc86450fcf211390d32299380e2b555128fd63ba3b02f3858538bef8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testVadPaddingAndTruncation: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/VAD/VadTests.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"283320977ab36d0a2218d40e69554f22686e2e5f5e2c51dc4b7ba7b8180e0b9f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLargeBufferAllocation: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/DiarizerMemoryTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf8a9b5e5d784817296ed15722e6c7e41193796601250e4440fa6c86033f460"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEmbeddingExtractorBufferReuse: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/DiarizerMemoryTests.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"219092de499b6988545f3cd92976515299a3da5e0cde7db386c3fe0240e4c4f7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEmbeddingExtractorMemoryConsistency: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/DiarizerMemoryTests.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6739ab6411cb31c66d450771f802a2f0132eef60cf8584b7a5d244d9961fd973"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSegmentationProcessorBufferOverflow: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/DiarizerMemoryTests.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a634df9d6e1bf38dbdc7e8e843d139d474c7bb3eb6124ec5ea851b44df7a50a0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSegmentationProcessorMinimalAudio: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/DiarizerMemoryTests.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eefcaf57950891179753dba9d2c7941a38e1a077882ccd6b454b66042dc08d6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEmbeddingExtractorInitialization: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/EmbeddingExtractorMemoryTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8ed466b39c9b990e3e18d356ca0b1480dddb41c55744bb8abf05af7372756d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testCancellingFileProcessingStopsAllInferenceWorkers: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/OfflineDiarizerCancellationTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb5259ca92b64c93f186c32f12c2eecf7755bb22a68b47a23b03e79f32321c4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProgressCallbackFiresAndIsMonotonic: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/OfflineDiarizerManagerTests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbe258754f9f5c626772767788da1b2085145a16e7509b2def983524b7f1c3f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProgressCallbackIsOptional: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/OfflineDiarizerManagerTests.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a53906611a831f40152a93706e20f47e9d055a6bb39357589546dada7cbbc"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProcessingWithExactChunkSize: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea1672f419db14a73ce086f54487affce40f32a8c8d7ebb346982e5f409a2bf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProcessingWithOversizedChunk: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaebcbe06c13d7f4afe2af91c5f835031bc31de8089a25c730895ea5921e3a2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProcessingWithTinyChunk: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11388e2bf48b5f3f558fa62e3053fce222f4342937914dfd2a419c69a64dedc"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProcessingWithSingleSample: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af55de0e1f0dd007a454dfa1cdd6d307e073c10477b88b9a7aaaccf5d7e260e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMLMultiArrayCreationWithOddSizes: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9217868bc07cfba08ad0f417b8ce1774f7eda88f631bbe9d69ad4d6056143db3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testReuseOfPooledBuffers: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ccdd452e6a7203ccb5647c986d66c5afe5b92d8f5534197eb01767ad001e4c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProcessingWithExtremeValues: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"144f0f21c99b2b11f88a64bd03c2291c36b91ea59918161db64d80fb90c4f587"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProcessingWithSilence: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f196ad964affc7d43f6c0eff769647b13096506e3f26d4bbdcc0bb8022f42ef"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testConcurrentSegmentProcessing: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d063cd4a29cadac4bda992a0975b917ff5aef91ed8c7e01b27f702edf7461e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testBinarizationThreshold: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"984a7537fa3461e87ede5b55ba13fbf322859e3c285463f491f2e236b52ed9cf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testProcessingUnderMemoryPressure: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorEdgeCaseTests.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b31ff39aab0bb0a89f75aa708b67f7d5132785524c6a23e8719f50114f2b26b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testGetSegmentsBasic: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4677eca56db83fe00b01d701b8be300b152ab51446cf8503c5612d79cd836ec4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testGetSegmentsWithPartialAudio: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorTests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cb565f9c00d26285f2e1863563641341be7389982d5a6596db85e6e4ddd98f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEmptyAudioInput: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Offline/SegmentationProcessorTests.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"45451ae35827c0ad7fde1ca9d7b8d02a4968b00cc3abcc9c2e76a9a8489296f5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFinalizeSessionMatchesProcessCompleteFrameCount: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Sortformer/SortformerStreamingIntegrationTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc98a63164c19d0bf539eaa0665ed2eb3fa591d9dc5734c2b4fa9687d4f9b33"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFinalizeSessionFlushesTentativeTailAfterAddAudioOnly: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Sortformer/SortformerStreamingIntegrationTests.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acbdaecb0cb11458ab1588fbcd5857c8f85c3ffe4a5e556974e90acc5e69de4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFinalizeSessionIsIdempotent: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Sortformer/SortformerStreamingIntegrationTests.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4566adf46f4c84a23d17dd59a248cca8fa92b58a758db093b78f397d424a615d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFinalizeSessionDrainsUnprocessedAudioAndMelFeatures: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Sortformer/SortformerStreamingIntegrationTests.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d630a7ee58f70359771252666e7711a19e6fb31f975566a38241f39fc5892b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRealVocabParityVectors: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/Chatterbox/ChatterboxTokenizerTests.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c15329baea248c9581069d2dc1efbc0d1d9f73f47f7aee1bda675732a8bd5c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRoundtripWERWithinThresholdForAllPhrases: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneAsrRoundtripTests.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31331e6a967cfceae2fd3eaffe2130299c06b7c806c3d572581d88e9453ee54"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPublishedBundlesContainFlexibleShapeInformation: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneSynthesizerTests.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d3106e16d2e2454a5033b42b095d9e5a6b9be56ccabd2d5f335e29d14dce50"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSynthesizeShortPhrase: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneSynthesizerTests.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06abda944c57c05ff142fb693cd77b0540c76d67d6a3070fbd73bb21c4933a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSynthesizeProducesWavData: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneSynthesizerTests.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c124d1d36e172b7d16d41ad142179595e27c376aef2e85e14d8aad3e9e5d8f7"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSynthesizeFromPhonemesBypassesG2P: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneSynthesizerTests.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dfd20a67354140f34510e852e03d52524a411f7fb9e9e6ea4b03910fedb2f3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSynthesizeWithoutInitializeAttemptsLoadAndProceeds: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneSynthesizerTests.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"954201ff3e8c52cbc87a1c4af8505a14cebb6935f7270bab580bd7b7500a5ee3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNonDefaultEnglishVoiceSynthesizes: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneVoiceCatalogE2ETests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e92bb28daeb7ea5e4e3132754d46f691b508154f0fc9ebdb0a9c7fa996621a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testUnknownVoiceReportsCatalog: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneVoiceCatalogE2ETests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"70685188a6b4015d3085ce85fd64949ba03055b634e4b562f24f45c93516df71"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSynthesizeMatchesPythonFixtureStats: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsE2ETests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"545d7649b0069eb1b25a51c0d82bde2e28adc241a63bfbc3ff06e2d38edadaf2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFp16BufferMatchesSwiftRounding: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsStateEngineTests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e81913e6e4cdb8e54642402bcafcdd4d41c6c0d3a06bedcda0e7a188616a51"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFp16SnapshotSplitsKVAndCarriesPosition: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsStateEngineTests.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"babcfbf6ed3194bd6d8e738980cad8834b2279a5be61ff7654a0ee5957699ed5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testIsContiguous: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsStateEngineTests.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"499ef2eda80ed429cefb0f33d9b398fa3a87831af62f4528598971f7ad2b4051"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testStateWriteReadRoundTripBitExact: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsStateEngineTests.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb71555af9cf84e4a4c0d9aff09d8de3dc4237592d9e4c3650deda95e07ffb71"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPrefillAndGenerateAdvanceSharedState: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsStateEngineTests.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aff4b9841a634a311cfadb5d5e3081bc36f1c2fe26891fae6081fb52a8c771c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testStreamAudioBuffering: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManagerTests.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"174b099c2acecbde37d2d65eb174cdd577858264d19905b0a1ac3fbf41d521c1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTranscriptionUpdatesStream: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManagerTests.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c292cd002ec3192cb5dc53795f68280e1a76dcb8f8f6eccec36d84b1a29e0d10"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testResetFunctionality: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManagerTests.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d54986fc36c08bce26df4cb691311c16e0d8cdb2688fbc385898ecdb8fce5b1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testCancelFunctionality: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManagerTests.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cef437734068abafdf8b1b1856d85fca9c4c1c8f7fe4422232abb5aef8e2392"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testAudioSourceConfiguration: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManagerTests.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b4b0f0962e2b8f642746c55a9d58d2ac313386123f2fcfbb710ed1f98c9629"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testInMemoryTermsRescoreAndKeepTailOnRealRecording: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowVocabularyBoostingStreamingTests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bcbaee5a241039718dba8e316b19566eed3bc638b10691e50d1ba05c707c34"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFusedDecodePathMatchesReferenceOnNeutralState: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/Streaming/RnntDecoderFusedTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43d07dd46b532f9519930ebe6b2e49b582c8bbdaae374dde3252d53882b164a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testEncodeWithBoundaryMatchesDefault: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/BpeTokenizerVariantsTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7ffed5e367c4eb56c1a637ecb6c7ce8bf0c4436b0b2fe3291e7926b7c0150e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testWithoutBoundaryDiffersForLeadingWordToken: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/BpeTokenizerVariantsTests.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d460a0f9ac2675b986937493a2784fc94a64dffa3168691cb312f1ceca8f2b94"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testWithoutBoundaryHasNoLeadingBoundaryToken: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/BpeTokenizerVariantsTests.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6f9392a574075890b4284a0a7980645add43eb5cfd7aeadac49faa36f7d681"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testCtcTokenizerEncodeVariantsReturnsBothForWord: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/BpeTokenizerVariantsTests.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cce69ea584156e7d2be22765158571e7675f5402585e47a15037f7bbe5d053"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLocalOrukeetRepeatedTranscription: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/AsrModelsLocalTests.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0ee17d776732b0519ebe27b0382cae24b39ff1fc13b7ae139f4760d8cbc8f2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTdtJaWithAsrModels: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/AsrModelsTdtJaTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f5faf409daeb18f5f47dfb22b3df375492d769cd39587d28ee7494830a8dfb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTdtJaWithAsrManager: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/AsrModelsTdtJaTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5199ce9e4b704ec4411ae3f77e3a9e74ccd6ccf5338340e0d57e2dfe444854d0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMLMultiArrayResetDataLargeArrayWithinBudget: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc9658958fd69b217877e233397900746eae3928e1a5756603eb014440cb65e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMLMultiArrayCopyDataLargeArrayWithinBudget: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e32171a95a5a5bf5fe20e4e7b2fde9b87680cb43286406f5a6e70225ede87b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformance_SuffixPrefixMatching: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/TokenDeduplicationRegressionTests.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"274536891c65d3703170068ee352b10147e4f9578b7d970788849707c8e9bd0b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformance_LCS: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/TokenDeduplicationRegressionTests.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea96bf8c9d5423d36103791fa48ecb5ec2791828dbea75529f484569750512d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPackageImports: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/CI/CITests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04bef258de824d9ced550541553f0cfd5ccfa93d09ba40a3ed811e33f07b508"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAudioProcessingPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/CI/CITests.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ca7b8a4ec4037381139db37902d7a25ed2afe6052b58b907d3df434d72f204"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCosineDistancePerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/CI/CITests.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b27750c690060d2ff29db368e2ee4e20758841e6da3b5bf543788499506282"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAsrModelsIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/CI/SendableTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44f5d6cdc91d8fb874b68977a50def05186a84553d8924a6b48136111a03dcd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDiarizerModelsIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/CI/SendableTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca225e2d2f7d12e2c17edd567f62f343d05d0bad207eb53544efdd4720511a2c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testErrorTypesAreSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/CI/SendableTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bbb1018d29feab979b3e6bcc57b95fd2c6f4c4e7b37f7da5ec8f299a2289b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetBetweenQueuedPushesStartsFreshClip: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Enhancement/LocalVqeTests.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec390d4b56cb5a1c19731a56bf0f6d24c238ca67a0d155e6d1ff3966214878e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIndependentStreamsCanRunConcurrently: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Enhancement/LocalVqeTests.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a298a805e0ef6722e973835c93755a7f361fe9eaf8a27506954ae46aaac632"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConvert48kHzMonoTo16kHzMono: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"13125f23209678a69320aa48583d2b9e6923f865ebfcd3bfbf6db0235ef9477c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConvert8kHzMonoTo16kHzMono: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fe153d9fbb0a0fa335c043c3575afab757479e5518fa3c39360febe99a8303"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConvertVeryLongBuffer: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb7cf594f83675daddfa398b1d3e0e663ebfdb2172e8ff2d050d96202189136"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConverterReuse: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8c82eb320a947566d20484d0120712ceb5d66ff148e4cc400cf5279d55213d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLargeBufferConversion: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8363767859f8980d0404a0e9b08973b474f63c148116478c266930d4707712"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLinearResample3ChannelTo16kHz: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"44241e60460cd88b3f317ca5186c6f25e66cec5373ed2e83e30f4a5191a86738"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLinearResampleHighChannelCount: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8580e60dce8c10b2dd29f411187f108cff925050994f8a60b5fbdd34b1fe9aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRejectsHTMLContentType: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/DownloadArtifactValidationTests.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"001bb0221af757acbae32ae072072e0c18512f3568be883792ef0ce45acc63ef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRejectsEmptyBody: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/DownloadArtifactValidationTests.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"838fb1400dd9b5695aa9ee95b58d12140eed15875b5a51807de98ee8d8b64406"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRejectsHTMLBodyServedAsBinaryContentType: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/DownloadArtifactValidationTests.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f524d83132941b59055c655b8d8251f88f8b5b1bd88a106ae466e0f18e0aa6b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRejectsTruncatedBody: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/DownloadArtifactValidationTests.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"79463d39143ba6d528e0da30f215269e1738fd6ce4a7c3570742347831d70062"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRejectsOversizedBody: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Shared/DownloadArtifactValidationTests.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a470f5dc1e45c9d50153e19047ede9ca6620bf2171bdd9f0221cda8b93612c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testShortInputsDoNotCrash: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/AudioPostProcessorTests.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2c971691c4e3c5c36c069d7e99a7aba9ec6b742bb884203b5bd5986ec98627"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEnglishMoney: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0452c2095e9f098e349bc3480ddceb898e8c8a76a37ee74d45c84344fddcbf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEnglishInSentence: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e72cb466a3e05c20795e6a10ebbcad4a0afa573252f61ce156191f83fae56a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEnglishCardinal: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b96c8d39ddcf7000b36a94284775b153941d6a6809f4f4b7b284f138c3421db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMandarinYear: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80b4f357f397d4861c935ece64c96e47d635bccb09594226c6f611c73595c1b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMandarinMoney: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e0beb1e7e0ca958dcae4e5eb5631aa19e238eb911226030e68713ffe7e547e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMandarinDecimal: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1614da487d18b4dbf7d7ef5dd3c52993243c0c58f11804f7414b4a2e101802"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testJapaneseCardinal: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a45638589c7902b5b4174085cf2778083d7dd254f588588af628b2fdfdb9dca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFrenchCardinal: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0242fe2f78fc4260609abce5ea725707abfa9ae1dee0a9cd5a5cbc0f4a2f2185"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSpanishCardinal: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a085292f9d28e1d27daa0b72106d38d19b2d8cc3faef2a995b556380b7d697d3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGermanCardinal: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8660f6428ba202af837823e87bf2ce8f2f62a8285bdea07c9557d308257e95b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHindiWithNumber: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9eef0888c07c09c5891b6e84a6cdc4456542142c7a33bbe7b68fde3d22ba5ea"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPlainTextIsNoOp: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"793611e7b4a7f85321f13f61a0234fea0a31c98195049fec817721a90f5ad13f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyStringIsNoOp: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/NemoTextNormalizerTests.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0267695999f47a679d8913b33c4c7d79ee84f73f0d7f2ffdb6fbc0ca810225b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTextNormalizerIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/TextNormalizerTests.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d55bc6450fc1494eb6d4f5c43e393c581b5892eaf428108ecb6dba724e02cd6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCalculateEncoderFramesPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/ASRConstantsTests.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3537e8a132c6f33c8720307249300be211a17fd7eaefaadc022924418e4918"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReportWithoutSessionDoesNotCrash: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/ProgressEmitterTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"854cf34bf389e89c16ecd4454770c9703149e053c613bb7388a75a57f1c73c51"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testProcessMatchesPrepareThenCluster: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Diarizer/Offline/OfflineDiarizerTwoPhaseTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26cc674ab967083bbe1422ba14a09c3a4492127b941e5c21d9f587d4dacdb1e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testClusterIsDeterministicAcrossRepeatedCalls: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/Diarizer/Offline/OfflineDiarizerTwoPhaseTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2bfbe6ebc1e56e6f566143a1611d74c4dbae4416509ba9ed052b6c647089a6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidDimensionsPassBothVariants: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/Chatterbox/ChatterboxAssetsTests.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf56732fc8c89ae64b82502de60ad29d4039efef5809c299e06a9293c37ebc0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFixtureSentence1: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4830cee10d5bfdeadc44400c13f70888a7cdf597794e8bf564c06626e35e5f0a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFixtureSentence2CamelCase: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa79954d8097e54208cf8b28d85a5c27a05fcd653d2889311174fdb0ce7b789"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFixtureSentence3PromptTranscript: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2276a1a23910e905a999ad16cfea4bc219a06e7acf7984a0060573d935045f2a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNumbersTimeOrdinalCurrency: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15efa0122a3687f40432ddc592ef22fe2e51f544538e625eeea8862e725d56e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAbbreviationAndHomographs: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b89de7f9c64baea489116f8dc05a23ddcd720acfa83ee85c57c5c3f6e4aba3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWeakFormsAndMerges: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ff921e6f8069ca9ee4b5b33f7765d3bf357dc7c952be011ae71271303e3782"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStrendStressResolution: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ece8d7dbc0ae0504daa12ae1ec1eb9fb2571ff7a1b175e7afe755c52b93b44e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAllCapsSpellOut: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7da66e482a994e23c3e0dd6c3bf62b4b6ca3fd151ad4856a06a669ffc1ba16"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAudioFrameIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/TTS/PocketTTS/PocketTtsStreamingTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"af70f26bc14e9861fc7757d8da69fa8b7150957e5bfde1f016ea97aeb883d6e0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testChunkSizeCalculationPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManagerTests.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"231a75f03e812a12975f9b42da9a859659528ad6fc7a4ce125675232620594bf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoveNonExistentStream: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrSessionTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6902bb2cf705a27deb2fe69beb34b651d906496c88d156a659f5164073ed1e29"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendableConformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/Streaming/NemotronChunkSizeTests.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a589ab5b1a11376aa16487ec43ca7e64b27458604d51a4dd050ceefc0819ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSlidingWindowAsrManagerDoesNotConformToProtocol: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/Streaming/StreamingAsrManagerTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f43fc4909a4d247b6bdc1af8b49b25ea5695369ef1c383ecf16e552cea34f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetClearsAudioBuffer: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/Streaming/StreamingNemotronAsrManagerTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"937348c6a02208d86b2f20f9b8fdba9ed272e7fb7e5966d119a974250c9f5784"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAudioBufferAccumulationWithSingleBuffer: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/Streaming/StreamingNemotronAsrManagerTests.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66915c20b1e2042dc5fedbd34c3f87df5ce1c3fdd5b711e48675d412532068f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAudioBufferAccumulationWithMultipleBuffers: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/Streaming/StreamingNemotronAsrManagerTests.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bd5a0cb014130714ad9e956fe6e37c2ac8b2bf63949bb3e91cc4f854ef8d45"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadModelsWithMissingMetadataUsesDefaults: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/Streaming/StreamingNemotronAsrManagerTests.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"909d0d8ee33581c6626fcdc81e833af47c8abcd23a643b83d790c11a3da8192f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCustomVocabularyTermIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2be0fb783b99ac924b4b5da0fcf7c41c3b69c31ae56266356c14ded64c054b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCustomVocabularyContextIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"836bd2ba984b5dccff05e8bc2c4e84472a644e44c2ac33cab933adbad6dcdf98"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testVocabSizeConfigIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdaaf366e9c16eb34c3173bf2ec37aaf98a2a8a6758116e483c519eca7559fb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCtcKeywordSpotterIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1067e36d768c8862df2e051a4b099a79a73904c2a6c29d9747a068e898f8e8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testKeywordDetectionIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eaa393183a7ffbf12e5cd2123481dc13bd8fdd89df3a23f1a4bae85d528d61"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSpotKeywordsResultIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5df1e5ea6e6b84be4dbcbab5c6bab4a1dc34ef416422a9dbe9fd73e20a9e8c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBKTreeIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"165f596656dbf4e0485963bb9f174c63ff9baf98ef4adc0fd6491d48a1507ca7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testVocabularyRescorerIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9e87666cd626992cc80dbe108f38bfdb735dfc89f149201fdffea97ba63de7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRescorerConfigIsSendable: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8798a02972677201709043f29589e10ed856289eedbd7f2baa1401e7e7423be"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPadAudioPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/AsrManagerExtensionTests.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"10114ada77d9bb411ce6a76e640167bd6026ad0ba3dd9c863977ace377ec99e0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLargeAudioArrayPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/AsrTranscriptionTests.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bc3c5402cbd7c1fd5330c4be393173f904e3cfae763198ca124dd0233e806a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testChunkProcessorCreationPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessorTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fd6c5cf5978a157a43f0887542b869be220f0c690d9cc89d2569ea630038c1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAudioSampleGeneration: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessorTests.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de0db5d5b8ac3c9810f0a773a7f9a692e73f79a64e62f8c4f015aa262e6b7b5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDecoderStateConcurrentAccess: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/DecoderStateTests.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45a288647d65c969820f0bbdca913d782f4da7402cacdefb64efa50843a4b71"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConfigurationCreationPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtConfigTests.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"709486cfd0aea1aea51b8676593ddbcad70e2bb7e58634c64cdab3a5a35bd0f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCustomConfigurationCreationPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtConfigTests.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"230bae27e51abb069192d0335a30f7b2ab409a336036ca2828d6e7d21abb856e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateFromDecoderOutput: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28724ceaf5837cff97e4398b54d656e5c5a7c83ee453284ceccbc8e842e0b21"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateFromIncompleteDecoderOutput: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2298405100d49370d6fd64ecd7646ed8c7bef2f64bc7b6d0cc1ec91f2dfddcd3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayResetData: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d2751476645a3f2dc8fef87705c3160df93cf5ed3b6d27c75b45459381cf56"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayResetDataInt32Value: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaefdc5791895849138924bc3806314845a91888ca7e239f2f82f2c6f6c4fba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayResetDataFloat64Value: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6bbbc22aa447ad795a593cc294e9a0e97ac8940e702139a15fce17d2884c1a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayResetDataFloat16Value: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363f830a0c493f7303fad524f8f69b6f3a6fd01d1d83388a5c84120209a5e89"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayResetDataClearsEveryElementOfPaddedStrides: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c939eb1e7b30e4962a33668842edd59886a27031d2305553130a0e4af6e751ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayCopyData: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8449994df63199c2417fb242c882054d3b50f1b7a0ae95b28029978e520802"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayCopyDataBetweenOverlappingViews: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eb2df31a644f893049d1cf26f02ff2a9aa7f17bcfefc057ecb3415ef669501"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMLMultiArrayCopyDataFromItselfLeavesValues: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e2be5c5646493a61695b3010c157d375b4fb0565772c91c9bcf52f842124d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e624d212f93c15125a9ebf4f2a18f20f711c997d30d3986ee79fea021934df70"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testArrayResetPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f059cb8f52e84195d8839dc54882d972da23297140a0aaa3d570be0d07a70e4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testArrayCopyPerformance: 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* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, 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/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderStateV3Tests.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"37daad79934d97a40475bf9b0fa65f4f3ff279dad34ed5ad9fa6c5f2d33833c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/TTSCommand.swift: Sources/FluidAudioCLI/Commands/TTSCommand.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in TTS.run at line 58. 3 of those changes were fix/bug commits, and the other 9 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/TTSCommand.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/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"538978402540ea64e254979751a6fbee357dc7acb1595b93bafdb447fd9c7c44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ModelNames.swift: Sources/FluidAudio/ModelNames.swift changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in Repo.name at line 133. 4 of those changes were fix/bug commits, and the other 17 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ModelNames.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/FluidAudio/ModelNames.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d1bc673936f8f55d1f663f9fa038ac4d552b1e1f51b802a60bb3015d6e2618"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in TranscribeCommand.parseArguments at line 241. 2 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3f408ad3c6a0c732df92fa1ad872c319d9312dc6b739d25deb91957a3b304d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/Shared/Download/ModelHub.swift: Sources/FluidAudio/Shared/Download/ModelHub.swift changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ModelHub.repoIncludeRule at line 763. 5 of those changes were fix/bug commits, and the other 15 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/Shared/Download/ModelHub.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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"570b2622d582f0a4f48c825a397823e0f637aaaec3487505ba1307188217c654"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/FluidAudioCLI.swift: Sources/FluidAudioCLI/FluidAudioCLI.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in FluidAudioCLI.main at line 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/FluidAudioCLI.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/FluidAudioCLI/FluidAudioCLI.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb9e61f0c7ac458eadaba09347b38e5a3a85e53c7bd935c1365b2b284343ebe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in AsrManager.reconcileFinalWindowSeam at line 256. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e405e0c3444aca534fbb7542b47cea69d9ec709f89fe791d66e464739769b770"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in ChunkProcessor.processWithDualDecodeArbitration at line 45. 3 of those changes were fix/bug commits, and the other 4 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dc982e7a2834e355fc4fc662a3369ff6468a5b8c797a37f5433a63a112e451"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift: Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in TtsBenchmarkCommand.run at line 93. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.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/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6ec2d45c4b15f419841b45a0f63fc74961e0961815eb64ee639315872e95f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in ASRBenchmark.runASRBenchmark at line 642. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"57756698a8705796ec38201249a8ba73a3bf5e4f9d9b12fc4ac1671c1ae2df6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 83 in StreamingNemotronMultilingualAsrManager.processChunk at line 58. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8a07898478894ebc782e38443a2d9bf380167a79aa24c96707a1b50d6fef60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SlidingWindowAsrManager.processWindow 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d9cc560b1e442fee5332ad5aef90ba671e2415db53a11aae39d772611fce46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in CtcEarningsBenchmark.runCLI at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dc1b2a82901208d73c1222fda4a2bd3338516202bc5f22bd9dd225a1360ba2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in TdtDecoderV3.decodeWithTimings at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc43e242f7dc51051c91d698e9267f710b98ea6d2be0f5c5e96085d3c20dac73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in EmissionDelayBenchmark.runCLI at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef106cb42fef75a03d132dd5afdb0b0ed02d688ff53d29a743f8d8871b6e69d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in FLEURSBenchmark.runCLI at line 822. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c606e76a80ac159941f3a4ca14f1311d5bcc8b959ddce568481fa29557746e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift: Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ParaformerManager.decodeWithTimestamps at line 134. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Paraformer/ParaformerManager.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/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a999c671815735501a2d3a5e7f7d643c89b795684aef52682cfcc24b935e4e21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift: Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in DatasetDownloader.downloadCommonVoiceJapanese at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.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/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b11b62a731cb0f7083fcf26408b38b6ef0f28bcb0acef4667ab451356d11df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in StreamingNemotronAsrManager.processChunk at line 10. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ad8d9240677d1fcf8c363a8baa0b4338916c1dab53c4da79d445b21b4b3893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AsrModels.load at line 321. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1f2820c417eba3cc29e97218f2e963356968b6ca1b73c6d3c741e5d0bd9ebb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in VocabularyRescorer.findCandidateTermsForWord 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a75bc0178aa0efd3bc894296b3141d35d92b0a53edecc4294dfbd1d360434ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift: Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in KokoroAneResourceDownloader.ensureVoicePack at line 450. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.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/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5229d13d4c678d3bb2257df7f82a3611a0b389e21934e6c743d89f02854f2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/Shared/Download/FileDownloader.swift: Sources/FluidAudio/Shared/Download/FileDownloader.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in FileDownloader.download 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/Shared/Download/FileDownloader.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/FluidAudio/Shared/Download/FileDownloader.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b1224539cb7c057184a724ff54baf1c7e47d728779b4ced769ac2687fdb858"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift: Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in TTSAsrVerifyCommand.run at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.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/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9224fac6b59abd3b3e299a64f090e0f7f817d944c9a6ba4fec2b986ae37958d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift: Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in OfflineDiarizerConfig.validate at line 357. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.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/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ab14de80071df3763bbb5578d42742167a180e771ffaa38184bf69a5ee4aa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift: Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in KokoroAneEnglishPhonemizer.resolveWord at line 125. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.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/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"620d80a3a219bc9c0b9c68c92eebd49f55dcd6be4931b19206fc68256258fd4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/KokoroAne/KokoroAneError.swift: Sources/FluidAudio/TTS/KokoroAne/KokoroAneError.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in KokoroAneError.errorDescription at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/KokoroAneError.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/FluidAudio/TTS/KokoroAne/KokoroAneError.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c6e451c4156988fc2d2da5337f33e2b56de6b94bb7699f3d6378fa1a567605"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift: Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.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 OfflineDiarizerManager.cluster at line 335), 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(offline-diarizer): hold speaker caps against both cluster censuses (#891)\u201D; \u201Cfix(diarizer/offline): warn on macOS 14 BNNS-crash-prone builds \u002B document known OS issue (#878) (#885)\u201D; \u201Cfix(diarizer/offline): propagate cancellation to workers (#886)\u201D; \u201Cfix(offline-diarizer): pyannote-parity clustering \u2014 threshold semantics, constraint count, constrained assignment (#802)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.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/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"462b716d30a6ad54dbf85bdbd07c045561192ea53712e7984f8efff5d9123e60"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BTypes.swift: Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BTypes.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 8 (its worst body is KokoroAneStage.bundleName at line 132), 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(tts/kokoro-ane): restore long-text chunking in synthesizeDetailed(text:) (#940) (#965)\u201D; \u201Cfix(tts/kokoro-ane): quiet onset on long utterances \u2014 use fp32 KokoroProsody_v2 (#947) (#963)\u201D; \u201Cfix(tts/kokoro-ane): adopt COLA-corrected KokoroTail_v2 \u002B native output level for all variants (#868)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BTypes.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/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BTypes.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"861ae3a9cacc2943dfba04188c0b38abf95b088cdbb517ffead7a571c984d02d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift: Sources/FluidAudio/ASR/Parakeet/AsrTypes.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 10 (its worst body is ASRError.errorDescription at line 233), 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(asr/tdt): default v3 long-form to the no-mel path (silence-aligned starts) (#869)\u201D; \u201Cfix(asr): end-align the final window at the last speech-bearing frame (#747) (#800)\u201D; \u201Cfix(asr/nemotron): native-Swift mel front-end to fix iPadOS cold-start zero output (#739) (#744)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/AsrTypes.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/FluidAudio/ASR/Parakeet/AsrTypes.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcf1b534a1f6132a7944dbedef080c3edeeee24f1c3b8d410aec96aac794fde"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsResourceDownloader.swift: Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsResourceDownloader.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 8 (its worst body is PocketTtsResourceDownloader.shouldSkipAsset at line 163), 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(tts/pockettts): per-language mimi encoders for non-English voice cloning (#793) (#871)\u201D; \u201Cfix(download): latch pre-attach cancellation so cancelled downloads never start (#864)\u201D; \u201Cfix(tts/pocket-tts): enable voice cloning for 24-layer non-English packs (#793) (#797)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsResourceDownloader.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/FluidAudio/TTS/PocketTTS/Assets/PocketTtsResourceDownloader.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"75002c9f46b2ffdf39ced71a39e27cf84d514873c4d54dc4691721a6cee406b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV2.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV2.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 2 (its worst body is TdtDecoderV2.adaptConfigForV2 at line 61), 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(asr): resolve sentence-final punctuation ids from the loaded vocabulary (#905) (#906)\u201D; \u201Cfix(asr/tdt): default v3 long-form to the no-mel path (silence-aligned starts) (#869)\u201D; \u201Cfix(asr/streaming): re-decode final window from frame 0 \u2014 stops #855 trailing-word loss (#861)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 13:13:51 -04:00\u0027 --until=\u00272026-09-30 13:13:51 -04:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV2.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV2.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9d4e39b7c0fc5b3e3bacbf4c920757d7e4ae0e1143f1031f92fd52eb054dda"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 99 significant file(s) lose their only recent owner: Sources/FluidAudioCLI/Commands/TTSCommand.swift, Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift, Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift, Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift, Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift, Sources/FluidAudio/Shared/Download/FileDownloader.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift, Sources/FluidAudioCLI/Utils/DiarizationMetrics.swift (\u002B91 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"788307f2ed97960157e95a26b0ea7e535bdb65064af4e816711a03529f3e44e0"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (104 single-owned of 336 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 336 of the 389 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Naming inconsistency between model and dataset resolution methods. While the parameters are identical, the method names use different verbs (\u0027resolveModel\u0027 vs \u0027resolveDataset\u0027) rather than a unified \u0027resolve\u0027 method with a type discriminator or a generic \u0027resolve\u0027 method.: Unify to a single method signature such as \u0060resolve(String, String, revision: String, type: ModelType): URL\u0060 or \u0060resolveModel(...)\u0060 and \u0060resolveAsset(...)\u0060 if the distinction is critical, but currently the parallel structure suggests a naming convention drift. (signatures: FluidAudio.ModelRegistry.resolveModel(String, String, revision: String): URL | FluidAudio.ModelRegistry.resolveDataset(String, String, revision: String): URL)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d88667fa108c7de541b592f3eb65bc9bbdce7baac726efc6940a0f0c55a3f0f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (99939 LoC, 473 public types across 72 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b585fe9e63f2e23e6df046d02b1edd7ffe1a255fbc9a0658ec17ee43cfb7f894"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb479d6ee87b433a68bc0eafc6cce6978ef9e20c53a7bc8c1af6d3801724a39f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22d71f4ca9667d4b2885c5bf1589b6807e6743294aa73172cbf0169a26ad71d6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf8dd8550c9d176f618d1dc29795eaf4065644523baf753b6f72f436de6d8904"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58204923a92275461003119f5f90853da8eeebcfd1329d1e239c76368b5457ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49e9df15abb5f92add0830591936c7eef68c563b22208cadcbe80ba32728ab96"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2bbf4db0c0e09606afc98b04e17df3bfe887cdfdd807d54822b0c9b8316e441"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0957cc7f47d1931c56662464cd3ce406765637560a7f96e94ab37853c0558962"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a994f7e4e16844fc838082842b951c7df785f84995704c1fbba3c3d18f811a64"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a58d5d5388d4c24aef6836fc5d5a6ebc4636d2d4b3dfa4aff65a56101a194e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"914ef2b9b11d9707db785ebcea7dc9f493e338900df3cb47227caa98d3c267a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c86a11daa7e3361907be5579cbc0e425f16aff0c0db52d9c173de0eb02d3d81"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c26fe59ba0d4a0046a7b901d6f403a68f3b9b75637a00e5b1929aebce126fd6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89d1664bf8ac9851796395b2484bf112897eb01e573faf5ec434635650f25a6c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ca5c0a206319ceeef85bf20ecc28e3b755507fc4c4eef3ed9629798c626e79c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"908f8a6da85cf16e22b75412cf4c11ecc9f9f9ae1abbf42576642597de404b76"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5e10d40bc5dc3928822c608f33d486ff3c7a00569d5d8b677dccb523198cd86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12da7877fd5de8f9a6644047ea82336b05f44f556af85d4a636338e6913fb3f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed1803b14998a2fc807c847154b31ce7b7e40c9fd1cea1264dc95551a1a773f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a5f4963697df33e2c3c5b3bc45cb5a2399d43d34899b03ca8388ff5a2a9ed8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0071801488378754ade48bf118abd5bd8496dd1deb019c41b971fa4bbd23d5e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2903b69b56a1c50d805129e251f4480c2dc50934fc50b576524e39d356e12bb6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ee3a1d11d06291d35c6ca99c6bb15b6c96e382115f4f03e1e8f9f955200313a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1843ad152a59330027f342ea225b50420e335939a80730a3ab87a3c05fe511d4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca80ad480824119afa474f8e4718fc94cf2f5f13faf11e13527252e64264352b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c33e0976bc73f6b9e9057738960e407adc9fcdeaf8e9b7b22ebf864a270daee9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"defd874867c3fbac1c3656d7ba38197c0fbc8930084cd12b693d037a7a374db7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef0466d09e49c2e1a4c60e76d49c4c964e8cb47011624caad68b212c30ab4a37"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bba6f00eceb6bc92b6c1b6267e7072e63204032de31f737a50a58f5cfc13a87"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0389e8bab62fa8ae8158989cc7ae87af838a462929d5413a0399347c15ebb12a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"653b1f139516a89ada59ad011d8bdb51045062a82fb1a85d7d2d24692670f659"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f62ea0be9bd1a9fc701d7ee321e07cc2f3b443df05c38f9a3893abe777c9de7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66774acc49dcc51a24c1cfb6dd38c40145860b786369dbc6148a487fb14fc662"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac3d2280ca8a9503eaee5b5d6eed7d3d6f29a47f8be06664d4a82b664f76d7d7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3715b2063d912020e60baa786918df63ca6e62afba02288b230e144bd93f225e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"552788d475e1b00cc456c854dfba5000dd50735505ec6adb864b3ad65e903f1b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e7da41f9ebbcf72c3fdc321546b54b03c1f773b9c3f207196f560ad1b90ce16"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"311b2db1e0a61b7bbca1da18dc4179ae22e2714067ab4d581762c81236f43dea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b294ab1a2d37794f22bc82b4eb779f70b3cf23defc3e045e3b78d04c6e46c9e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b527b9eb7740432243bb7c7a9806371406cf5630a4a9f4450ad7bcba691d03fa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"deb2f2610210fbc5a3aa8686e38a708f5de9f8950f3a1a04be31bf7cfa65417c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12234dc380917a9a76a24001b71faf2f1bf75a843d628e25b7b076a954b1c2e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f629208851fb24250f15b4064f3f33788cc05b3431d2517b4b04beb7b1192855"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e95356ffd620107379a260640e6690c0b1c94c3c8c743e60e8f96a11f68165fc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"903d21e310f4b449cd86ea1cffed83cd565b9de87f949933fd54934363d8960f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e555f4678c8aeef8c5c8af0470ca23ed8d57ed5d1d036e4a4168361c3cc8564c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f583cbdd80f9a9b18acacf077081be456eaeade43cebb8f3920a4a726d5bbede"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1dd23c7d2c4398ca7773a9de350ceb8b44de805de1d8da5b492f0b0f8d5c615"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d2d53a91971f6e9a9bc62f84772151b0229395837f334d4b2b92e812fabf1ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea33b090c4f81d5b2757cbc04a9f7fcf544bef140a515e40f6c9ec463f03dd7c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc16ddd14bb2cf12d8b79746d4cb794ec8817b8b7c05d975193044b6cb6b04ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17fb67c48fee2a42289b11734dc752ab6eacc7b88ca4bea8d0d57d782e9f738b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"574e503a26a747e4cbf039833032efb0b2a2844ce0e991f98ea76e4b1079b6f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10c22015b76ae01425df3dca45c305e2c04559b512a15271211e0677f73b87f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2849b0d427b0a82a3d123fbb657b708e77e04d2e51bfc23cfb5c4f9603518ffd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc593b2e0a2e240f4b91c8b539ed02cd647a6419ccf0015d9b9018d6750f053f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5667eb3420ed457489d963ec83c61c043cb9692aae52ad1e853622f3247059f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f81854eed8234c18b0f5df65c5bd025ba2cb9613328e1ca3bbf4579e0df43ba5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89b25cd79e971b6fbc9800fcee5c3ba11236bee77ef81ddeef20b26a234464a1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd099bb6cfed56fad24c36e48d32a9108ad87a21d417f229149c57e60642847f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"293ec2613efe5612514534333cafc618ed1a403dca1776f9397785be54b40d12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b1f9d9cd2bf5fad82874fab955c2bd97369ef497879bd544f166b80813a4c4a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77c7bc4188782f5207aaf4b65d8f62e870160b99afc26db84494a26be45ec5e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ddd4a3eacb5abc26b76d406ddb70aae9070bf3a368b86a2ade443eb3e11ee6d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2faf708a19c10bb6a3d6ec4bae6bcb9d1a57f2dd774f609f030cd152fa4fc9a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2468ab8c7bee83680c0e726f23e6322ee87315b4717e187d85b3f449597ab250"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7ed734ce9a7bf5594df12bcf3d6c7910ef11c08b5b15fb4f5728a0eead00123"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"625c21bd3784fd82189cb94d4adfcf84328fdb788a2f607665833d6a5bd9ee1b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd49f1cc466837c75b09c778eca538ad2f89ff30e7d0d78fcbe604fd00af6341"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb9171df30ade35aa2407c566914c18ecb978a0ce2462cfaaf85b1fc77f574b6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2fc86b3dd5fe0d6b3d367bbfeb051edcfa2107840dce3c45ac481cf1e9f36db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a917d3c425d9dafb45ce686227a416a6a70359cdb16b8a90f997c124dea286b8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95ec8641ccf012494d8df89e7960f990318a8940043062289e8488d599577b02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c85e0486d4545dce1247bfa5d434a76a740508d8e4945a4696c2fd2f4a4115a4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3a3a232004c4b253bd06811eeae68dae89b7e501c608f319b99c14d77ca39d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 6 of 336 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 336 of the 389 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Sources/FluidAudio/Shared/AudioStream.swift, Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift, Sources/FluidAudio/Diarizer/LS-EEND/LSEENDTypes.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcTokenizer.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/BKTree.swift, Sources/FluidAudio/Diarizer/Offline/Clustering/SpeakerCountConstraints.swift. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChunkProcessor.swift \u2194 TdtDecoderV3.swift: \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift\u0060 change together 58% of the time (11 of the 19 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 11 shared commits counted here, the most recent 3 are \u006080488128\u0060 fix(asr): add opt-in v3 no-mel decode arbitration (#604); \u00600f7493bd\u0060 feat: Support Parakeet-TDT-CTC-110M hybrid model (#433) (at that commit the files were still \u0060Sources/FluidAudio/ASR/ChunkProcessor.swift\u0060 and \u0060Sources/FluidAudio/ASR/TDT/TdtDecoderV3.swift\u0060); \u0060289833a5\u0060 fix: populate tokenDurations in TDT decoder for accurate word endTime\u2026 (at that commit the files were still \u0060Sources/FluidAudio/ASR/ChunkProcessor.swift\u0060 and \u0060Sources/FluidAudio/ASR/TDT/TdtDecoderV3.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28ba96f2d81a2f418189b12b3ae652181ef1a8a0702804270f7bab33c26a2d5"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 106375 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arguments.contains(\u0022--help\u0022) || arguments.contains(\u0022-h\u0022)\u0060 appears character-identically in 10 files \u2014 Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf3e7a4a37d852868657b0c1d2a16d72b962b6568cd69ac9bd09449393b4d31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.hasPrefix(ASRConstants.sentencePieceWordBoundary) || p.hasPrefix(\u0022 \u0022)\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0941b1eba014238693135e22e3ec7f1a17c28fc78fd5d75f4a3be9d72687482e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.pathExtension == \u0022txt\u0022 \u0026\u0026 url.lastPathComponent.contains(\u0022.trans.\u0022)\u0060 appears character-identically in 3 files \u2014 Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bad7a6370c07300d267d17bb8c9976f373efc805faeb7cdf53010ac8333273"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060phon.hasPrefix(\u0022\u31262\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060phon.hasPrefix(\u0022\u31262\u0022)\u0060 also satisfies \u0060phon.hasPrefix(\u0022\u3126\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/MandarinErhuaTests.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1beb72c8fdd3bfae2947c1eed1e6abb2077e9121810b18048f7138a69560854"}}],"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-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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":81,"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."]}]}