{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TTS.run (cyclomatic 142): TTS.run has cyclomatic complexity 142 (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 106): StreamDiarizationBenchmark.run has cyclomatic complexity 106 (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":172}}}],"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":"TranscribeCommand.parseArguments (cyclomatic 86): TranscribeCommand.parseArguments has cyclomatic complexity 86 (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":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba3490a2bfa598390d10a7eb61ef12ed03dac619989bd39de90a32e59282fef"}},{"ruleId":"D1","level":"warning","message":{"text":"ASRBenchmark.runASRBenchmark (cyclomatic 85): ASRBenchmark.runASRBenchmark has cyclomatic complexity 85 (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":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c069182a99ad29657c519069c5b7741d988dc00a7e4de253338ad5cfed662e"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.processChunk (cyclomatic 82): StreamingNemotronMultilingualAsrManager.processChunk has cyclomatic complexity 82 (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\u002BPipeline.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2f8419faa0d99dc80866977c8aa742480ead7d2711a8d181aa24fceac3d9fa"}},{"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 72): ProcessCommand.parseArguments has cyclomatic complexity 72 (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":"PhononTextNormalizer.normalize (cyclomatic 71): PhononTextNormalizer.normalize has cyclomatic complexity 71 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextNormalizer.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3cf10677f656b06c15b45ca159ad130f50f56802fdbce12696912c53edcf5b"}},{"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\u002BDecode.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38ebad08e2d7358440e0d41f5630a343ad56364980b746fb0bd24448cea50c1"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.rescoreWithConstrainedCTCTermCentric (cyclomatic 69): VocabularyRescorer.rescoreWithConstrainedCTCTermCentric 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/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b0e721fadc41a33629941f7e86c4a24e085c2c30aa0e1adafa5c6e7364509d"}},{"ruleId":"D1","level":"warning","message":{"text":"TtsBenchmarkCommand.run (cyclomatic 64): TtsBenchmarkCommand.run 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/TtsBenchmarkCommand.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"716e2deed9002cc7e14c5febc2220eb3181c95ddd7b26c5e73a3c9640e161a28"}},{"ruleId":"D1","level":"warning","message":{"text":"AsrManager.reconcileFinalWindowSeam (cyclomatic 63): AsrManager.reconcileFinalWindowSeam has cyclomatic complexity 63 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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\u002BTranscription.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aafa2353dd9d43c30223c755b472ab048c59d1ecd85e4b1160a7308674291f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.processWithDualDecodeArbitration (cyclomatic 63): ChunkProcessor.processWithDualDecodeArbitration has cyclomatic complexity 63 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb70d4576025ead17d83f36d1bb31c01cbc7f7945cba8af252f4b67b40cf368"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcEarningsBenchmark.runCLI (cyclomatic 62): CtcEarningsBenchmark.runCLI has cyclomatic complexity 62 (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":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca040ff54d80027302f4b7a19bc08dcec92c10d86eca32b3c31c5d6fe9037ec"}},{"ruleId":"D1","level":"warning","message":{"text":"EmissionDelayBenchmark.runCLI (cyclomatic 61): EmissionDelayBenchmark.runCLI has cyclomatic complexity 61 (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":"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":"NemotronMultilingualFleursBenchmark.runCLI (cyclomatic 60): NemotronMultilingualFleursBenchmark.runCLI 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/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"89892280bd49791586dd30c044fb6fbe4ac6d56f59c7c8ab09eb666b170452fd"}},{"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":169}}}],"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":"OfflineSegmentationProcessor.process (cyclomatic 57): OfflineSegmentationProcessor.process has cyclomatic complexity 57 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2b2008bb37f83a0803298f78cd1cd303995d5bc342006940652f08087cfec5"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelNames.getRequiredModelNames (cyclomatic 53): ModelNames.getRequiredModelNames has cyclomatic complexity 53 (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 61) 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":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b89afab9d0f20a2acac5854e134c97c9c6b388582088e2e4ce07d5c6ea4f47"}},{"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":351}}}],"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":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"1098b1b4a9bb20f5a3a667f01c3e275e0c5f8c2609cedee5069a4813abd7ef80"}},{"ruleId":"D1","level":"warning","message":{"text":"CanaryTranscribeCommand.run (cyclomatic 48): CanaryTranscribeCommand.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/CanaryTranscribeCommand.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"010cb906f545636e2f1faa950d15dfe09e192b3241f0b35ca6741d98ebe4e47c"}},{"ruleId":"D1","level":"warning","message":{"text":"CohereBenchmark.run (cyclomatic 47): CohereBenchmark.run 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/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":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a1a53aab53d649a68b861af8e14d0b24aaec206400307fda1cdc306c648739"}},{"ruleId":"D1","level":"warning","message":{"text":"TdtDecoderV3.decodeWithTimings (cyclomatic 45): TdtDecoderV3.decodeWithTimings has cyclomatic complexity 45 (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). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":146}}}],"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":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"20447d096d097c75a9134a03caee898b5b8a736c3d7664cb38970181bbe1cc78"}},{"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":287}}}],"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/BKTree/VocabularyRescorer\u002BCandidateMatching.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"57148bbc1b795321b79be291c5143289f53260a262781742633dce3254b3f5a7"}},{"ruleId":"D1","level":"warning","message":{"text":"FLEURSBenchmark.runCLI (cyclomatic 40): FLEURSBenchmark.runCLI 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62717dfd551d83a2a5791e9a4c42ff11e07dac5feb5fbff7a33dc298bc108c5"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenLanguageFilter.matches (cyclomatic 39): TokenLanguageFilter.matches has cyclomatic complexity 39 (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":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf6e003a628b571b325142f48a5fcc9982b8a521cd6c8dd6324cf6542b1913c"}},{"ruleId":"D1","level":"warning","message":{"text":"LuxTtsG2p.phonemizeNormalized (cyclomatic 37): LuxTtsG2p.phonemizeNormalized has cyclomatic complexity 37 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8bfc7db5d3b54db88e1aa0847d9d573808ff9fd747dc2bae08f801ca386949"}},{"ruleId":"D1","level":"warning","message":{"text":"CohereTranscribeCommand.run (cyclomatic 36): CohereTranscribeCommand.run 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/Cohere/CohereTranscribeCommand.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad17900c33c06012c6dc4f4e2f3c711dcd4a4f6f9200a7b9f9d901947c2a1c3"}},{"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":"TranscribeCommand.runStreaming (cyclomatic 35): TranscribeCommand.runStreaming has cyclomatic complexity 35 (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":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d48795870eee9d7f35a3bbb6a97cad4f3bd7b7baaa15e939790d0474aaa6dd"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.loadModels (cyclomatic 34): StreamingNemotronMultilingualAsrManager.loadModels has cyclomatic complexity 34 (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":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc645266bcf558cbb0310f7537755315f82121005f16c5a8beaf45127e082dcb"}},{"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":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca1fefae1be65fd0ebadb08b50aea58c7ecfc3c80693c8d5fadd1c7b8cabc4"}},{"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":"SlidingWindowAsrManager.processWindow (cyclomatic 32): SlidingWindowAsrManager.processWindow 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/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f05be5bc3a98bfe53b71097fdc855e868f20eae848f517aeae8632e336e5053"}},{"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":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2705f38487283292ce4b7784d16ccf78f472f94a96620c9c9f4863fad9d6e3a"}},{"ruleId":"D1","level":"warning","message":{"text":"AsrManager.transcribeChunk (cyclomatic 32): AsrManager.transcribeChunk 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/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b792598711d25f279ed377c505615118d4dce7b1376fdbf8ecd33f8984d08d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.spliceCandidate (cyclomatic 32): ChunkProcessor.spliceCandidate has cyclomatic complexity 32 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 14 belong to 5 function items inside it that branch. 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":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cb3fa309432ce2551084139a81fece23baf56915d9cb4e123e033007cc6d43"}},{"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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e9d4527ac43137725ee8f7579182b784d6d1eedc754017a5c6aaa5b2e7f191"}},{"ruleId":"D1","level":"warning","message":{"text":"Nemotron3DiarizeCommand.runDiarize (cyclomatic 32): Nemotron3DiarizeCommand.runDiarize has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/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":"TranscribeCommand.runBatch (cyclomatic 32): TranscribeCommand.runBatch 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/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb82dcb54f38185881bff1abce5b29916197022f5524ad7eb224aa20b7d268ed"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingNemotronAsrManager.processChunk (cyclomatic 31): StreamingNemotronAsrManager.processChunk 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daece7005e478e3a6366cdb32875f678d393314db88609f96e1be70bf6fdb20"}},{"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). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/VAD/VadManager\u002BSpeechSegmentation.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9521bf25345765b20e940922b3b8c10201ff2bcd1a0c44255fcd173cc9fab485"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinG2P.phonemizeTracingPunctuation (cyclomatic 30): MandarinG2P.phonemizeTracingPunctuation has cyclomatic complexity 30 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1389fa22e1ad2305cc26b36169e95b68d8044f1779e8667bd887cfdf4fc3fec"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.rescoreWithConstrainedCTCWordCentric (cyclomatic 30): VocabularyRescorer.rescoreWithConstrainedCTCWordCentric 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/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"961b19a348d0ce8616772154518701679e6d2663c9ffb3f61f0d209af2e691b7"}},{"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":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"3078497388a3de08ba7844ee8799239132322c1af12a42fb96e4f47ce8a91770"}},{"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":240}}}],"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":23}}}],"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":938}}}],"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":53}}}],"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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481d4ee489333815271496139575f5b175e3678420358224804978946858cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"ParadeeG2P.prepare (cyclomatic 28): ParadeeG2P.prepare has cyclomatic complexity 28 (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/Paradee/G2P/ParadeeG2P.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d774068bc5bf7ef975f7b8d991fa867dd68b797f313b22148e06a478ea5d0e00"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.process (cyclomatic 28): ChunkProcessor.process has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edcdae277551df41f28008e3de2e5c7120d13386e119b359456991442d655b3"}},{"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":624}}}],"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":390}}}],"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":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"45743dd2a59534a92dc393119c511ff9b8f6d1137da07de032bb42eb8d67a01c"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.evaluateCTCMatch (cyclomatic 28): VocabularyRescorer.evaluateCTCMatch 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/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a4489cdb8a98fa43e697aad01d040665192cf9161b94a4ede11f971a123b10"}},{"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":"ModelHub.repoIncludeRule (cyclomatic 27): ModelHub.repoIncludeRule has cyclomatic complexity 27 (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":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"f631a5969b0fcb31d352d3ad134ce329f9432efdb3b6c9b0cb5bc46fafbcfed4"}},{"ruleId":"D1","level":"warning","message":{"text":"KokoroAneV3Pipeline.run (cyclomatic 27): KokoroAneV3Pipeline.run has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"414d6feac547044f46210677b9f61762745d8bfda83867a5b441aa4e18049755"}},{"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":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"6513f31ba93557842080c3cac0397d53c46b35b4385bfc82af5ca6adb4c678ae"}},{"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":"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":96}}}],"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":231}}}],"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":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2d29c69371cbd4e9275feec8eafb4e93f672225b83097412afb6f6bae96fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioConverter.convertFile (cyclomatic 25): AudioConverter.convertFile 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/Shared/AudioConverter.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"533fa51f1b01661316034273bcc40ad55052ab2de30b041e28989416d2abc502"}},{"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":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"753b55a2364fb3bf65e03984fb9afa3a195622c3421cf8a24b0f6e1247e6ab10"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.mergeUsingMatches (cyclomatic 25): ChunkProcessor.mergeUsingMatches 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/TDT/ChunkProcessor.swift"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcf10bca2f5c9199e62da65ccae60e9d1c00c8cf7bb13d3f51765262581083b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.repairSeamGaps (cyclomatic 25): ChunkProcessor.repairSeamGaps 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/TDT/ChunkProcessor.swift"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2385af9771db1b0090c1b2b251da2bb3f1993b9c165f9d9a7e44799c82b5bfb"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinG2P.segment (cyclomatic 25): MandarinG2P.segment has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b346ff64ee702bddd7205859a6ae106fc2220c165617a07797b20e73c22e643"}},{"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":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"836663fd0929472d8c0fb2f7b57509b1ce5cacc502f0b8f364d3716158e1d4fc"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineEmbeddingExtractor.extractEmbeddings::processChunk (cyclomatic 24): OfflineEmbeddingExtractor.extractEmbeddings::processChunk has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (OfflineEmbeddingExtractor.extractEmbeddings) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2209720ebcd5edad816fd0e83f2dfe3c7cf39ce989fa2e2023f3a1e1c348cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsSynthesizer.splitAtWordBoundaries (cyclomatic 24): PocketTtsSynthesizer.splitAtWordBoundaries has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0d14f31dce70d440298b499b7398ade8ed20c04c5c06913840a9b42d69c47a"}},{"ruleId":"D1","level":"warning","message":{"text":"SlidingWindowTokenCursor.next (cyclomatic 23): SlidingWindowTokenCursor.next has cyclomatic complexity 23 (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/SlidingWindowTokenUpdate.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfb6fa204ab3986792b22f39ae036c766509acd19a6567a59a622f504ec5de4"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineDiarizerConfig.validate (cyclomatic 23): OfflineDiarizerConfig.validate has cyclomatic complexity 23 (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":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf02c8133c2d37432c5ec9da0b453c6a747111982c7d4ab4edf0bf6b97e400"}},{"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":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fcb713daa86fb7a3caf8da6a161900fd4b8ac4677e835e6990b27ad8b3b457"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsSynthesizer.clauseParts (cyclomatic 23): PocketTtsSynthesizer.clauseParts has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ce6a8166b9fe9939af03d13fc606905f05dbd11a2277d34f90d954e984367"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.collectSpotterAnchoredCandidates (cyclomatic 23): VocabularyRescorer.collectSpotterAnchoredCandidates 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/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e628748be8a209e3eeaea9d752416fe9967f7b21aae4f462d831a417b1d188"}},{"ruleId":"D1","level":"warning","message":{"text":"NemotronMultilingualTranscribe.run (cyclomatic 23): NemotronMultilingualTranscribe.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/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9ee04995726e5bb7cb67abd1b61f7c873f139d30d9b692fc8603e7cdaf203d"}},{"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":"StreamingUnifiedAsrManager.processWindow (cyclomatic 22): StreamingUnifiedAsrManager.processWindow 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/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6021eb14eea43461497cf5165a7897afae92702b6cd7e8e03896f5606c3e3fef"}},{"ruleId":"D1","level":"warning","message":{"text":"PhononTextRewriter.urls (cyclomatic 22): PhononTextRewriter.urls has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43c32fa8204ff1897b85582a858aef88b8610707020f9df809d982d7f1b40d9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.collapseSeamWordDuplicates (cyclomatic 22): ChunkProcessor.collapseSeamWordDuplicates has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1184}}}],"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":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"8232b79c371d54fcade4d0d06dbdce8f5f7ca6f3c29c5290cd529037e59559e7"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinBopomofoMap.encode (cyclomatic 22): MandarinBopomofoMap.encode 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/TTS/KokoroAne/G2P/Mandarin/MandarinBopomofoMap.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e43f887e9a5fcece73db647a8608c8b5aed31a694e194b4f66cea69a6310f7"}},{"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":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee21d8d3ca04e4fb4afff36aadff816cf6b99ad9c4605f072a1a0b954cd1b9f"}},{"ruleId":"D1","level":"warning","message":{"text":"LFM3AudioTokenizer.init (cyclomatic 21): LFM3AudioTokenizer.init 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/ASR/LFM3Audio/LFM3AudioTokenizer.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"242a4dd82ba5dc4dbcb565f7cc52c5bf2a6896245e076b1513cd150de5e4187e"}},{"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":173}}}],"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":216}}}],"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":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8cb912f6cd4599980841279228f56938e5924a7c063463284d512f30e16807"}},{"ruleId":"D1","level":"warning","message":{"text":"PhononTextRewriter.range (cyclomatic 21): PhononTextRewriter.range has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter\u002BNumbers.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9248d9285f639ad30abad1bc8902dceea63a24799b7d7fa31153a00094f737"}},{"ruleId":"D1","level":"warning","message":{"text":"AsrManager.unspacedKeptCopyCount (cyclomatic 21): AsrManager.unspacedKeptCopyCount has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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\u002BTranscription.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"045440ff17710fc2e4602fbdb8518c272f2a390e80d4512ca85f14b7e57b59af"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.arbitratePendingReplacements (cyclomatic 21): VocabularyRescorer.arbitratePendingReplacements has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0689dab7bab2aef87af1aba5be51931c53b9812380dbcf3bc8066b5d4a30e9f7"}},{"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/JapaneseDatasetDownloader.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"38aeeabb086684f6182376ae089f855ee98e48e6cdc37df3120859c4f0c2998f"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedBenchmark.seamArtifacts (cyclomatic 21): UnifiedBenchmark.seamArtifacts has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"AudioConverter.streamResample (cyclomatic 20): AudioConverter.streamResample 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/Shared/AudioConverter.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8483d1fc6003ee493a0c91394fb162d3da83f8c838ab3c5bf9f8a64996a8cc7"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineEmbeddingExtractor.extractEmbeddings (cyclomatic 20): OfflineEmbeddingExtractor.extractEmbeddings 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. This shape REPEATS in the file: one other method here (OfflineEmbeddingExtractor.extractEmbeddings::processChunk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc28ab9c2727c721778a8c3e8afee488af20e3219cbf12765b88e65618eb4c"}},{"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":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"126235821ebde7c069118d960945f502c8d8d9a8de3c96b1392cc1e62bf32dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"PhononTextRewriter.emails (cyclomatic 20): PhononTextRewriter.emails has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fb35fc1ea7330255eacaee7a74e2805f6e05e5b045ae682c2cc86973eb0902"}},{"ruleId":"D1","level":"warning","message":{"text":"PhononTextRewriter.numberWords (cyclomatic 20): PhononTextRewriter.numberWords has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter\u002BNumbers.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c440560cf15fc7e67ae5fd67adecea765af55737cee41cbb76f6c477f673c554"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsSmallEngine.generateDecodeFrame (cyclomatic 20): PocketTtsSmallEngine.generateDecodeFrame 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/Small/PocketTtsSmallEngine.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff1d384af2bbf3461695022553dab016abe352543cf40c942a7b6e9155235e4"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsSmallConstants.loadVoice (cyclomatic 20): PocketTtsSmallConstants.loadVoice 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/Small/PocketTtsSmallModel.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6003a75031568dea27614c5e003e5819ad52dc93dc8733bcd8cf5389af8fa"}},{"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/NemotronVocabularyBias.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"daef8f845b2802b59a21e8fdafb8cafa6a2c94390e4abf9a04d2d50b693782a4"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcDPAlgorithm.terminalStates (cyclomatic 20): CtcDPAlgorithm.terminalStates 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":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"acee7140c4ce85e3b3506c6625e974a0b4bd621cbe51d6dfb6fc778eaa9738ae"}},{"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":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"20555b0c7607d84edfa75f80e85804150a9b8a6d5ff5f7e5c9f1a1dcc4f40cc9"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcDecoder.swift.ctcBeamSearch (cyclomatic 20): CtcDecoder.swift.ctcBeamSearch has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, 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/JapaneseDatasetDownloader.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9f3e3a540dfce8f49d4c09b64a76ac7f393d063bd5c42529c4d9404aafaadd"}},{"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":"Nemotron35TranscribeCommand.run (cyclomatic 20): Nemotron35TranscribeCommand.run has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, 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/Nemotron35TranscribeCommand.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af215f848cd9d909d155d37b8294f6eb8d4e2b3167bc0e6cfab924807342a33"}},{"ruleId":"D1","level":"warning","message":{"text":"LFM3AudioManager.synthesize (cyclomatic 19): LFM3AudioManager.synthesize 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/LFM3Audio/LFM3AudioManager\u002BSpeech.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c57beaf7a212a2b94dbd6f16f557081ae7f81763d65997cdf7c773b6b46e324"}},{"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":293}}}],"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":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8642a74a41fa7045a4c20ac5b625ccd547490114de0f02da50d76e40f2afaa"}},{"ruleId":"D1","level":"warning","message":{"text":"KokoroAneV3Assets.baseIndex (cyclomatic 19): KokoroAneV3Assets.baseIndex 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/V3/KokoroAneV3Assets.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d19be62d9a6b00dcbca6bcf624e2f18dcfd149b6cc91d76c156c542bfe3fb7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsrModels.load (cyclomatic 19): AsrModels.load 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/AsrModels.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fd506032ee1b78ff55d96594c04e4609220e9273408439f286f85cf7907f6f"}},{"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":81}}}],"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":65}}}],"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":"LFM3AudioCommand.parse (cyclomatic 19): LFM3AudioCommand.parse has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/ASR/LFM3AudioCommand.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cd3f13e242b3189dc16e37c580b67a68abbb8ac715c19b010a3549b013f9a4"}},{"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":"SenseVoiceTranscribeCommand.run (cyclomatic 19): SenseVoiceTranscribeCommand.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/SenseVoiceTranscribeCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b696e91c387c77d65679e9652bee32647e36cbbdffe821565db1b09ae59819"}},{"ruleId":"D1","level":"warning","message":{"text":"SpeakerUtilities.cleanEmbeddingsBySpeaker (cyclomatic 18): SpeakerUtilities.cleanEmbeddingsBySpeaker 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/Diarizer/Clustering/SpeakerOperations.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfadee2ea2558c1f2ae6695495d96e1c9cf8602f913bcff63adfbf41aa379ad"}},{"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":218}}}],"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":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f36a6db290964e85229716e068b840ff43bced842cc4df80f1602f6811a438"}},{"ruleId":"D1","level":"warning","message":{"text":"KokoroAneV3Assets.ensure (cyclomatic 18): KokoroAneV3Assets.ensure 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/KokoroAne/V3/KokoroAneV3Assets.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"833c8ab4bce5c4162889d36e3586faf52b9efbbf8085629d488b6251a6de26ea"}},{"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":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"761b59c2b5fea2842d8f4a679d8ad856aff7c284e8dd30f63372420268507b12"}},{"ruleId":"D1","level":"warning","message":{"text":"PhononTextRewriter.digitRun (cyclomatic 18): PhononTextRewriter.digitRun has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/PocketTTS/Phonon/PhononTextRewriter\u002BNumbers.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2642e48d8819cc6d9fa1bfb998fc76611decdbff75d285b6253c0acd98804ff"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.planWindows (cyclomatic 18): ChunkProcessor.planWindows 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/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38d7a61fa5a291b10c4dd5a47fe7140118d3da84f1b93dcb0b166553448df2a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChunkProcessor.mergeChunks (cyclomatic 18): ChunkProcessor.mergeChunks 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/TDT/ChunkProcessor.swift"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a760232ab2d5bf7fff1e02651e1dc130f7f1607828ceec0e8dfb6c9da8ae5492"}},{"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\u002BShared.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda7017e8765788f2caf945fe58521e32723ef0c83b3ecb60df87cb1cf3c5777"}},{"ruleId":"D1","level":"warning","message":{"text":"MisakiBritishFallback.fromAmerican (cyclomatic 18): MisakiBritishFallback.fromAmerican 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/English/MisakiBritishFallback.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa53bc1de08caa3f109435fa98632a47614cf2e323e5da2009dc9f95d7345ee6"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinBopomofoMap.decode (cyclomatic 18): MandarinBopomofoMap.decode 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/KokoroAne/G2P/Mandarin/MandarinBopomofoMap.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb488106ed4f77d091cceddbe8c57ed4c83ad028657b44a373822a4e51bbb235"}},{"ruleId":"D1","level":"warning","message":{"text":"MandarinG2pwModel.disambiguate (cyclomatic 18): MandarinG2pwModel.disambiguate 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/KokoroAne/G2P/Mandarin/MandarinG2pwModel.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bbb6a513374673481dea19102b8f92cbd6158efb3af04229f3ede853dbbb47"}},{"ruleId":"D1","level":"warning","message":{"text":"CtcKeywordSpotter.makeLogProbs (cyclomatic 18): CtcKeywordSpotter.makeLogProbs has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter\u002BInference.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10c149e9229ae6aa7b2d99c58aa0fe9b1a091a0158c0f17cd181a6a449284ae"}},{"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":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aa38adf5836de39cd603dd51717017e5292f6bdc7a27e338f6f9535f7175ce"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscribeCommand.runUnified (cyclomatic 18): TranscribeCommand.runUnified 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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"1804553f370000668c69393770b79f297434d3d7c215544dd2fc860c367b9d96"}},{"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":"LFM3AudioDepthDecoder.sample (cyclomatic 17): LFM3AudioDepthDecoder.sample 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/LFM3Audio/LFM3AudioDepthDecoder.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebdfd4fae7ea8c95efc5f8907206ed2657f741a05d84300df95233f36ece299"}},{"ruleId":"D1","level":"warning","message":{"text":"PhonemeChunker.chunkRanges (cyclomatic 17): PhonemeChunker.chunkRanges has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. 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/Shared/PhonemeChunker.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f57dbf93c7b3e1c4252e8ead7b95593a108b9a64483d43d0b3c37f70b0d6f47"}},{"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":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabad0b4d3df82d2d34a605eb25b3138e0d3946a3cd7b0662d31aa2c4f0168bc"}},{"ruleId":"D1","level":"warning","message":{"text":"KokoroAneV3Pipeline.init (cyclomatic 17): KokoroAneV3Pipeline.init has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (open, buckets). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb7dead7e8908286d5f272a559523f696c28824dc9ef214496367f0a336c0bc"}},{"ruleId":"D1","level":"warning","message":{"text":"PocketTtsSynthesizer.splitSentences (cyclomatic 17): PocketTtsSynthesizer.splitSentences 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/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a04aaa7e3a31e742b50a52fea4ae5733efec201d4c8cc5461c5cf6a98cfff9b"}},{"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":52}}}],"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":91}}}],"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":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0284afc1387197e121e26ba15d34445546f9c4570e5963f8d27bbb365e37c788"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.buildWordTimings (cyclomatic 17): VocabularyRescorer.buildWordTimings 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":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb1a07945d5ce14ac6f32d12bd8d9e80c71636b7d1aa9ea047053ef26fe4c3d"}},{"ruleId":"D1","level":"warning","message":{"text":"VocabularyRescorer.protectedSearchWindow (cyclomatic 17): VocabularyRescorer.protectedSearchWindow 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\u002BSpanProtection.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"95971138dea768d745a53514a442219ded23b974027ce565770dc688bd4e5699"}},{"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\u002BUtilities.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b092625ee03c140a0ed7d66c74897f9c51d9c186c7281803b59b5af14ebab9"}},{"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":"LFM3AudioManager.transcribeLiveChunk (cyclomatic 16): LFM3AudioManager.transcribeLiveChunk 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/ASR/LFM3Audio/LFM3AudioManager.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a990f5deefb46eb29f21b24531328de2fe3b130a5123176183c7b662f3180f59"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelCache.hasMatchingContent (cyclomatic 16): ModelCache.hasMatchingContent 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/Shared/Download/ModelCache.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a947fe666184e2b8223cd94efaf81eb0ede6a5dd7946a36297ecd27e1c8361"}},{"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":125}}}],"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":280}}}],"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":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d33d8e314490a777bd88979687c4579ac91a6360aedd9b80ead1ddc7236cb1c"}},{"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":132}}}],"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":443}}}],"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":119}}}],"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":33}}}],"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\u002BInference.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020bc5eff9815d71d2293c9f87abd1c6298c18d6cc5b83d0f48bf7201a3732d"}},{"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":"VocabularyRescorer.rescoreWithConstrainedCTCTermCentric (cognitive 226): VocabularyRescorer.rescoreWithConstrainedCTCTermCentric has cognitive complexity 226 (threshold 15). Drivers by points: if/else 38 (158 pts), loops 8 (32 pts), ternaries 5 (19 pts), boolean chains 17 (nesting depth added 158). 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\u002BTokenRescoring.swift"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4998580c796a6af277723de9cf971b125bd59b3178b678b97d216de5654a51"}},{"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\u002BDecode.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8d76ce79d6715a87ecf00b2756a10c8b9b2e5289ad5732d21bf2b03003c6f3"}},{"ruleId":"D2","level":"warning","message":{"text":"TTS.run (cognitive 179): TTS.run has cognitive complexity 179 (threshold 15). Drivers by points: if/else 53 (141 pts), boolean chains 16, match/switch 5 (15 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 102). To reduce it, split the body into named stages: move each independent step or branch into its 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":"StreamingNemotronMultilingualAsrManager.processChunk (cognitive 167): StreamingNemotronMultilingualAsrManager.processChunk has cognitive complexity 167 (threshold 15). Drivers by points: if/else 64 (129 pts), boolean chains 35, 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\u002BPipeline.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fdd6943ae348fb86572835b82a2b9e929e2086d0f68dcc09e56af50a9853c8"}},{"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":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8897038842806031ece8ccb7018efdc49df1d19c8eeb870c2ced88b685c7d37d"}},{"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":"ChunkProcessor.processWithDualDecodeArbitration (cognitive 120): ChunkProcessor.processWithDualDecodeArbitration has cognitive complexity 120 (threshold 15). Drivers by points: loops 14 (44 pts), if/else 27 (43 pts), ternaries 12 (18 pts), boolean chains 15 (nesting depth added 52). Of this number, 114 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc06df58528bcee080d83ca46a783c68527be343bf2790e9793cfa812f69beb"}},{"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/BKTree/VocabularyRescorer\u002BCandidateMatching.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee606bdcae0b17a5f4d9812abcdf720cc845619348d1c39caba6698c2c53539d"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineSegmentationProcessor.process (cognitive 114): OfflineSegmentationProcessor.process has cognitive complexity 114 (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. This shape REPEATS in the file: one other method here (OfflineSegmentationProcessor.process::populateWindow) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"091bd0535aae9125769e50cc9aeddcb781a7139059efe149f273befdbd72e822"}},{"ruleId":"D2","level":"warning","message":{"text":"ASRBenchmark.runASRBenchmark (cognitive 113): ASRBenchmark.runASRBenchmark has cognitive complexity 113 (threshold 15). Drivers by points: if/else 35 (84 pts), match/switch 4 (11 pts), error handling 3 (8 pts), ternaries 5, boolean chains 4, loops 1 (nesting depth added 61). 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":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d1ff9d789e40e3841bf23de9f746f53bf767b06b88855451dd3ad6e2cded42"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextNormalizer.normalize (cognitive 111): PhononTextNormalizer.normalize has cognitive complexity 111 (threshold 15). Drivers by points: if/else 33 (46 pts), ternaries 9 (28 pts), boolean chains 27, loops 3 (7 pts), match/switch 1 (3 pts) (nesting depth added 38). Of this number, 110 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextNormalizer.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b458c7405df4a1b411b26be001a64a928e5af3567db7fe148ad9dcc635f3a8"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.parseArguments (cognitive 111): TranscribeCommand.parseArguments has cognitive complexity 111 (threshold 15). Drivers by points: if/else 33 (96 pts), match/switch 3 (10 pts), boolean chains 4, loops 1 (nesting depth added 70). To reduce it, split the body into named stages: move each independent step or branch into its 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":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"985fce98dd8c3241f7b33d7df52a793ab2385a6ec981afcc0b4b3b8f65c1198e"}},{"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":"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":"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":62}}}],"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":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c57632412d873dee2a678735bc6fca39313a5dba899f2d462bd3fffeb069aa"}},{"ruleId":"D2","level":"warning","message":{"text":"TtsBenchmarkCommand.run (cognitive 90): TtsBenchmarkCommand.run has cognitive complexity 90 (threshold 15). Drivers by points: if/else 28 (72 pts), ternaries 2 (6 pts), match/switch 2 (4 pts), error handling 3, loops 2 (3 pts), boolean chains 2 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its 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":"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":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ec4de276d500a26ef987beed0d153fe6ab1d4c12a2900e21b3df7c05ef4b7"}},{"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":351}}}],"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":"NemotronMultilingualFleursBenchmark.runCLI (cognitive 86): NemotronMultilingualFleursBenchmark.runCLI has cognitive complexity 86 (threshold 15). Drivers by points: if/else 27 (64 pts), match/switch 3 (9 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2 (3 pts), loops 2 (3 pts) (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":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f62a9636f3406f48524ff166c5c28538a5fd2fef41ef47bd3a149309f9a3b8"}},{"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":"TdtDecoderV3.decodeWithTimings (cognitive 79): TdtDecoderV3.decodeWithTimings has cognitive complexity 79 (threshold 15). Drivers by points: if/else 28 (55 pts), boolean chains 19, loops 3 (5 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"614ff33d420b9b5656508f40c2ece1f917f127c4b452c6769e3eebe73b9f92be"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrManager.reconcileFinalWindowSeam (cognitive 77): AsrManager.reconcileFinalWindowSeam has cognitive complexity 77 (threshold 15). Drivers by points: boolean chains 38, if/else 20 (31 pts), loops 4 (5 pts), ternaries 2 (3 pts) (nesting depth added 13). Of this number, 76 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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\u002BTranscription.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb3468eada45f2e61d38d5c98b22674447d1029a6ed6afe939a55401166e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.runStreaming (cognitive 76): TranscribeCommand.runStreaming has cognitive complexity 76 (threshold 15). Drivers by points: if/else 16 (37 pts), loops 7 (25 pts), ternaries 3 (9 pts), match/switch 1 (3 pts), boolean chains 1, error handling 1 (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/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b83a5e798f0de6b3fbd1b2eaa62f3d8e9e788ff26b33f4cc60c1687038e2756"}},{"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). Of this number, 70 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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\u002BSpeechSegmentation.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc176d92194ce69452fbd40215f4add762d8399ddd45716b38a6e35434d5db5"}},{"ruleId":"D2","level":"warning","message":{"text":"SlidingWindowAsrManager.processWindow (cognitive 72): SlidingWindowAsrManager.processWindow has cognitive complexity 72 (threshold 15). Drivers by points: if/else 17 (43 pts), ternaries 5 (16 pts), boolean chains 8, loops 1 (4 pts), error handling 1 (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/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d3bb7332525de9b74ae4ce78d76222ccf59e1649c3bf171d2c8d34bcfe4644"}},{"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":25}}}],"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":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5c59097821af271d471bc5161e37484b69b8f9e62d22744ef10526abdec4cf"}},{"ruleId":"D2","level":"warning","message":{"text":"CanaryTranscribeCommand.run (cognitive 70): CanaryTranscribeCommand.run has cognitive complexity 70 (threshold 15). Drivers by points: if/else 26 (55 pts), boolean chains 7, ternaries 2 (4 pts), match/switch 1 (2 pts), error handling 1, loops 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/CanaryTranscribeCommand.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"043208b56a8626dc1abc175056c7e35d6ac3596c6a13f5e1d15a34662e312cea"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.rescoreWithConstrainedCTCWordCentric (cognitive 69): VocabularyRescorer.rescoreWithConstrainedCTCWordCentric has cognitive complexity 69 (threshold 15). Drivers by points: if/else 19 (49 pts), ternaries 4 (10 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its 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\u002BTokenRescoring.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4097b8e1b4c3eb84eb52be02b443f5993aff3b407f5733f5ad6035e381eff693"}},{"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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f059656e65792850deee8b2bd4cb7f5ca5bf1f900ef64445038dddbf8f6d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereBenchmark.run (cognitive 65): CohereBenchmark.run has cognitive complexity 65 (threshold 15). Drivers by points: if/else 22 (51 pts), boolean chains 8, match/switch 2 (4 pts), error handling 1, loops 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7c14a3cd2e8a28c2af077e268df892f807ca4c4bac0b8280c1a15b98b1e007"}},{"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":66}}}],"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":870}}}],"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":"ChunkProcessor.repairSeamGaps (cognitive 57): ChunkProcessor.repairSeamGaps has cognitive complexity 57 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 6 (12 pts), ternaries 4 (10 pts), boolean chains 3 (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/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b321cc76b6f72f871c212355dab5e0ac9812afe02d45e299b84f5fa4b0ed16"}},{"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). Of this number, 53 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa35186e8fa00487849cc6431c42c9739a0a993e7401e4b41306223193aa4cb"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.runBatch (cognitive 54): TranscribeCommand.runBatch has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 3 (13 pts), boolean chains 6, match/switch 1 (3 pts), error handling 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b79416d88b6b97e865e37f287efcbd93901e21d9b540e059f389f4c7b1edfdb"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcDPAlgorithm.terminalStates (cognitive 53): CtcDPAlgorithm.terminalStates has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 6 (19 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcDPAlgorithm.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"71335242db1c56dd92cc99c797b543d012a8c7a8f0778470f5dba5a1dc508c04"}},{"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":41}}}],"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). Of this number, 50 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9b30429382d2c9ef0836ed9e59d65b0445d64fbe8e5c99ce473ee37a988aff"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereTranscribeCommand.run (cognitive 51): CohereTranscribeCommand.run has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (37 pts), boolean chains 7, match/switch 2 (6 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97d6f2f2fa71fca6738bd460804debc4ca2096629070cfebf3b8257edb4dc89"}},{"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":466}}}],"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":"ChunkProcessor.mergeUsingMatches (cognitive 49): ChunkProcessor.mergeUsingMatches has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 3 (9 pts), ternaries 4 (9 pts), boolean chains 7 (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/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"224f0f347c701fe8ac4eddeea73cb22aa6b8fc6b2c8dba26b74cf8c641f56ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronAsrManager.processChunk (cognitive 49): StreamingNemotronAsrManager.processChunk has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 14, loops 3 (5 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/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba06aeadcfb55c7614598341dca9bd335ec883ae6d21541f93c3c35e9d9002e"}},{"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":287}}}],"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":23}}}],"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":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be4bb3a1639602c4a2283a60de71906c886b36ea65062b21c3e87baddafb1a6"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenLanguageFilter.matches (cognitive 48): TokenLanguageFilter.matches has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 24, if/else 11 (23 pts), match/switch 1 (nesting depth added 12). 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":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee0b2cd808d7190741412ffce7152013f2263eade3b853895a3ccf8c8e2392d"}},{"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":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d2ab7f236d9585020ff806b45a5a3d26357359f1797eba9abaf46c03d9ed6a"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineEmbeddingExtractor.extractEmbeddings::processChunk (cognitive 45): OfflineEmbeddingExtractor.extractEmbeddings::processChunk has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (33 pts), loops 4 (9 pts), boolean chains 3 (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. This shape REPEATS in the file: one other method here (OfflineEmbeddingExtractor.extractEmbeddings) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9754cbfe45b59005f8c45cbea8bd957c8db9c869a7d46a805307e51ab9b75c"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2P.phonemizeTracingPunctuation (cognitive 45): MandarinG2P.phonemizeTracingPunctuation has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 9, loops 3 (5 pts), error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 19). Of this number, 34 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c379b7b8da96923ae8c259b59849b3196ae1c240176611c77db68baa2fb7899"}},{"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). Of this number, 42 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/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":"AsrManager.transcribeChunk (cognitive 44): AsrManager.transcribeChunk has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 14, ternaries 5 (10 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/TDT/AsrManager\u002BTranscription.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"b312fa4890ede2e7b0791a115eb58c11359250fcad989da40ad2ec116fe6ca69"}},{"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":"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":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd101deb5c124d896ffe210589f2b11aa5631acca9c9ca7aae478421e1d02f11"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioManager.synthesize (cognitive 42): LFM3AudioManager.synthesize has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LFM3Audio/LFM3AudioManager\u002BSpeech.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"116bf2102f8ade3fa48ac99368f45290e132ba87b4de1c69e4c270463b383296"}},{"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/JapaneseDatasetDownloader.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4685670523dd97e9c1838663de64a51397ee8b80e5b3c1215e743e5ec7bfd1fb"}},{"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":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e638c2c9941afeef966f3056e4e898eb7781566609bac9e4d6e67ca6dd68a5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAneV3Pipeline.run (cognitive 41): KokoroAneV3Pipeline.run has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 4 (10 pts), boolean chains 6, loops 1 (nesting depth added 11). Of this number, 33 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aef7b6e14aca155d34f4da0150904a1dad0aca6ec0b30608ffc65af6a5e3e2e"}},{"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":624}}}],"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":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7892d639d65b604583353c4c9051c78eabe381941c8a17674bd8d0dceb41ce"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.collectSpotterAnchoredCandidates (cognitive 41): VocabularyRescorer.collectSpotterAnchoredCandidates has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 3, loops 2 (3 pts), ternaries 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/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"610d5bc5a7e5284ade335044930d895f7937a2df9dbe4563b3a1aa350115ae80"}},{"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/JapaneseDatasetDownloader.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e88f60774e62245a5525180599bd6e21c9a6bc192bffd343386cd92bc85581"}},{"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":240}}}],"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":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9ef938868041e7616544b35dec00533c2a96d1aa41b933af0ba37f2cc6d30d"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSynthesizer.clauseParts (cognitive 39): PocketTtsSynthesizer.clauseParts has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 9, loops 1 (nesting depth added 15). Of this number, 35 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b9ed0741e7b532dba14ab9e8a1352b6cbadf137905fc283d5bce043d4a6022"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.loadModels (cognitive 39): StreamingNemotronMultilingualAsrManager.loadModels has cognitive complexity 39 (threshold 15). Drivers by points: if/else 26 (29 pts), boolean chains 10 (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":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26927c3c4ed431cd94c6c7557c1becd13100b0174ae5f04579858d5a52ac2bf"}},{"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":231}}}],"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":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"532a2d6bc4f9a40810c4ef16391732eeac9d4cfaf9264fc432b508fbed58731f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.process (cognitive 38): ChunkProcessor.process has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 5 (9 pts), boolean chains 8, loops 3 (4 pts) (nesting depth added 10). Of this number, 36 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df5136203082ef41d3e16e27fb86b4791f775ee049ea2a9660528917bd49edb"}},{"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":1170}}}],"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":291}}}],"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":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1e2e2b5800627e64ad0915886b33e2c8041ecb694584cbca90b0c4f7d4d2b9"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.evaluateCTCMatch (cognitive 37): VocabularyRescorer.evaluateCTCMatch has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 13 (18 pts), if/else 8 (13 pts), boolean chains 6 (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/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1023e5fa62efb50afe6ade2dea6ab155275d6789f55d4ea04216f0b6efb9ed"}},{"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":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c1e4d7284f8191f59d9711487b2ee0127dcf29f92851576f3d2cfbc0c83869"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2P.segment (cognitive 36): MandarinG2P.segment has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 5 (11 pts), boolean chains 5, ternaries 1 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MandarinG2P.segment::flushHanziRun) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"26163d286df1be6451fc0560cf29a9f89b2c18b74d0968d028f85174988890c6"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingUnifiedAsrManager.processWindow (cognitive 35): StreamingUnifiedAsrManager.processWindow has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a9c9e0ea04230c3c0ff51d889c93896ab93754bc543bfc51db4d548ce80f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParadeeG2P.prepare (cognitive 35): ParadeeG2P.prepare has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 14, if/else 6 (12 pts), loops 4 (5 pts), match/switch 1 (2 pts), 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/TTS/Paradee/G2P/ParadeeG2P.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b044d93731ec0b2be9abe97627d1f2e3ede6646cb89c0acece9e10cf4f042f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"NemotronMultilingualTranscribe.run (cognitive 35): NemotronMultilingualTranscribe.run has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 3 (10 pts), loops 2 (6 pts), error handling 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddf767e38cffaa7482a3cb706686731092e6e5d8937e835c4d9db8ffaefee1c"}},{"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":"HFTreeLister.listTree (cognitive 34): HFTreeLister.listTree has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (24 pts), ternaries 3 (6 pts), loops 2 (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/FluidAudio/Shared/Download/HFTreeLister.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bc6168373f5f54d4ca7d9f82d7effaaa929539f30fa8e1b9128fb2f3522294"}},{"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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"013dbec23fd59f6c60c7c4eeee1f6f72ca625528ed2cc7a44845dfbe3bb165d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.spliceCandidate (cognitive 34): ChunkProcessor.spliceCandidate has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 15, if/else 8 (10 pts), loops 7, ternaries 1 (2 pts) (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 14 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec119eb11a6c592e6617a005d82765caa24223f7e4975258bd63ff9940e8df2"}},{"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":310}}}],"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":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"126c509422349abd0a8a6b3770ec9cbe06eeda92a0631fdaef32feb68f1ad3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineEmbeddingExtractor.extractEmbeddings (cognitive 33): OfflineEmbeddingExtractor.extractEmbeddings has cognitive complexity 33 (threshold 15). Drivers by points: if/else 38 (57 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. This shape REPEATS in the file: one other method here (OfflineEmbeddingExtractor.extractEmbeddings::processChunk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7504c7f351a9c07c465ba87aacec307351fc7449a8bc21656cacb008e2bae3a4"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.buildWordTimings (cognitive 33): VocabularyRescorer.buildWordTimings has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 4 (12 pts), boolean chains 4, 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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45689b940786c3a464bd5e1765ea86ee09e1dedd6edb3b49e73cd6592f970ea"}},{"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":"AudioConverter.convertFile (cognitive 32): AudioConverter.convertFile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5, loops 2 (3 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/Shared/AudioConverter.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"777947c5a5c5eef1aed6b9eccde22139c8d978286d039979c0dab40daaf5a62c"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSynthesizer.splitAtWordBoundaries (cognitive 32): PocketTtsSynthesizer.splitAtWordBoundaries has cognitive complexity 32 (threshold 15). Drivers by points: loops 8 (14 pts), boolean chains 9, if/else 6 (9 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/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"265b2222000950bfc3639926367fe3b522f076dccb44465688f55a92f93c3977"}},{"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":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"516ec3e579ac973dce29416e59e43ee6f2b8e1b9b4e8629a899e5695b43b4504"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2pwModel.disambiguate (cognitive 32): MandarinG2pwModel.disambiguate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2pwModel.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b71c3be2d6162c0e52a001d6566c0c811432e1fef6efd5f406869a7227f26f3"}},{"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":65}}}],"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":332}}}],"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). Of this number, 29 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6026e6b074ec404c7313a1be65e91f8a1f70e504f1b2d1bd5c3ff09241c3cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSmallEngine.generateDecodeFrame (cognitive 31): PocketTtsSmallEngine.generateDecodeFrame has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 5 (8 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"658254946aa85ab805de828e48b39b68c89dba4cda43c49c70c0a8e5ee6f4643"}},{"ruleId":"D2","level":"warning","message":{"text":"SentencePieceTokenizer.viterbiDecode (cognitive 31): SentencePieceTokenizer.viterbiDecode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 3 (4 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/TTS/PocketTTS/Tokenizer/SentencePieceTokenizer.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a683f229bdca9d69424658242425beeb15c6dc6073a5d61dafc75a6c23928405"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrModels.load (cognitive 31): AsrModels.load has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (22 pts), error handling 1 (3 pts), ternaries 2 (3 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e44c632b247bb2c46b2c991779cb84c1da7691f4877c93a6daaffece06ff0f3"}},{"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\u002BUtilities.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"278622e603303d8dbb7de1d86845eae0c99c79b4f585f930c6be4aa207025b69"}},{"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":970}}}],"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":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fefc6d420285a3aa1f9731f06d0d4547d4d8fe3945012c7f62bbf68b29a357"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelHub.repoIncludeRule (cognitive 30): ModelHub.repoIncludeRule has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 20, if/else 6 (10 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":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a52538cce9024c088f91a36db6ba80e293e28253c7c0227452b9695df9a07a"}},{"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":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc1e9aa2c965f37745421b6205a2847d02beee2987b2883dec327ddd1793675"}},{"ruleId":"D2","level":"warning","message":{"text":"SentencePieceProto.parsePiece (cognitive 30): SentencePieceProto.parsePiece has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (27 pts), match/switch 1 (2 pts), 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/FluidAudio/TTS/PocketTTS/Tokenizer/SentencePieceProto.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba2ade0e8592110174ae346ac3ff2cc3227d65175fe87d944a630f4147c64a0"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.arbitratePendingReplacements (cognitive 30): VocabularyRescorer.arbitratePendingReplacements has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 10). Of this number, 23 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5b925cdd27471de3849dcd7a231a9e459b3a6cf8bf11ed8cf323fe528a344"}},{"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":1123}}}],"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":"NemotronMultilingualTranscribe.run (cognitive 30): NemotronMultilingualTranscribe.run has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 3, 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":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"16332fa88a8981d55b4aba73df3b1001ef85e04b6b64f13a0f415bd44f53116c"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioConverter.streamResample (cognitive 29): AudioConverter.streamResample has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 3 (5 pts), boolean chains 2, 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/Shared/AudioConverter.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0356d450c2b12d93a831de941395054984209bdf7a88c71614f2770ed3441d"}},{"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":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"19350e8460c92f5b4cad8e4b0b84b738d91c77b281848b9ffeb856c9fb27bc96"}},{"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":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cacc40a61859eac19009eb6774a014844fc1a697f8f6be55264e4c014ab984"}},{"ruleId":"D2","level":"warning","message":{"text":"ParadeeG2P.phonemize (cognitive 29): ParadeeG2P.phonemize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (10 pts), loops 3 (5 pts), boolean chains 1, match/switch 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/Paradee/G2P/ParadeeG2P.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f3fbca4bc9f3a3f9d1388733e8c0b604f4615cdce30f24a12776968b5f476f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.planWindows (cognitive 29): ChunkProcessor.planWindows has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (11 pts), boolean chains 5, 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/ChunkProcessor.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"929f9eceef5b23518167acf6bf51aa041613486b3b32bbd3e31c32552a1d2287"}},{"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). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1184}}}],"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":1418}}}],"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":"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":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"809a9683a864eeff5d2824a7f45a51394ac4d6fa08f6ce74549c3f12032a850c"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioTokenizer.init (cognitive 28): LFM3AudioTokenizer.init has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 7 (10 pts), boolean chains 5 (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/LFM3Audio/LFM3AudioTokenizer.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70322ca74f8bbbd6efef22f7534192c7f12bd4203e6d0ffa303bbc46d9f4ae2"}},{"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":482}}}],"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":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbc6cbaaada4cfa7fc17713e25f2ace443fc02a50344dc11d78f88afd1a45e4"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSynthesizer.splitSentences (cognitive 28): PocketTtsSynthesizer.splitSentences has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7adab835642ba24e463c52b25ef4dd4a904510a9b5054dc8c9364addba7e3f2"}},{"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\u002BInference.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3458e5be10154919659b8547ca7dfb1f8e477e5b145b55e450b70a5db89bde91"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioModels.load (cognitive 27): LFM3AudioModels.load has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (6 pts), boolean chains 1, match/switch 1, ternaries 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/LFM3Audio/LFM3AudioModels.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc028ebdebfbf63297492f2c7d61f628caa10806e9607d9f04b0815387d15de"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeakerUtilities.cleanEmbeddingsBySpeaker (cognitive 27): SpeakerUtilities.cleanEmbeddingsBySpeaker has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 6 (9 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/Diarizer/Clustering/SpeakerOperations.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9c9f0027aabb922c510365e34b0e9b35fb42913b3c546711fe95455497aeab"}},{"ruleId":"D2","level":"warning","message":{"text":"DiarizerManager.processChunkWithSpeakerTracking (cognitive 27): DiarizerManager.processChunkWithSpeakerTracking has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 4 (6 pts), ternaries 2 (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/Diarizer/Core/DiarizerManager.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ec66ccba2e4f395e59e6baa255c546518ae6bfad6047455309dc9a36746d6e"}},{"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":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea466ba3a682aeb8c5b9a9f72498282e9af6486d7be21901172a7209831d4a1c"}},{"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":443}}}],"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":119}}}],"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). Of this number, 23 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"KokoroAneV3Assets.baseIndex (cognitive 26): KokoroAneV3Assets.baseIndex has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 8, loops 2 (3 pts), ternaries 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/KokoroAne/V3/KokoroAneV3Assets.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc304eb88dd98195e3775ed293c854817cdf5c2576e00540e1213cbcf2286cd"}},{"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":162}}}],"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":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ee74c186c71a44cbbb3243a670797e79fb0d2d42381022c8015be652e3e35"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSmallConstants.loadVoice (cognitive 26): PocketTtsSmallConstants.loadVoice has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 10, 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/Small/PocketTtsSmallModel.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9c903aafac4cdc2ef44007fd093d6917c37d0794efe86fc91a80012dfc1090"}},{"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":146}}}],"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":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0558397b56754833989d3ffd08b937743871a8045be91819c114b593674a24b"}},{"ruleId":"D2","level":"warning","message":{"text":"BLEUCalculator.corpusBLEU (cognitive 26): BLEUCalculator.corpusBLEU has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 5 (11 pts), boolean chains 2, ternaries 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/Utils/BLEUCalculator.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e36bc7bf3c003f0a439b4bac18c97b94b384f32b49418d565bdd17355087e8"}},{"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":"Nemotron35TranscribeCommand.run (cognitive 26): Nemotron35TranscribeCommand.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 2 (4 pts), match/switch 1 (2 pts), error handling 1, loops 1 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Nemotron35TranscribeCommand.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"21602fcd29bb400766c95c21f3dfa319c0f87a4f81fc2f5082d6bd4f0069669a"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscribeCommand.runUnified (cognitive 26): TranscribeCommand.runUnified has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 2 (4 pts), loops 1 (3 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac9213e80525960a2b913613e7446ab3017432398994f002154ea38439b43a4"}},{"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":1137}}}],"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":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"86597ab35c8a1394d20da0da2c0858445b8e0f7d269f77bafa7057c62dda8c47"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextRewriter.numberWords (cognitive 25): PhononTextRewriter.numberWords has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/PocketTTS/Phonon/PhononTextRewriter\u002BNumbers.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"541f7c83cd73d7f01df362c21f12b587af882467dd75e610fac29e46a14d15b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChunkProcessor.silenceAlignedChunkStarts (cognitive 25): ChunkProcessor.silenceAlignedChunkStarts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (7 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/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5189732fa3be0dee019eae0cbd4139743082742955d3fbb023bc0d855925137"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.protectedSearchWindow (cognitive 25): VocabularyRescorer.protectedSearchWindow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BSpanProtection.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d9847e278d4c75b3d88f013f6029a0e3dcdace202cd6963fc1cdd18c1de685"}},{"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":"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":63}}}],"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":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc4b12423b91b26868c4e59527d2d6d5cbd9273852aac09f4b7231535e96486"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioDepthDecoder.sample (cognitive 24): LFM3AudioDepthDecoder.sample has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (7 pts), loops 3 (4 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/TTS/LFM3Audio/LFM3AudioDepthDecoder.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db86ebb3ad83c12113c27f1ace78045874c1c1937e38acfbeb6d957ed14d0dd"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAneV3Pipeline.init (cognitive 24): KokoroAneV3Pipeline.init has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 pts), error handling 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 2 function items inside it that branch (open, buckets). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10f841aa0f6c44715e0529ce5b70bdf2bcc4f1c2102b4616c2d51ae110ea402"}},{"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":732}}}],"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":340}}}],"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":"AsrManager.runInference (cognitive 24): AsrManager.runInference has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 3 (4 pts), loops 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BPipeline.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6e6c4ab70343fc0d2d1466e610c3cc377ae9e8521c9be63eef46b30553951b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsrManager.unspacedKeptCopyCount (cognitive 24): AsrManager.unspacedKeptCopyCount has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (10 pts), loops 1 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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\u002BTranscription.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"626aba7f00bc6fd681f58fac0397e858d4855263266ddf2daebeed0a16e6ca4c"}},{"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":61}}}],"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":"SenseVoiceTranscribeCommand.run (cognitive 24): SenseVoiceTranscribeCommand.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 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/ASR/SenseVoiceTranscribeCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9751037ba857fdaad7bc18a69d61219b7d03206dd089461d80c2a340bfde7346"}},{"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":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c4132791e95924cb10f418f56ce769983b42c6bb64df30e880a2b6ba5abeb7"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineSegmentationProcessor.process::populateWindow (cognitive 23): OfflineSegmentationProcessor.process::populateWindow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 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. This shape REPEATS in the file: one other method here (OfflineSegmentationProcessor.process) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"de710b736fb9171965b2b2362f0cac070a7fe5c0d1a5a60e8219d949e507458f"}},{"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":183}}}],"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":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d18d869801d48fe62449f0d5439beb2afaefd8335395ab41155915e2e4921"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSmallEngine.init (cognitive 23): PocketTtsSmallEngine.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 12). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/PocketTTS/Small/PocketTtsSmallEngine.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff495ab43cf5dd8a73dff762dd2f17d4d7a5ab231475d81497e08da4297d74a7"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingNemotronMultilingualAsrManager.downloadVariant (cognitive 23): StreamingNemotronMultilingualAsrManager.downloadVariant has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 5 (6 pts), boolean chains 5, error handling 2 (5 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/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d83957e43e01325cc62a7dc7cfa817ee96ebf2197ea9ff24f66222de99dc47"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinBopomofoMap.encode (cognitive 23): MandarinBopomofoMap.encode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, 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":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9b9171863ad734ecd8271c1b57b3de78b8ec4a1b24ca9fc3bbdafe0a67d5bd"}},{"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":81}}}],"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":33}}}],"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":553}}}],"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":"NemotronTranscribeLiteSpeakers.assign (cognitive 22): NemotronTranscribeLiteSpeakers.assign has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/NemotronTranscribeLite/NemotronTranscribeLiteSpeakers.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d34be3428cb00b66148bfcb8e8593b1e98612af51b3a1e84099ccda2391c4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCache.adoptLegacyCache (cognitive 22): ModelCache.adoptLegacyCache has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5, ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/Download/ModelCache.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b826e8d6a49f49b0cf2121d6504f488f8c8cacae5ec0eae075a5b126264ce02"}},{"ruleId":"D2","level":"warning","message":{"text":"SlidingWindowTokenCursor.next (cognitive 22): SlidingWindowTokenCursor.next has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 21, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowTokenUpdate.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ae6d9ad3b00b0b15a2eb17d15a09a8d2fc39b93eed8ae1f2be6439d6730a82"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineDiarizerConfig.validate (cognitive 22): OfflineDiarizerConfig.validate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, 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":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf673fc8ceac5d0a8f15f5b79c0acd3adf2ee39ce99d26d84e7a89f8e164c10"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextRewriter.urls (cognitive 22): PhononTextRewriter.urls has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 9, loops 2 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/TTS/PocketTTS/Phonon/PhononTextRewriter.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"524f419f37eed79ab2edcb3f4295b38c72f4ebb80905ac8901556245770ab08a"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextRewriter.range (cognitive 22): PhononTextRewriter.range has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (8 pts) (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter\u002BNumbers.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b69f16e6c7c0b443540ebdd7f0478cc76bc29829c3f622ecbf38d92d519377"}},{"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":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b880618b7c0f314bce81727d7e46e562cefc5a2f02760b2aee0360728cc32c"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinBopomofoMap.decode (cognitive 22): MandarinBopomofoMap.decode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, match/switch 2 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinBopomofoMap.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"310e8b016cb162a7a468c1407c5faff55d5174ca54fc83a63f11c7edbcff622f"}},{"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":631}}}],"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":"BLEUCalculator.tokenize (cognitive 22): BLEUCalculator.tokenize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 1 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/BLEUCalculator.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c8799047cb452c707d70202d81a0ec3dbeacea6e2da035adf3d7a01490c335"}},{"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":"PcmWavLayout.parse (cognitive 21): PcmWavLayout.parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 7, 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/AudioSampleSource.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"356bcd1ffa5a48ffa007e6f1d82fed93d3cee49608aa672c9994743db6828f83"}},{"ruleId":"D2","level":"warning","message":{"text":"CoherePipeline.decodeCacheExternal (cognitive 21): CoherePipeline.decodeCacheExternal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (6 pts), boolean chains 2, 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":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4accee3d225d662cf98e4674e6bd9298c78fcdc10320323ceff629694e20b8"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioEncoderPlanner.makeCall (cognitive 21): LFM3AudioEncoderPlanner.makeCall has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (8 pts), ternaries 2 (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/ASR/LFM3Audio/LFM3AudioEncoder.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3705ff1157e40ef7ebb4b83e692d2805c5d878fb8a6c533a418c5c40db8dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioRows.write (cognitive 21): LFM3AudioRows.write has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioLanguageModel.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0735869ebcc675f5ead642a041fcde0d6ede132302ca43161577953412c3b42e"}},{"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":559}}}],"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":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"246ad75fa2e9666b71c14db4f84db5279910279d52bc0c7d5551faef1868cf94"}},{"ruleId":"D2","level":"warning","message":{"text":"PhonemeChunker.chunkRanges (cognitive 21): PhonemeChunker.chunkRanges has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 6 (8 pts), boolean chains 5 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Shared/PhonemeChunker.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6655ea6d592c6068e7682b901892047b89e09fbc666d7838310b83c0e3debae3"}},{"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":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8becfef33978f98ce0cd40bfb6d32900b20a8b04b09e1208f232a1bc5937ea7a"}},{"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":27}}}],"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":35}}}],"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":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f23ef0960a0a035feab41365cc786a63932876483cd1e98e2e1e2999811bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSmallSession.generateChunk (cognitive 21): PocketTtsSmallSession.generateChunk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallSession.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fcb557f7969f271b2df78169b1d8d8b30dac11981cb551c63252846ec31a3f"}},{"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\u002BBlankRescue.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9993bbc5c3a462c5c71656b7c7500cb400be75d04c54d4b295c4bef09faa640f"}},{"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":52}}}],"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":175}}}],"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":"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":283}}}],"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":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e4e0c87bc9fbb1b352855f63d21d0297dc7fe30954f874e591e25fec5ed970"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextRewriter.digitRun (cognitive 20): PhononTextRewriter.digitRun has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (7 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/PocketTTS/Phonon/PhononTextRewriter\u002BNumbers.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"57225108de883ba4f6b2f12fb3b827e32a0728da7afa488ce65635641c1ae51b"}},{"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":943}}}],"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/NemotronVocabularyBias.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e038f58f53771108f0bf7c4467e8509a6206ade07a2127c67b672545fed4c"}},{"ruleId":"D2","level":"warning","message":{"text":"MisakiBritishFallback.fromAmerican (cognitive 20): MisakiBritishFallback.fromAmerican has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/English/MisakiBritishFallback.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"774eea320b1650e4eaf91eb7870f7433766c30fedbfdc6ea7a31c8e0158764f7"}},{"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":476}}}],"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":"CoherePipeline.mergeTokenStreams (cognitive 19): CoherePipeline.mergeTokenStreams has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 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/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dde9955bdb2f50d38303462cedacb17b2a017ec352391f29b8c4cb43bd2270"}},{"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":295}}}],"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":304}}}],"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":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0591a76d2c6103e31e71668b43eb4745671248a024e7b88eb49d1879ab3882fd"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAneV3NativeSource.waveform (cognitive 19): KokoroAneV3NativeSource.waveform has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (13 pts), ternaries 1 (3 pts), boolean chains 2, if/else 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3NativeSource.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea71fb15fd8a7186121afd8f5edbb5152b83f81eb52d4c2429174e23b796f90"}},{"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":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"855af69cef751dddfd96dceeb80f22636b3770ac93b05987c33987a3ddca105a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParadeeG2P.predictBatch (cognitive 19): ParadeeG2P.predictBatch has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 2 (8 pts), loops 3 (7 pts), error handling 2, if/else 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/FluidAudio/TTS/Paradee/G2P/ParadeeG2P.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e6d0842bf8cb3504fc55c4cf51a54c1f1f8404160b7907510d6e76514ca320"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextRewriter.emails (cognitive 19): PhononTextRewriter.emails has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, loops 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"521c25184f1754b6f70e7b59843b5726ba5ce5346e9414f03a22c5e63b9fee2c"}},{"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":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de857ef776798d5c593dba62134ed8566bd24c83445d68ca79ca6616d6f7a9b"}},{"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":"ChunkProcessor.mergeChunks (cognitive 19): ChunkProcessor.mergeChunks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e58cc46424271e6874f8bb0126baf7faafa5df07bd305cd0d8ab0021b19ae7"}},{"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\u002BShared.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7298223804f121810002964e7c1771ed99eab34040d184e24c5bc5fd3e0c09dc"}},{"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":80}}}],"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":79}}}],"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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2eb3710867eb547fbde93df53a2c556d4235d6439724956933f77985ebda62"}},{"ruleId":"D2","level":"warning","message":{"text":"CtcKeywordSpotter.makeLogProbs (cognitive 19): CtcKeywordSpotter.makeLogProbs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, ternaries 3 (4 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter\u002BInference.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d9d15829d5c37ebf72463472485e4815c47028d08e53ad0acb719cb07058d7"}},{"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":674}}}],"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":702}}}],"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":"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":"ModelHub.loadWithRecovery (cognitive 18): ModelHub.loadWithRecovery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e21da4a84a9cc52885490a50027503051efd4453e1b010b0889c5bef88310e7"}},{"ruleId":"D2","level":"warning","message":{"text":"SlidingWindowAsrManager.finish (cognitive 18): SlidingWindowAsrManager.finish has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b7e755c3793d8cc8f57b2d5ece982a70ff3e8e684aeaea02b8d540142ad0d3"}},{"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":339}}}],"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":194}}}],"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":33}}}],"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":137}}}],"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":188}}}],"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). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":392}}}],"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":101}}}],"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":"LFM3AudioCommand.speak (cognitive 18): LFM3AudioCommand.speak has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6 (7 pts), boolean chains 1, 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/LFM3AudioCommand.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6443469d52ee20806b62f414b38fd192afa445aac20197d99687fa6849500bcf"}},{"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":"LFM3AudioManager.transcribeLiveChunk (cognitive 17): LFM3AudioManager.transcribeLiveChunk has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), ternaries 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioManager.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9126ea2d5874f7b044d6ab95f507f3a2cbb50ce8b4ed43c5a2c2af120fdc5df"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioTokenizer.bpe (cognitive 17): LFM3AudioTokenizer.bpe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), boolean chains 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/ASR/LFM3Audio/LFM3AudioTokenizer.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"de744425aafee2b441169c1501bfc374a5816f6b54f77ab885bbfef4c7596b8c"}},{"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":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d5841c0dfea9d5e44921ef0c37e274c4363d648589c8137bbba33641559f78"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioDepthDecoder.kthLargest (cognitive 17): LFM3AudioDepthDecoder.kthLargest has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 5 (8 pts) (nesting depth added 8). 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/LFM3Audio/LFM3AudioDepthDecoder.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f918206e11106452649809c23bc815fdbc64f4a2fd77427855d98f9f82dda"}},{"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":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd4d09e38ae450d0f9c7d4514a3f8ec1280b0782efe8728be8440681f99a5d0"}},{"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":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"991def132d5e5a09dcf389a1ba5fd4db17894be471890f82ad34c307a2d6f670"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAneV3Assets.ensure (cognitive 17): KokoroAneV3Assets.ensure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 2, match/switch 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Assets.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2008d895f26a6a2210681f5dc2df4bcac9e7bd1b26c9d212bb4be65441edaec"}},{"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":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d337a84e010aa85706d0abd2a08c6a453c670f0cc5bf2263cbd043551967ca"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextRewriter.elongations (cognitive 17): PhononTextRewriter.elongations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"45810311ed349309171edcade9e185f6ecc9d97fcc0f6942c86d6e3eb56d0165"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSynthesizer.splitOversizedSentence (cognitive 17): PocketTtsSynthesizer.splitOversizedSentence has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (5 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44fa924f4803c440c52d86310e82ddb48c28920c41e48cb07c4fe4b41bfc04a"}},{"ruleId":"D2","level":"warning","message":{"text":"SentencePieceProto.parseModel (cognitive 17): SentencePieceProto.parseModel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 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":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3faf2a3fe2aa2ab76aeaf45ceae0f2269edc36a934ad4885a2c80cad0e3d52e"}},{"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":614}}}],"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":132}}}],"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":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3a166386a2da35faf7b36936a54c7cb606f1e06935cbe70635ddb13e26e85c"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2P.segment::flushHanziRun (cognitive 17): MandarinG2P.segment::flushHanziRun has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MandarinG2P.segment) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2249a9ba8a81ae5b2880f1e71f19b665f42fd25db2f37c8e8b8001d3ab8a4c"}},{"ruleId":"D2","level":"warning","message":{"text":"MainlandBins.init (cognitive 17): MainlandBins.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 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/Mandarin/MandarinG2pwModel.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3b84f885b2c543150002f6bea765f6c97b0a91d22dc2b6a255bb5425694462"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.recognizedVocabularySpans (cognitive 17): VocabularyRescorer.recognizedVocabularySpans has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 3 (6 pts), boolean chains 3, 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/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BSpanProtection.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"30632cb28635c825d14be24181dc6059e86bab573dfa02febdf6035f0daf1e76"}},{"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":"LFM3AudioCommand.benchmark (cognitive 17): LFM3AudioCommand.benchmark has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 2 (4 pts), ternaries 2 (3 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/FluidAudioCLI/Commands/ASR/LFM3AudioCommand.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"93584675c71819a7ca06bdac72dea82e962f7e93952da5c8d715e40769cb59bb"}},{"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":808}}}],"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":"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":347}}}],"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":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd38a1080c59d38bc6e1f71b520ead245cf28e7b7611f2b143e7c6516008fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"LFM3AudioCoreMLBackbone.call (cognitive 16): LFM3AudioCoreMLBackbone.call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioCoreMLBackbone.swift"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea09dacdb353e4aafea3829cd06dbdb34e327a07cb75f9381ee3e882aec55fc1"}},{"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":"LFM3AudioOverlapAdd.add (cognitive 16): LFM3AudioOverlapAdd.add has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LFM3Audio/LFM3AudioCodec.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"755cfc6971aa8f648db1aab675163f52b8d26a1e4dcdbf917ff6154d44df226a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParadeeManager.ensurePhonemizer (cognitive 16): ParadeeManager.ensurePhonemizer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (6 pts), boolean chains 2, 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/FluidAudio/TTS/Paradee/ParadeeManager.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a69121c9946929208568b1b484986c1b07583216e765a83f9ebe72b44fe6c37"}},{"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":28}}}],"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":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"208aa6b600a3dfce62fabaf10bbd3a06a745f76c9d2d89d0ac6887efe59fdd70"}},{"ruleId":"D2","level":"warning","message":{"text":"KokoroAnePauses.spans (cognitive 16): KokoroAnePauses.spans has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAnePauses.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50ca7b41ca25a527a2260be6913ad95d52bfb7fa0c8d91fb1a9b7c081858798"}},{"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":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a961c83bec20a8be28f5b0dc928b363c915e3a88b7e9dbca43a72388aa04394"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextChunker.splitIntoBestSentences (cognitive 16): PhononTextChunker.splitIntoBestSentences has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), 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/TTS/PocketTTS/Phonon/PhononTextChunker.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8aa418bb988a2f9e90adab89c087f1e54ce6b2d9a462eb81e0afe46dd54d01"}},{"ruleId":"D2","level":"warning","message":{"text":"PhononTextRewriter.dashedDigits (cognitive 16): PhononTextRewriter.dashedDigits has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextRewriter.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"431cad0f2e0d145dd834ca9ab91b7d96b38e124c288783214bd53ac0db3ebf12"}},{"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":83}}}],"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":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"851d31308644062c6da649cf38dcfd10ccc54508b75759270bc22d81173ec57f"}},{"ruleId":"D2","level":"warning","message":{"text":"PocketTtsSmallSession.generateLoop (cognitive 16): PocketTtsSmallSession.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/Small/PocketTtsSmallSession.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ebd9ea93d6ac2b1e45fb34d7168235214ce2e67f24862d361b5b76e9901b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"MandarinG2P.normalizeTracingPunctuation (cognitive 16): MandarinG2P.normalizeTracingPunctuation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eee2ee04e8ae0005979bc45e85d3c0510efc610c45fbb9a4d5c6bd7e46bade"}},{"ruleId":"D2","level":"warning","message":{"text":"VocabularyRescorer.wordIndices (cognitive 16): VocabularyRescorer.wordIndices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, 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/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb5952d67119c3a0d6b1d3940a1b711a2c7b189e9da4ead9db735b62b470a2f"}},{"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":134}}}],"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: TTS.run: MethodTooLong \u2014 run runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c21b90044be1cc4a8e4a33b598f06955ec44a254a006a9ea6f27cac6fbba79"}},{"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":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3522be82b4310e6d4ba40a870cdd5ac9b136a9386225099f7c2b60cf6d787fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TTS: ClassTooLong \u2014 1524 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 1124 over it, 3.81\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: 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":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b45915e7ebef07bb754cdea624994b78932177f93cbd5f53ecdf0f60209a24"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChunkProcessor: ClassTooLong \u2014 1386 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 986 over it, 3.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/ChunkProcessor.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7109d10391c784f5e56197a7472ad4295ef9b5a1693e12f5bc12db5fde5379d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamDiarizationBenchmark.run: MethodTooLong \u2014 run runs 343 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 243 over it, 3.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/DiarizationBenchmark.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f752ede114d1127cb2dec02a6f29d8b1ba195915f1d3806387a1b6d0113d41d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ASRBenchmark.runASRBenchmark: MethodTooLong \u2014 runASRBenchmark runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\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":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f99f856027452ad93ff4e93f7f128d68a843bf83ae1c48a3a4002e8374f226e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingNemotronMultilingualAsrManager.processChunk: MethodTooLong \u2014 processChunk runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d175807e9c2ec71c8d281a73c28a0fbd0beb287809652bbe8ec5386977857e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfflineEmbeddingExtractor.extractEmbeddings: MethodTooLong \u2014 extractEmbeddings runs 317 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 217 over it, 3.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/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d319be2c627793b9e676e902adca9e59de807a1a597294013c410c31cf2869d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TdtDecoderV3.decodeWithTimings: MethodTooLong \u2014 decodeWithTimings runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.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/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d53424ac17e5a5b60078d2530b6dde3e789c789a8254bd18a39b0ba3ff83f9e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TtsBenchmarkCommand: ClassTooLong \u2014 1233 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 833 over it, 3.08\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":"FileTooLong: Commands/TTSCommand.swift: FileTooLong \u2014 1527 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: TTS (5-1879). The bar is 500 significant lines; this is 1027 over it, 3.05\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: StreamingNemotronMultilingualAsrManager.runSpeculativeBlankDecodeV2: MethodTooLong \u2014 runSpeculativeBlankDecodeV2 runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.90\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\u002BDecode.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"297ecbe42924159a498e912d4dda728b735c374cc0cab96674f2ef302c3ba4e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmissionDelayBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.83\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":"FileTooLong: TDT/ChunkProcessor.swift: FileTooLong \u2014 1387 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ChunkProcessor (3-2231). The bar is 500 significant lines; this is 887 over it, 2.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e978da8c083a75be3ea52ecd3d4be1d38b290c8a64c416c136305e5caab0fcd1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChunkProcessor.processWithDualDecodeArbitration: MethodTooLong \u2014 processWithDualDecodeArbitration runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0a0656b234154e271c6f4219c84523312031e323860468a3147317bc399089"}},{"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":"TooManyMethods: StreamingNemotronMultilingualAsrManager: TooManyMethods \u2014 80 methods, declared across 7 files: Nemotron/StreamingNemotronMultilingualAsrManager.swift (29), Nemotron/StreamingNemotronMultilingualAsrManager\u002BBlankRescue.swift (14), Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift (13), Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift (13), \u002B3 more file(s). The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd7070c69091682eff3037a226f18e6e336cf9892ab27ae4fc19f711d5f9ba8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VocabularyRescorer.rescoreWithConstrainedCTCTermCentric: MethodTooLong \u2014 rescoreWithConstrainedCTCTermCentric runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.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/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b616a81073003d21e54b425b5d803023bea616df14b4abaf0ab30ec29521710"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CtcEarningsBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\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":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a74c8c416b2041f4f915a2a07f939414485aa339c63735bbbf730c52a5c0f60"}},{"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":"FileTooLong: FluidAudio/ModelNames.swift: FileTooLong \u2014 1273 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: ModelNames (559-2201). The bar is 500 significant lines; this is 773 over it, 2.55\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ModelNames.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57efe66d643ff9a6c174885968d2c5256abbd1827768dc7a8972b21114e91644"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StreamDiarizationBenchmark: ClassTooLong \u2014 1003 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 603 over it, 2.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/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":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d78448f18d5de45aa43ee7997f3d52f28ce58b968926c0b45b7c7acb09e38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/TtsBenchmarkCommand.swift: FileTooLong \u2014 1238 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: TtsBenchmarkCommand (33-1645). The bar is 500 significant lines; this is 738 over it, 2.48\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: 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":"ClassTooLong: PocketTtsSynthesizer: ClassTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 565 over it, 2.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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f51c3d2a8bb4e10a9d60cc0502e6d3d79faa52f404ebd18739873daff788ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TtsBenchmarkCommand.run: MethodTooLong \u2014 run runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\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":"TooManyMethods: ChunkProcessor: TooManyMethods \u2014 68 methods, declared across 2 files: TDT/ChunkProcessor.swift (65), TDT/DualDecodeArbitration.swift (3). The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce2a21dbd65daf91115157e6cda0b58775514b657d5d1a468d5774d8f0c2126"}},{"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: ModelNames: ClassTooLong \u2014 893 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 493 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ModelNames.swift"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c8cc86a1f58b6af9b33ec5b61317e03f862050caf257a49f903c7a30fc9a05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NemotronMultilingualFleursBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.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/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"488b64e9ce50f22b5541eb56a92cc46a58533fc466f113fcce836b067ae62467"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsrManager: TooManyMethods \u2014 63 methods, declared across 4 files: TDT/AsrManager\u002BTranscription.swift (28), TDT/AsrManager.swift (21), TDT/AsrManager\u002BPipeline.swift (10), TDT/AsrManager\u002BTokenProcessing.swift (4). The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ec81c35fa0a8d3878876a783558892e06ac56d2bf8b7d25aaa9d255c815ef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CtcEarningsBenchmark: ClassTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 433 over it, 2.08\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":"TooManyMethods: VocabularyRescorer: TooManyMethods \u2014 62 methods, declared across 6 files: Rescorer/VocabularyRescorer\u002BSpanProtection.swift (17), Rescorer/VocabularyRescorer\u002BTokenRescoring.swift (15), Rescorer/VocabularyRescorer\u002BUtilities.swift (15), Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift (11), \u002B2 more file(s). The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8efff068a2e2b76b73a0332e76ffe24ad7db6ea4a93693240b1c68eebe4400"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranscribeCommand: ClassTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 423 over it, 2.06\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":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a31a0253ae4477db4c7079a34f0da87e9fda5b2910923c85a1846de20cc2edd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscribeCommand.parseArguments: MethodTooLong \u2014 parseArguments runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c411322f9de267cae3ae420a2fa5000dfba45c8d7bd7c3fbd3ee82b3aeb5e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Commands/DiarizationBenchmark.swift: FileTooLong \u2014 1008 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: StreamDiarizationBenchmark (8-1424). The bar is 500 significant lines; this is 508 over it, 2.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/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":"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":"ClassTooLong: OfflineEmbeddingExtractor: ClassTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 378 over it, 1.95\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":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d6a709e419673dcaaca9bb31f4b922d1a69e75f153fe588b394fc8628d0709"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Pipeline/PocketTtsSynthesizer.swift: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: PocketTtsSynthesizer (15-1661). The bar is 500 significant lines; this is 469 over it, 1.94\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: FLEURSBenchmark.runCLI: MethodTooLong \u2014 runCLI runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.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/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d90dd376f365044ecbbb677961055f4f3a51406687c93bcb63beabb3d226bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PocketTtsSynthesizer: TooManyMethods \u2014 57 methods, declared across 5 files: Pipeline/PocketTtsSynthesizer.swift (34), Pipeline/PocketTtsSynthesizer\u002BKVCache.swift (15), Pipeline/PocketTtsSynthesizer\u002BMimi.swift (4), Pipeline/PocketTtsSynthesizer\u002BFlow.swift (2), \u002B1 more file(s). The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3779926d0edcd6a73727193ba91c2f3e89e383aa282c53182725e1a21913c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/TranscribeCommand.swift: FileTooLong \u2014 935 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: TranscribeCommand (198-1310). The bar is 500 significant lines; this is 435 over it, 1.87\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a3f8b2ed2c5af7b33d19a5f4076f713df6c49d5dfcb95b9ba977eec1a52f3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/FleursBenchmark.swift: FileTooLong \u2014 919 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 419 over it, 1.84\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":"FileTooLong: Rescorer/VocabularyRescorer\u002BTokenRescoring.swift: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 390 over it, 1.78\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/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbb4cb708b1534113583520ec7642c3cdc4f075e9a28c7a1238d1fcd284a167"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OfflineDiarizerManager: ClassTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 310 over it, 1.78\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":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aa7cb35c009ef8bb3c644d431866c8c138786634756e0158c423c76bc4e9a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChunkProcessor.process: MethodTooLong \u2014 process runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28e00ced0e3aaa013d193f9da80d4ecba1c136b377090ed80f994ef954818c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cohere/CoherePipeline.swift: FileTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 375 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88f622f873585249e9c5e3657732aee6fbf0dfca380b14bb1d656ce582643e7"}},{"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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee623e44b7f27e0d86488875d6954e078f255e865279a52be988247b8dfbc6d"}},{"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":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3639b7e1910e3813766d01d59f0253ea07d5326151d7be38ee485f8740502f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CohereBenchmark.run: MethodTooLong \u2014 run runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a546f7b45fd004d19fed622dbcac2a09034511144a0af251f8f2da38875776e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SlidingWindow/CtcEarningsBenchmark.swift: FileTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CtcEarningsBenchmark (9-1253). The bar is 500 significant lines; this is 339 over it, 1.68\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":"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: Extraction/OfflineEmbeddingExtractor.swift: FileTooLong \u2014 828 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: OfflineEmbeddingExtractor (64-1202). The bar is 500 significant lines; this is 328 over it, 1.66\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":"FileTooLong: SlidingWindow/AsrBenchmark.swift: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 303 over it, 1.61\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: TranscribeCommand.runBatch: MethodTooLong \u2014 runBatch runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7259127da687d95915200fc7f8233b2d4faeaf6828a2cfc8f564e15042fade"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SlidingWindowAsrManager.processWindow: MethodTooLong \u2014 processWindow runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b712f41b5a1f9f2c4258ea1fadade841beaafcdeb5a83d5e818d316b380185c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Diarizer/DiarizerTimeline.swift: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 282 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: TranscribeCommand.runStreaming: MethodTooLong \u2014 runStreaming runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"57efaabd04bc68db8e2a58e26edadc1ea72b4b532e35bab34f2363b24f2d55af"}},{"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":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e850e48d3a9478391d8342ab27d605ced3666fecac3be132caf7856c9899f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessCommand.parseArguments: MethodTooLong \u2014 parseArguments runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7a4fb9e8682288212a987cb31448f333114178c47ee6b0327e9b18a9f8865f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/OfflineDiarizerManager.swift: FileTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: OfflineDiarizerManager (14-1085). The bar is 500 significant lines; this is 239 over it, 1.48\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":"MethodTooLong: VocabularyRescorer.rescoreWithConstrainedCTCWordCentric: MethodTooLong \u2014 rescoreWithConstrainedCTCWordCentric runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0d8e842729cadb37fc24bce6e80cebe42cf372933caf98fb9ace0796975f50"}},{"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":"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":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc035d2e9d27782677775d755614f0a82f93105390f08c1936c8b9c2c3c68020"}},{"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: SlidingWindow/SlidingWindowAsrManager.swift: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 214 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f54b1b17305be5f9f0aa9819bcd17cc04871d9f92a3322c588bdda178286b2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingNemotronMultilingualAsrManager.loadModels: MethodTooLong \u2014 loadModels runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"871489fc99318c33c86d7364a6c97442e0c0469cc3cd67ad022ab4d560bb808c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CohereBenchmark: ClassTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 167 over it, 1.42\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":"MethodTooLong: AsrManager.transcribeChunk: MethodTooLong \u2014 transcribeChunk runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de780d6c1ac2075374436258d4caae264245682bdb6ab8926ecebef2ddd3279"}},{"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":"MethodTooLong: VocabularyRescorer.evaluateCTCMatch: MethodTooLong \u2014 evaluateCTCMatch runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48432be064466989a23faced388ca533b4693d8008b5d907119dbe474b10673"}},{"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":26}}}],"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":28}}}],"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":"ClassTooLong: SortformerDiarizer: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 134 over it, 1.34\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":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2576d5e0fc45580e1bbb1a9b24b2f9744867865c50194204b7b3b10bb62f86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTS.runKokoroAne: MethodTooLong \u2014 runKokoroAne runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3176cc8d3fdad601f384ecd0c9b4d7918c47d51e6a92996e21e6b316c2c3f946"}},{"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":202}}}],"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":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32623f850cc8e50c23bb1f2bc571cfb0b21273a64f306d51ddeb4f8db974d40"}},{"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: KokoroAneV3Pipeline.run: MethodTooLong \u2014 run runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7916a5cd18d1ae862fb12203b60aa0785d597c90ff597243232575a1b45fd7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelHub: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 103 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee9ab80a8efbe60761ffbd10b60e8823244a1dad5385c2c769a45028b7f57a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TDT/AsrModels.swift: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2198580d40353eac2ada076dbfc6e037ea3def18467401444a2e18def24797"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Streaming/NemotronMultilingualFleursBenchmark.swift: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 121 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b79442d1c6bc31f66a4bb48316f8aa7fe0761b803b563b711b826581833ba1b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AsrManager.reconcileFinalWindowSeam: MethodTooLong \u2014 reconcileFinalWindowSeam 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/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b7190276dd8c946f9c905abc64b600f853c4a4dd5114c4f019870b6d40cce7"}},{"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":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"43455b29dbb1c4dfa97494956c34563792a9489c648bd9e7ed604cac045bbb7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Repo.name: MethodTooLong \u2014 name 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/ModelNames.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57c56014e0d55117edc73b05af24be9b80cebf8edaca1c0ec300ab390337eb3"}},{"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":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"706017c727292d6060fb345f0974033f73b20f63e6cc1f0a71cd7529d9217565"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VocabularyRescorer.findCandidateTermsForWord: MethodTooLong \u2014 findCandidateTermsForWord runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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/BKTree/VocabularyRescorer\u002BCandidateMatching.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"736b29a798902dc81909117596cdefa061147686abe394f02db93faa9c90f03a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Nemotron/StreamingNemotronMultilingualAsrManager.swift: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a3ee567adb94ea324a134132323720ac10e575dcf38eb6c365440cf70cfd7d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TdtDecoderV3: ClassTooLong \u2014 478 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 78 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4c8e7ae37de4f92d19b68904e841b28fdc46479287bed7956af7f3d50a88f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Cohere/CohereBenchmark.swift: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: CohereBenchmark (12-754). The bar is 500 significant lines; this is 96 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/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce69ec4fa51326d5f5a8c40da7178b12789b909fe63af5ac2299306f701dbda3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VadManager.detectSpeechSampleRanges: MethodTooLong \u2014 detectSpeechSampleRanges runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/VAD/VadManager\u002BSpeechSegmentation.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a22abffff0a936c3c5d16cb1ec997b977c245292632760ee61a630ab2109c18"}},{"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":"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":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2488c3cb945b4aaf8e08ef855e5c94d05d7c5ade44fbcf5c21b0d6eb28e45a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelNames.getRequiredModelNames: MethodTooLong \u2014 getRequiredModelNames 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/FluidAudio/ModelNames.swift"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52f0e51c08d174f90796f1f3340766c484af3e2c52c589eb320aee3681517b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KokoroAneSynthesizer.synthesize: MethodTooLong \u2014 synthesize 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/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28df4f4e72ff369f40326a6c65598e9c120e3aeac82b65133480299b92d2d97"}},{"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":"MethodTooLong: CanaryTranscribeCommand.run: MethodTooLong \u2014 run 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/ASR/CanaryTranscribeCommand.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df544350aa0fee1ca22a187ba726805e09bfd8f6f51b04fd81489f81d016235b"}},{"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: ChunkProcessor.repairSeamGaps: MethodTooLong \u2014 repairSeamGaps 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/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a145efec23e183a130473cb51112df41f245d5f5b6cb725de5597bd7e03bd18"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingNemotronAsrManager.processChunk: MethodTooLong \u2014 processChunk 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/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb343af419e9f98db58d713445d52462494e2134c442006fe2f16c95606edcf9"}},{"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":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0ba90fd532b4f55611d0e1b8edea059c94ff146149d5cb97aee4ea1fcb7e81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TDT/AsrManager\u002BTranscription.swift: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\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/AsrManager\u002BTranscription.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54a772968f2bc823641ec2c4bbc0aa25b5488e3b70782d1d8a0780d56ba3fe1"}},{"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":33}}}],"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":"FileTooLong: Clustering/VBxClustering.swift: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: VBxClustering (27-777). The bar is 500 significant lines; this is 55 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":"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: 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":"ClassTooLong: EmissionDelayBenchmark: ClassTooLong \u2014 442 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 42 over it, 1.11\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: FluidAudioCLI.main: MethodTooLong \u2014 main runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/FluidAudioCLI.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d902888035569c5cd6f18122307ae42301718291bd5161d8c8069879c239cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: G2p/LuxTtsG2p.swift: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: LuxTtsG2p (28-769). The bar is 500 significant lines; this is 44 over it, 1.09\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":"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":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"745918dcafec087c9f65f4e79d53df756b733b408ad5c60c951ae3ec46ef4966"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sortformer/SortformerDiarizer.swift: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: SortformerDiarizer (13-992). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece37312c66cfe99f23bea64298bb5ee00db88c77c2eba3dba66f93a09445639"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VocabularyRescorer.collectSpotterAnchoredCandidates: MethodTooLong \u2014 collectSpotterAnchoredCandidates 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/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf3ac78eec95dbcb3db8937c6cf6599598239467539314635e5be2949e1153c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiarizerManager.processChunkWithSpeakerTracking: MethodTooLong \u2014 processChunkWithSpeakerTracking 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/Diarizer/Core/DiarizerManager.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b726f33c8f643da2d24fa7092959081dd526a5bff1e2cd5a17d34747f3129e29"}},{"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":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"140ff2bc8ce56770ea7eadd0083f338330f4061ac76b8889d77b9034176c626a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TTS.printUsage: MethodTooLong \u2014 printUsage 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/Commands/TTSCommand.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fad6be88b926cfd8b54261c61207bddc2d4837421c5a4e1669b1fbb02f515a"}},{"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":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"869b648dbeaffc1502cdb1e3f43aec545ee5006a6f0bbbdff8ee665d646842d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingNemotronMultilingualAsrManager.preloadShared: MethodTooLong \u2014 preloadShared 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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4d2f23da37ae9a4276f3c890e6ef9e678c90788ae5e58a0c0bdeeae1d3abdd"}},{"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":"ClassTooLong: ProcessCommand: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 18 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ProcessCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d63df67cafec5bc5f3ea767762c3cb80f5f96a589424f6d8e223afd013aadce"}},{"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":"TooManyMethods: SlidingWindowAsrManager: 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/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87b6d05caa4fbfa87bb473f2c698cb510312bca461c03fe13d1be71025a5a99"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpeakerManager: TooManyMethods \u2014 31 methods, declared across 2 files: Clustering/SpeakerManager.swift (28), Clustering/SpeakerOperations.swift (3). The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Clustering/SpeakerManager.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9c06bf9e0fa41411bdd586c8f09d70d2c8f3c363145595a86835d14eab597"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SpeakerUtilities: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Clustering/SpeakerOperations.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e67886259d0cf855ff8fece1cf6651e0acfffffb3ef44ff9b800986f46ee5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AsrModels.load: MethodTooLong \u2014 load 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/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9b04d200906ef0d00bbdba3978ad21403e593a62c81349a2311cc4d0dfa289"}},{"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":351}}}],"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":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f23cf7b1177f822d3be99e3b7c5d2c740311ae98e60132d82d323a6374e6c"}},{"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":"FileTooLong: Download/ModelHub.swift: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ModelHub (10-875). The bar is 500 significant lines; this is 5 over it, 1.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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8c5e3aa5ee5b086741351a27924afab27ac3743340120715ea59898bb34741"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 15 shared lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:270-322 | 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":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0882def88c370b98b304dc3775aec1b6bc1f093a14251a34874e24a64983a48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 4 shared lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:100-122 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:95-119 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:25-36 \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":100}}}],"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":"6b51668c853d3226a37298f86972c3b467e392f22f847c86fc312a4546dde711"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (129 shared lines): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:172-629 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:288-482 \u2014 These two members are variants of one another: 129 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":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e252c54e267f7b3c0c840dd51e2479b96f30be108ec38050e8b71c015c2c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 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: 70 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/LSEENDCommand.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ebda3d34f0792734e7fbb45638076b1428f94934ba1836445813248ab0c276"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 shared lines): Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:12-131 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:145-273 \u2014 These two members are variants of one another: 70 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f092dd539422a78751402607b12de375ccb9188ee977c3fe78c022e63a7439ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:34-167 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:33-177 \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":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0c67c5742ff989545e1cc8ae83609d69a24f74c7ec265dadf84f6f05a04f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:354-415 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:427-488 \u2014 These two members are variants of one another: 38 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":354}}}],"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:120-165 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:227-280 \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":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9ffdc6977fb5fa05b2dd8f9202084f37e2be64b68b912d1b0179bda68c356b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:393-431 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:542-622 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:644-855 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:118-243 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:201-318 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:114-194 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:535-617 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:622-694 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:702-839 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:919-968 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:970-1121 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1123-1296 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1301-1396 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1415-1520 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1525-1611 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1615-1686 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1691-1761 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:494-600 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fea722bfb796cbe4c4ecc78f2f225003801a290556e3226b9c937c141ab0b9f"}},{"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:553-634 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:351-374 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1132-1157 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1171-1194 | 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":"1caedb4886cdf8d096e66d4fa4cb74625922171873d4087dea0bf084b39fc71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:121-127 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:133-139 | Sources/FluidAudio/TTS/Inflect/Assets/InflectResourceDownloader.swift:42-48 | Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:43-49 | Sources/FluidAudio/TTS/NeuTts/NeuTtsModels.swift:103-109 | Sources/FluidAudio/TTS/Paradee/Assets/ParadeeModelStore.swift:148-154 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ResourceDownloader.swift:152-160 | Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ResourceDownloader.swift:99-107 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1bb912e6c9153faafd99b2f30b43d91e63c7847d7b4d981323fec405cecb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:100-114 | Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioModels.swift:268-285 | Sources/FluidAudio/ASR/NemotronTranscribeLite/NemotronTranscribeLiteModels.swift:88-102 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:116-130 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:139-153 | Sources/FluidAudio/Speaker/CampPlusModels.swift:66-80 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:62-76 \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/Canary/CanaryModels.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"177ebd4006dd57ccb98276df4dc8b3194efe352209975d1bf32325b5ae7227e7"}},{"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:357-375 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:377-399 | 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":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c2558f8ac04ba1e3f93f76a1e3aca1c30c9da91186aac92203e03437fc0d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:116-127 | Sources/FluidAudio/ASR/NemotronTranscribeLite/NemotronTranscribeLiteModels.swift:125-133 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:148-159 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:172-183 | Sources/FluidAudio/Speaker/CampPlusModels.swift:82-93 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:78-89 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2831dd90657e55019ee29869d4ebb58223b061f22170259828288f632c14b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:287-362 | Sources/FluidAudio/TTS/NeuTts/NeuTtsPrompt.swift:40-48 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:795-800 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:815-830 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallSession.swift:83-88 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:284-325 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1a286de1c39e209cafa6a9e01807679d4d9a2a72d9aa387ae66e1560ee44d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:175-222 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BFlow.swift:20-68 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:551-562 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:89-136 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1604-1613 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1649-1659 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3be1827c074a3a0e3c694bbfebbf691b5912371123354a67ffa0e33f659b6f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:13-204 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:65-138 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:45-454 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:58-577 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedRnntDecoder.swift:112-135 \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/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"549571290d3a1e49a586789ea8ee8e3013fd2155adba43f3a551893488d7fe57"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/FluidAudio/Shared/SystemInfo.swift:91-109 | Sources/FluidAudio/Shared/SystemInfo.swift:115-133 | Sources/FluidAudio/Shared/SystemInfo.swift:139-157 | Sources/FluidAudio/Shared/SystemInfo.swift:160-178 | Sources/FluidAudioCLI/FluidAudioCLI.swift:216-237 \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/Shared/SystemInfo.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9938eab8403bde18c2200d6b42eb554cb9b13fd6e0268869819e8609a2e3228f"}},{"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:324-355 | 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":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"469648d2566fd009566ad9413da489f574610d0e4c6bbeabb62dbe03240a1cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:37-86 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualMultiStreamBench.swift:36-228 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:42-131 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:25-77 \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/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d46265305fe9bc71a24f2b50135c5fc82e88ea0c3e4acb63e244f915f80bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:553-624 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:628-722 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:726-795 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:799-861 \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":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"6197cbe20deb723f19ef5569c0e71af9754ce0298cd6430eaac1f77a00713397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:292-352 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:365-425 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1975c87419944e52273ccfe0eb8d6451a57f4cdb7c342c1a8bda9aeef5235f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (108 corresponding lines): Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:207-314 | Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:347-478 \u2014 These two members are one piece of code written twice and then edited apart: 108 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/Shared/AudioMelSpectrogram.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f9b8a287237d7bb8d70a3a853a3e00f352fe685e5e9ada06d81c3896d2d674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:293-371 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:466-579 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e75fee564c249a9efc67893d2e389f2c6ec63e164bb75cd9c67a149b97643d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1274-1335 | Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift:335-400 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e86278fd473e45066ef6ff1a3bb47d3456661ad17801efaa0ababfd44373269"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:25-105 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:25-117 \u2014 These two members are one piece of code written twice and then edited apart: 81 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"291e4e20c07b2dc71d6a4c99024bbc43ea55a2dc799b9d28f7bedd8c9c34c124"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:775-816 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:529-568 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"0334471cba6387a06d4ccc3fa4eb8dfc7543966670ce37547bdec8d16a2fd38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:214-278 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:397-460 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74d741791b99bae69d564ad9bfe5c0cc9c2a0143d3367051ac2fa5915044015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:111-170 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:94-151 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad30ac933d9a20ac372d09ae2cedd9a3bea44bd6cec3b91b0c6e5d8b7ab4d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift:110-179 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift:191-254 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b149fbe87d514a9f82bfd6dd7af641fc5b9e2247097702c1ddf7faefa0519576"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:247-289 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:394-458 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"660f29028e49ae57cd00f1f31f1ba83c8621a1dbb50453877804d9edc6a9df94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:241-296 | Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:310-375 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7bf968a5fc46ed4cfecdfeeb15eeea73b2586ae31fa8e0c751432cb7e31ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:331-373 | Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift:376-424 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/JapaneseDatasetDownloader.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7799539143fd628c5e1c1baf5182932a447b15e509337e1adc02fa5523f4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:66-98 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:101-137 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d642d9587dbcd8870acbcca43c1f2f985d54c4f632907d671f73bc4f0efa9c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): Sources/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift:45-76 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoManager.swift:57-86 | Sources/FluidAudio/TTS/NeuTts/NeuTtsManager.swift:44-70 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcfbc8d6a05a22fb269c0923210905990df4168008b0ebf5a6b506762840519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/FluidAudioCLI/Utils/WERCalculator.swift:33-64 | Sources/FluidAudioCLI/Utils/WERCalculator.swift:75-107 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/WERCalculator.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cef1fcf7a07eb5be80e77aa2111353f8ea05a3865564fe1e0a3e61a7eec9dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:19-74 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:333-376 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607d425c4e307d41ef7badfd5fac80203aa1486676af8ce411f67948de8c717"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:210-248 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:933-979 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/ASR/Canary/CanaryManager.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b8a105c82f6a49f48b94049de8de86e2b98272958f9a4f981032d2de8b848d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:96-152 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:161-210 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/PocketTtsSession.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"482a51fc3164c40dbeda0c6f0f4f856dda8f2532c2ecfc1166b5a64761600ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:286-320 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:357-388 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:390-414 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"93060bb2ce2a1654932bb81e1d8b802625f15bc1f839108defdcc631ae4bed23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:171-206 | Sources/FluidAudio/Diarizer/Sortformer/SortformerModelInference.swift:139-191 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf5c717bcce1301f84ccaab910ba720ee899145ea442a377aa9fb63f2405afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/KokoroAneManager.swift:536-576 | Sources/FluidAudio/TTS/Paradee/ParadeeManager.swift:254-291 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/KokoroAne/KokoroAneManager.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffadff50261791eb3122decb14607ea65b5265193db15767eba840e61016d512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:1162-1193 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:1195-1220 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b0979167017354300379d36699d4b1ba9980d1753f1141f274639da1965626"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:51-75 | Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:88-115 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74fd78c43e48b123d7e838a2aa143cc0497fa3570ef2165ff95a72f13bbbd2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:555-588 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:409-446 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Unified/UnifiedBenchmark.swift:208-228 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af9d0a56b9e553b2c2e06c0a34ddd4aa8e7c1f734a1f62a6c3228a9714594df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:138-174 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:179-203 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bbb2110fa103af998d73572d38dc9fb85a990b7bbef5564ad0933f97b28d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift:237-272 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:487-535 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda40dbef4a4a9bae88b3ce9568fc3d56ab25b9262bb843b537e4c62fc424bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:237-275 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallSession.swift:90-121 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac60dbac17361ed7db6a8d8cbb82aa9c2857fcc29ce7957f63e081ae206b39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:455-494 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:497-544 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2bd52648ebad708c8a8baea4b118bcea07b15c6c7e146171e2cf1fb511b6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:119-139 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:157-177 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:76-96 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:115-134 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"df52bc4a4a2414e47141a842b0216448e960c7de119279077a77ea00e86c1802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:132-146 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:155-170 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8c402d8b733e7769a0cffb7c963aeabb0fb624e84d1cb69041ee0d49985b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:220-238 | Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:330-352 \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/LuxTts/G2p/LuxTtsEnglishNormalizer.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9440fdbd58c78dcb17a66cb67c96653e1e2b57b97183edc9a750722c252fc924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:152-176 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:150-176 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9991b5c868eeb00390604bd4150638dc9f25a094fe8a3b8c0fffa030147b970e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:303-323 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:326-349 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"631affffb97e27cbc522c85bf17602b4f28323203f4a82b4f6d8752db4d51648"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ModelStore.swift:143-168 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ModelStore.swift:171-196 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ModelStore.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfbe6ca7275ad2e711f0cfcb63a246050b401372d1852533eb51d2661c6d0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:72-96 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:99-112 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ac8c0e890916aa1c7da57932d1de0dba04332c2babadb1ad9a951ada4cb7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:223-244 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:352-391 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4063a15ac611e68caca44b3a57b73b802f9468b58cd30675603541151873d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:408-430 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:458-474 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd795ab2f97b9d03631e2cebf913e1aa9b2cb60bde457393a40f73b6a34a6d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:202-219 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:160-178 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a520fe9e6b1ee7cce2d62b679d7156f64be31f125b71e9fafec8efbf428df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:13-27 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:29-43 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29fb49a733a1c4644fe6520fc507042b9670fb1dbeb0f11c7b9f2e6ae6b060d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:172-211 | Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:173-214 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:156-192 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c8ad52fd9ce3241293d4f066c5a2bcc8772cc43c8fd9ac4a2dabff2af6e244"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:70-93 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:95-116 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c20e09ffb42b0d8ab40ff5a1a9dcbf2c7decc20451438740fd1a3a27211a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:421-451 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ResourceDownloader.swift:59-84 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd1ba4079598e388be529e6a12cbd0b3bf85c42a724b117ef3697d2279228a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:13-41 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ResourceDownloader.swift:27-52 | Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ResourceDownloader.swift:17-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c8dfbb4caaaaf1f6c5c1cc7ae0b9e539dd28a7b0eb53591515badb54cfd924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/FluidAudio/Shared/ANEMemoryOptimizer.swift:86-116 | Sources/FluidAudio/Shared/ANEMemoryUtils.swift:130-159 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/ANEMemoryOptimizer.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed048c1d25aa0e50584124058e4cbe86c15aedbf7d66f915b8ce6aa1639d7a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:425-443 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:445-462 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf9bb9efeaad4553e38f143eb7dd361fe8a8d762878a5184e1c1592d3e30a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsResourceDownloader.swift:195-211 | Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsResourceDownloader.swift:258-280 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsResourceDownloader.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca4b68a9748129dd73c6e28b24152a14371f915b40367ab720aa980b820758b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:362-374 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift:97-111 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec93881b062d3fa446d4eb0edd117eb6eada6c54804b61b802b2789def04e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/FluidAudioCLI/Models/CLIModels.swift:103-121 | Sources/FluidAudioCLI/Models/CLIModels.swift:143-158 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Models/CLIModels.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b498ddbe4e9e524ba8ba84f5de46a3ab6f0c14583b95b17215a9b0ba85d512d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:770-787 | Sources/FluidAudio/ASR/Parakeet/Streaming/RnntDecoder.swift:234-247 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f77d2453478566fe4a3a3e94df2c0d497e5db0a262a2238375df9383b3d562c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:107-119 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:119-131 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eed82e5971321f75054d4cddc55f0588109adb974d54d8af8e6c804b4db98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Sources/FluidAudio/ASR/Shared/PunctuationCommitLayer.swift:237-271 | Sources/FluidAudio/ASR/Shared/PunctuationCommitLayer.swift:276-309 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Shared/PunctuationCommitLayer.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ad3baaeee7d5dc6f3e26b8f22fc0803133f03bd3803d879d630961e91ca285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:297-309 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:314-324 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94bf01d4a44c4c73e887dc3fb986486dc9e2ca2b9d320719db68288ddd64631"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/FluidAudio/Diarizer/DiarizerTimeline.swift:103-127 | Sources/FluidAudio/Diarizer/DiarizerTimeline.swift:140-164 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2939ec0c08db0fe0b9021fdb8ca256491eec4be292287e6ae0209881109a4bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:187-203 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:187-209 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:119-135 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8598147471a4eb9589e1a8028c31f133b55290cc245a489f6ebfb60a64db4581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:247-278 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:949-994 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"460ff031cc002ccccf2ab580c1f7303d1006952f7f9d1ce25a3dd009522c04c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Manager.swift:188-215 | Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Manager.swift:244-266 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Manager.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cab97cfc1684a7851b3342d07fded4d9b2a602fa51af2da7dd6b505f7fc92d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:44-63 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:63-78 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:71-94 | Sources/FluidAudio/Speaker/CampPlusModels.swift:29-42 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:29-42 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"53be3a5bce618eff23d4c9bbc7b1683ae29f2e25dcf112a0a19121217a37bdd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:569-583 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift:335-353 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa30f9f3439e85f9ab084bc3927813246c59b1dc02ffd16a941fcad811dfd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift:629-645 | Sources/FluidAudio/Diarizer/Offline/Extraction/PLDATransform.swift:181-198 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c159f299af263a2a521a15be5f5c6edd033fc8d346a32651b7444347ff5ef41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/FluidAudio/TTS/LuxTts/LuxTtsManager.swift:98-119 | Sources/FluidAudio/TTS/LuxTts/LuxTtsManager.swift:148-167 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/LuxTtsManager.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1046a166dd5d8e7eb08aba49141d6ccc8ee8ad6a9ad8f0c008f71007d8acd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Sources/FluidAudioCLI/Utils/DiarizationMetrics.swift:511-537 | Sources/FluidAudioCLI/Utils/DiarizationMetrics.swift:552-578 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/DiarizationMetrics.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7794a0e63a1717f5fffac2032e27d98f27e58dead89a4f32f6f78e48f5b75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:383-408 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ResourceDownloader.swift:92-115 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"7259dd6df99df0e8d3fb22375f0fb0e601071179888a4dedae74deb77b980df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:105-116 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:143-154 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:181-192 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:61-73 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:100-112 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:138-150 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef2e4008d926a1528d21195c0a39090baaa5e459707c68a79619a6c36b2ee9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:389-401 | Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:439-453 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb928c97ea1c922aad4a961ba743d20a18367a9e32206adbbd5600b0bef8746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtModelInference.swift:269-277 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtModelInference.swift:280-288 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtModelInference.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ece67218c2af817005540e31fdbe5f03210b511b30dc99fa3cf45d268fabf79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/FluidAudio/Shared/AudioStream.swift:376-407 | Sources/FluidAudio/Shared/AudioStream.swift:413-442 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/AudioStream.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c287448a6fbce731c7ec00f3418118b287456db308e8dc650bcc2a932d164be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioManager.swift:172-185 | Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioManager.swift:188-201 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioManager.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ed30262d9682ddb41589c453499807f15d870c92b04b17c9a0b545760cca84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:52-73 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:189-208 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"761803a914520bda5f3db8a2c31d0c14dfd65cbed79c86a94350660389001281"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:450-466 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:484-502 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e7fb7a80a51dbd35c10d467f3e40352298c550d7113511ae82cc2586715304"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/FluidAudio/TTS/Shared/AudioPostProcessor.swift:70-88 | Sources/FluidAudio/TTS/Shared/AudioPostProcessor.swift:96-118 \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/Shared/AudioPostProcessor.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df7404ea7077404cdfccede1fd66b0de36ff0416b80a06447aa243ec0ed5c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:379-401 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:420-447 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee22ac3c0cde72b729e9275e8b58bbd6f958f0136253e4db6c3c2bf9771ec322"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift:305-323 | Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift:444-462 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallModel.swift:445-456 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b957292a26c42821ea45882240d6fde0e47e66dc7463ecae422492776b4212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift:245-258 | Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift:308-326 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e0162117433ddce2b544f6936dc011075102e22ed48b85bd4e31998153e87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/TTS/Paradee/G2P/ParadeeG2P.swift:266-279 | Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextNormalizer.swift:350-365 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Paradee/G2P/ParadeeG2P.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd11b3432e2e3016660d0898f97a918786056f3d2b8794f01d6e9d8ea01b253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:55-77 | Sources/FluidAudio/Diarizer/Core/DiarizerTypes.swift:44-66 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a987b1b116b8bb0da36163057d123c815781bc70285cf9bfaa04a16cde8aaf6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:949-974 | Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:986-1012 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3100d7e54354e3cfb8ab298573e2daa18046b873547f10feef31b2fa53f7d630"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/FluidAudio/Speaker/CampPlusModels.swift:51-64 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:51-60 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Speaker/CampPlusModels.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e06efddf6313eebf928d7379444ae567ec3ec8427028ef077c706d78dbb2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/Diarizer/Clustering/SpeakerManager.swift:354-368 | Sources/FluidAudio/Diarizer/Clustering/SpeakerManager.swift:383-396 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Clustering/SpeakerManager.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"149f9ff6c8c3bb3440ae16ec4762de1c5cd7f639c74f134eb7e3eb99eee7bf70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:39-52 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:430-443 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"176503084c4c02f840022dd43f4776a5e631eca64f21b096a8128a40f3346120"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:85-94 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:79-91 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffef44bd73e16150326386b9c6971b16103b2d59016cac40ea3dcc305f6648b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 23\u002B corresponding lines): Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift:86-115 | Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift:134-159 | Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift:162-187 | Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift:212-235 | Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift:248-270 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f20a12d7e9098e6aef8bfe9ee4016c77dbd732151301e35152edcbf007d08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/FluidAudio/Diarizer/LS-EEND/LSEENDDiarizer.swift:162-182 | Sources/FluidAudio/Diarizer/LS-EEND/LSEENDDiarizer.swift:184-203 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/LS-EEND/LSEENDDiarizer.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac7eac5a3f3811b19905bfd03674e9b5990c1c8f0bc754ed4ec244e3d1a768e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseMecabDictionary.swift:202-209 | Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseMecabDictionary.swift:211-219 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Japanese/JapaneseMecabDictionary.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd4a32c5b1e10fb7f1c71b4364d0e8028c7385402cc9ebe71880e230451b65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/KokoroAneManager.swift:597-613 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3UnicodeProcessor.swift:180-196 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/KokoroAneManager.swift"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34a7f5c7ef1c0d7e6aedf63b71bb686bb80f59f81b42e839a92f7fada8815d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift:27-35 | Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift:38-49 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9e5121c0b5891d5215f1cb485d08efa952feee4b29ce94cd5556e15be39b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:102-112 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:226-234 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf765596dab88f4b75a2c300cc95e022fd0b557bfb3163d0f6ab29553baa465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualStreamingConfig.swift:54-72 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronStreamingConfig.swift:37-51 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualStreamingConfig.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fb9217687f38b4c67b79fbc94680dc30d940fb537cdfd7d1e99128e90e7524"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:500-524 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:527-551 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:564-586 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"665b014552d03b2dd9742be04900f6120c5071f901c75fe3a1cdce1223c0b07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/Shared/Download/ModelCache.swift:171-179 | Sources/FluidAudioCLI/Commands/EnhanceBenchmarkDataset.swift:96-106 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/Download/ModelCache.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ec749624ca41af9a318510adf2bd68a33c81cbf6cbb61c40308d0e9a43f664"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): Sources/FluidAudio/TTS/Inflect/Assets/InflectModelStore.swift:78-90 | Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:188-202 | Sources/FluidAudio/TTS/Paradee/Assets/ParadeeModelStore.swift:134-146 | Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ModelStore.swift:187-201 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Inflect/Assets/InflectModelStore.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d14e9f6e9c96d60cc34b4842b1167fcb558b627feb43a86dedc0123fe6731c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): Sources/FluidAudio/TTS/Inflect/Pipeline/InflectSynthesizer.swift:134-139 | Sources/FluidAudio/TTS/Inflect/Pipeline/InflectSynthesizer.swift:141-146 | Sources/FluidAudio/TTS/Paradee/Pipeline/ParadeeSynthesizer.swift:108-113 | Sources/FluidAudio/TTS/Paradee/Pipeline/ParadeeSynthesizer.swift:115-120 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:15-25 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:27-37 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Inflect/Pipeline/InflectSynthesizer.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade8b9bf2a5b5478ff810ff5adbbb8e35ce95920ec75b1098e88c22389b84e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift:190-194 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronVocabBenchmark.swift:194-200 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a047c0f986199478bd5057f9bd0b9c43f5654cb4cb22c6b4865a70f0197ffd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/FluidAudio/Diarizer/LS-EEND/LSEENDDiarizer.swift:59-75 | Sources/FluidAudio/Diarizer/LS-EEND/LSEENDDiarizer.swift:82-97 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/LS-EEND/LSEENDDiarizer.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3036b10a7b81605d9797fc16c7f2a679dc16d973dd917a6b0ed65f0b65f8d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1196-1217 | Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift:51-66 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"462844d8732ebe6e973353db48e08f129feb8a37faedcf94c90f9e552afee9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:172-191 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:212-231 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0373b4c4843b12e5ccec4a3d37fc1403f7a6257e9264650d9792b7a9326efd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/FluidAudio/TTS/G2P/G2PModel.swift:49-58 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:33-42 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52474e4be061b8fb3b6897cd89d38226d17657f55d31d0e2bac6923905ad75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:282-301 | Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift:303-322 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74705c0d7127341a8ac3172a6a47af76220eb7436101e301696a62cf112332c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/Shared/AudioStream.swift:163-176 | Sources/FluidAudio/Shared/AudioStream.swift:182-196 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/AudioStream.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee9bf69658c5bae9ae2e3e53465cf9c92e39c85431e207cc55e7e63199a385d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Manager.swift:275-290 | Sources/FluidAudio/TTS/Supertonic3/Supertonic3Manager.swift:113-128 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Manager.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dba997be60e0a3a155e7ff359561a47961ddc31af1c8fd9a6b593585c33a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift:12-17 | Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift:19-24 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e829aee57aee302e21c641d47619c852b91bb5c7a3928562e15e5546163a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:395-401 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:143-151 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"661ee37c824df4ede53a517b371bf8296e6f3e2a0e8291b216c29dd1b18829dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:238-246 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:281-289 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97b0233d91dbf3019e8d334210632828baf406a3fb6fd270c322793a6ddcadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift:402-411 | Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift:435-443 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb6319438fb53eeacb9e7759f9527678e417f9081891e17da6170b2225decc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudioCLI/Models/CLIModels.swift:93-101 | Sources/FluidAudioCLI/Models/CLIModels.swift:134-141 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Models/CLIModels.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf0b9d18a79f0c5eaa2d073ab0a67a15cd9330c8203ef0ae74559a8998ea4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:245-251 | Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:261-267 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd8a55ed890e26d965cc1f271de9e5bb16e445bd1e8d1c76f7e539eb4a239d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1102-1114 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1117-1129 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7043596fec50f6dc75643595ff149558b6e4ea45d9902eacdececadfe20159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/FluidAudio/VAD/VadManager.swift:79-92 | Sources/FluidAudio/VAD/VadManager.swift:110-122 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/VAD/VadManager.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cb1609d52a90f8f94b3f43cbb4f7db6202cc3ae76c3ee7aa6c1331169e4c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift:98-105 | Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift:107-114 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioArrays.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d54abe8a7b15278571a26d1305aeb8f8d01a2e5acb5663512ab26e3828f084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/FluidAudio/ASR/Parakeet/ParakeetLanguageModels.swift:49-65 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift:117-137 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/ParakeetLanguageModels.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d62f7b7a3c6c676bea2ef1cbcb9d830529bbc4bdc72680f43653ad709c0d0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:178-193 | Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:238-256 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:215-226 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fca2a790cd5444a0ac4d8f160ca3bdc75177b6076596d972a3ad91b43dd85e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinWordBoundaries.swift:108-118 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinWordBoundaries.swift:140-150 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinWordBoundaries.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bfc12a846ef6ec5f2541ef98b94ef2620882f95483eaf9ae6d2590a59c691a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1264-1272 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:348-353 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f808c578c52beb30e9ce37ac741c6f9f6059903df7b9b7db7d01722a0f6c5cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/TTS/Inflect/Pipeline/InflectSynthesizer.swift:124-132 | Sources/FluidAudio/TTS/Paradee/Pipeline/ParadeeSynthesizer.swift:98-106 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Inflect/Pipeline/InflectSynthesizer.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba07b63fe27a691b70ce8a54ae222fb4b33e1b2c56a6f5cc11d9369ae77a0102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift:374-380 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Tokenizer/StyleTTS2Phonemizer.swift:250-256 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e60a8210eaa289f28153813d91e9e021747f140c45e9725c60a2edfed5ef490"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift:296-301 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:551-556 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8031a594363c3debd02e7618c81f03b1c7080a5859ef112f660a251aa07ca509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/FluidAudio/Diarizer/DiarizerTimeline.swift:529-544 | Sources/FluidAudio/Diarizer/DiarizerTimeline.swift:546-561 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d64ef5768ddcea5f30d9af026d8599936980f81ac7514320387f97445addd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BSpanProtection.swift:129-134 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BSpanProtection.swift:139-145 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BSpanProtection.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb07dd59a64804aef15d061ccd1398811273033dee8d62e7ab49f00472e816"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 51\u002B corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:1097-1166 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:1228-1301 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:486-554 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:13-64 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:435-485 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 51 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed138ec6a37ccc4cb39a50ac7f4fb072adbd1541f71a95de690c90ea0bb3d041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/FluidAudio/ITN/TextNormalizer.swift:120-131 | Sources/FluidAudio/ITN/TextNormalizer.swift:139-150 | Sources/FluidAudio/ITN/TextNormalizer.swift:166-182 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ITN/TextNormalizer.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ff4b2a88b77692063843b5e2a9c969bd9c39a721044566b756876c401c9d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift:298-314 | Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift:326-339 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/PocketTtsManager.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a1f2786b54c6ec6842fa6c314381fca9d68eb9c594610532146199faac4df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/ModelRegistry.swift:84-96 | Sources/FluidAudio/ModelRegistry.swift:99-107 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ModelRegistry.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97758843915f41c688d14f3613f12ffbd131a164f03c3d6533814626ebceb6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:81-87 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:209-215 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f7856e79166150c905f012e6bc9df84712e01ab8d8e192b0d5b0657c562d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudioCLI/Commands/TTSCommand.swift:29-36 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:49-56 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSCommand.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f893e7f16125b22f555c5067a9aa9966b93e120113dedbede3db5b02c58edd00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/FluidAudioCLI/Utils/TextNormalizer.swift:369-379 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:383-393 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b32197f457170224bcc35e827c4cba4322a0b7240ba2b3a2714478128fc81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/FluidAudioCLI/Utils/TextNormalizer.swift:330-347 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:355-365 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/TextNormalizer.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"565779d3632026944b3a673c06a85d859534c7bfd913c6330a451eaebda47aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/FluidAudio/Diarizer/DiarizerTimeline.swift:1145-1154 | Sources/FluidAudio/Diarizer/DiarizerTimeline.swift:1157-1166 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea5818983786415fe9de493f443acc9e4ab0979ced1d1dc28b7982752215dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:90-97 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:217-224 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4bb1bdbd6103d6843ed5400e245d1d17bd08e13ba509dd4d1b66ca48d37c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:37-44 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:88-95 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/ResultsFormatter.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"47028808f7555d1cfeeea772cc8ba11543cd364cd86d13376e93785388023ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:664-678 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:689-704 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce20024bbae34b0c23f9d06f822db2e38af93801e259a5168a0b5028d01535b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): Sources/FluidAudio/ModelRegistry.swift:112-118 | Sources/FluidAudio/ModelRegistry.swift:121-131 | Sources/FluidAudio/ModelRegistry.swift:134-140 | Sources/FluidAudio/ModelRegistry.swift:143-151 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ModelRegistry.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"311124acd340dbfbcb19b812f5f8f6825f3091ae3be18c2d7d4dd7b15b58e40d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BState.swift:25-43 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallManager.swift:117-124 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BState.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e9ea452708bdc080de24f96ccbbbf3e885c4d9dc35ee0ac8fe96072ccbcb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift:310-323 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift:325-338 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcKeywordSpotter.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdf23dec046554ecc3f84bc3707a411dc4b45796e2ef251c870e81baee598ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift:317-326 | Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:423-432 | Sources/FluidAudio/Shared/MLModelConfigurationUtils.swift:37-47 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcc520954343c78dd7cd5b43aece296ecf6ede7d574ce04997f850898d429ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer.swift:246-251 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer.swift:255-260 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae13fced54192e0c56bf424ceee75a248f462bdd974a5279442e3f704b4afb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/FluidAudio/ASR/Parakeet/ParakeetLanguageModels.swift:235-252 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift:657-668 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift:671-681 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/ParakeetLanguageModels.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdb09a5489697ca3b199daae690dabae14c37099504ad4045446fd9139eba11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioManager.swift:267-275 | Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioManager.swift:278-288 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioManager.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afa2307721bef4e74644bbf83cb56507e1c4719ccaf1243bab0c9a508945571"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/TTS/LuxTts/LuxTtsContinuation.swift:254-259 | Sources/FluidAudio/TTS/LuxTts/LuxTtsContinuation.swift:261-266 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/LuxTtsContinuation.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349bc46e96181f4f8dda826044cbe866a174f7d20fb27796b67c716c75ce966"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:400-407 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:164-170 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"63892950050d2f15ba8ecd9ef4f68dad09ce8cf73557b78c7abb403e27aeffe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:97-106 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:80-89 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2849a15304b2d9413eb0050907c17bc1fdf95a07cd268d32e2027a4a100aef71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/FluidAudio/Diarizer/DiarizerTimeline.swift:376-383 | Sources/FluidAudio/Diarizer/LS-EEND/LSEENDPreprocessor.swift:225-234 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/DiarizerTimeline.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"001fbd0bc19cdf7a1ff53ff8dfec763ed4129bc8aee9e579eb0ec50eead3b526"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:949-958 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:363-368 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0604a575eb30504b1c134bcbc6fb85b923956d50ec4b358e2c8501bad5961b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:493-501 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift:683-696 | Sources/FluidAudio/TTS/Paradee/Assets/ParadeeModelStore.swift:101-109 | Sources/FluidAudioCLI/Commands/EnhanceCommand.swift:190-198 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eccca9c5812de822c298e02d426b7eee02103ce68bef3ca465845a5a4971f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift:372-381 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:418-426 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"5837766436051a6f71771da7405543c1d7b3dc0923936074dd56723ce4cc16b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:230-245 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:932-947 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aae0c472f55e7d68391a4d47cd148f413a405112d2f0e5ad01f126d71cc7a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedMelExtractor.swift:26-40 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMelExtractor.swift:25-37 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedMelExtractor.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b297a30c4cbc6f92240e780fb9a3a485d37e47c74252eee02292ba4f2c88b6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualTokenizer.swift:63-68 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceTagScores.swift:83-86 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronMultilingualTokenizer.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e09788b545b8ee20f0a6698e9df7cc2436307b9fc5802209460ea66d77d959e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedConfig.swift:104-107 | Sources/FluidAudio/ModelNames.swift:1077-1082 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedConfig.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfe089f001c27e821ff9f9f88e1c1b3034475f21ce63fe6613fbf0399e81afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/Speaker/CampPlusModels.swift:44-49 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:44-49 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Speaker/CampPlusModels.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"719e55d76f7e6f22e567d82fa50df49481a1541a621781ad9a05dcc833514da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/KokoroAneManager.swift:256-267 | Sources/FluidAudio/TTS/Paradee/ParadeeManager.swift:170-178 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/KokoroAneManager.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bd2b83e5ece4b700f37d8c3269f9f454b4a0fed5e10c3dde8ecdc94cc2020f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/ITN/TextNormalizer.swift:70-80 | Sources/FluidAudio/TTS/Shared/NemoTextNormalizer.swift:46-54 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ITN/TextNormalizer.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c2364a69bbc1bebe4c9200a64db08c9453a9b8c9f1011547b669686b7e644f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:24-32 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:36-44 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b70a0f7a8b431fd6b4b9981c7af6b7b34a69f0773ef90e11ad2a3e3461c632c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:1066-1071 | Sources/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift:542-547 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09038f5fde0ff7140f45e542979ee09b43ea7d434827c205214c6b8771673f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift:631-643 | Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:50-60 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f939978b8cc1702f365b8550096a125a2ffe3c0ab1d48937457d9f5fbb8752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift:444-448 | Sources/FluidAudioCLI/Commands/EnhanceCommand.swift:184-188 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4bcb7c1594b46e2eb85e1a057369dfa4cecf262eea928a08cff7054cb67128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/Enhancement/LocalVQE/LocalVqeManager.swift:132-135 | Sources/FluidAudio/VAD/VadManager.swift:149-154 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Enhancement/LocalVQE/LocalVqeManager.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee3088f671ab1f46497df3f1fbc052bb56088ff3f48d5eef15ad0b8d5bb4965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronVocabularyBias.swift:219-228 | Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononCharTables.swift:134-139 | Sources/FluidAudio/TTS/PocketTTS/Phonon/PhononTextNormalizer.swift:316-321 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/NemotronVocabularyBias.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9670638ee845cba001731a5af39cc9d08cc6918d6dabff51027f25c6f91fdac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:243-285 | Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:497-529 | Sources/FluidAudioCLI/Commands/DownloadCommand.swift:88-122 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ec7f47ab8c44d354e56cd9e33ed579a8f27e83b40eff28ee358c3e3d0e039c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:54-60 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:453-456 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc839e7d127ac2e832d115f410c29a59d2f4dbee360ec888f4d6eba7c7452d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:195-197 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:153-155 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4f954a7b8760b14b22c958422ecffd67383d801ceda22555c6aedc915d5f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/Diarizer/Core/DiarizerModels.swift:105-108 | Sources/FluidAudio/Diarizer/Sortformer/SortformerModelInference.swift:95-98 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Core/DiarizerModels.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7201dc13afcc15cd2617ac6db63cce5bff39e83366f714d7bd4fb02e21d1ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/TTS/G2P/G2PModel.swift:91-94 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:76-79 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/G2P/G2PModel.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eaecf437fb1ba74ff54dfe67da7ad3de12c922d6c82253fd4ac68a1fc66105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift:10-43 | Sources/FluidAudioCLI/Commands/VadAnalyzeCommand.swift:429-457 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:161-183 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/Nemotron3DiarizeCommand.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b6ab8c1c1158f8e0a5a63f9eee6d6d60d8d08fbdf4bd811417953db964ecf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:334-343 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:531-540 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"474d481ef0238c923b14940e6cbe62d6b6ddc57a4ac985623c650d9929907c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:281-283 | Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift:462-464 | Sources/FluidAudio/TTS/Paradee/G2P/ParadeeG2PNumbers.swift:124-126 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9ed3bd30d63daadcd32edc91587f124e948c45182eb6d83caa07a74897bd20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:85-87 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:101-105 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2786bd4bd688b00cecdb7e75b838e873b5fd7d59fb6d4965e60ce5036f85615"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/FluidAudio/TTS/Paradee/G2P/ParadeeG2P.swift:414-416 | Sources/FluidAudioCLI/Commands/MinimaxCorpusCommand.swift:130-132 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Paradee/G2P/ParadeeG2P.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad063bc494bb22841f8d3094660118bcb63b5dc2553f614f8c66502ca176989e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift:86-91 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:332-337 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a23b6f3c3cf3520ea7e414d444a40de61aeb1f2c8f323c3af88460f5b3e77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift:376-379 | Examples/Phonon2Demo/Sources/Phonon2Demo/DemoModel.swift:309-312 | Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift:375-378 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a43fc825a5d12761f1519357e6fb95f0fbdfe95f0136420fa992332c9d7a58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:349-352 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:1158-1161 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2884e422cdf370fafbc8b6ac242224f6d53614d75f85f6465926a23565a3d1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/FluidAudio/Shared/AssetDownloader.swift:52-57 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsMimiKeys.swift:27-34 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/AssetDownloader.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d17967677b524bfd926378b5a635a6b777379b188691ab74cd67123593a6583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:801-804 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:355-358 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9893d7f0f7bcc49314feaa3592d529f1aa60fe9b8eda8bc21afaed753fef4d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ModelStore.swift:240-243 | Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ModelStore.swift:182-185 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ModelStore.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"700fe2a46e0ba6b1860d3af78631d8be89a7b014b00a2fb0e725bd5d91772876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:1003-1006 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:478-481 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dc945b342bb97081bb770e2c678781061c942c8e7685836da46adfa4e4c3cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:836-839 | Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:299-301 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"80df084ffbed4dc8f147095ebf4c6229e7ac318ad6a66076ad21b265a3ae27fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201361 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:301-351 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:485-545 \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":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"022599c394122ffc1125659d6f7edc6e915816155dfb24070390cfc94bbefa5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201358 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:252-309 | 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:252\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":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b59ff5214ab0ff89083e1887aa7fa9f6f5a8113760118901aaa64123ff6de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:252-308 | Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:416-472 \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:252\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":252}}}],"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:1097-1150 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:1228-1281 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:486-539 \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:1097\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:1093\u0060 calls \u0060exit\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:1222\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":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93e988136dc8304b5c128ae5ba764b8a6f002fe45f41bb6f794a5e9936a56e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:936-986 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:1128-1178 \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:936\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":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"495718ee3d382ef7a9c87b7dd37099401167e92122bec422f45c8380d6ebd070"}},{"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:306-352 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:379-425 \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 189 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:306\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 (45\u201346 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:863-907 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/ParakeetEouCommand.swift:511-556 \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/Streaming/NemotronMultilingualFleursBenchmark.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf89de204c2b76e7454df63b74c9843e761ca456e97ff4c5d72e2e9aa899f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201341 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBlankRescue.swift:436-460 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:951-991 \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\u002BBlankRescue.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"972b8ae5cdd1632aa86281b5bef7fd1e62bfb6a1139f195e67fe0f486f9c97a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:43-80 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:47-83 \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":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"461e9fbda54beb112234fde76f7d525cc296c8ee32da26c9b064fb0e551323e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201337 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:531-567 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:658-682 \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:531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":531}}}],"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 15 separate duplicated blocks between them, totalling at least 255 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 (21\u201332 lines \u00D7 2): Sources/FluidAudio/Shared/Download/ModelHub.swift:100-131 | Sources/FluidAudio/Shared/Download/ModelHub.swift:284-304 \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 (28\u201331 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:419-449 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:565-592 \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":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7076f4bee9b79df91ffa18c77db273ae9c06b23b0a8d3641adbd9f6b01b0f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:136-166 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:118-147 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:136\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":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"da43e6f135e3bda3e33dd933f47f3bd3cd4d100b01d896b77871d4945bc2b1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201331 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:262-285 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:420-450 \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:262\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":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab13635f1e84f22365efede10660f6695309a525eef274dfe30e0919be24d4bd"}},{"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 15 separate duplicated blocks between them, totalling at least 255 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 (19\u201330 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:331-349 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:547-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":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a39796a6cdc5c5ec4aaf4d0889fd107debf30163354920bcfc07b5e2e294ed5"}},{"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 7 separate duplicated blocks between them, totalling at least 103 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":"b87f27e8317d113f746da0bce332c52999fcfc48e691998ef837d7517e6be9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:352-378 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:431-457 \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:352\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":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"88180706dd1e0e5de7e31fdfdd534ccee9c5bd25926cb3dd59b697f09be2c655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1060-1084 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1223-1249 \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":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaa11f168e62a9cb0194777665d77eafd17442ad90c793ea21adb41af295c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:210-234 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:933-958 \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:210\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/Canary/CanaryManager.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d5a31f50fa7e6244ccf605c8faf503865692bdea52ca6490b63481a777f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201353 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:270-322 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:212-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 13 separate duplicated blocks between them, totalling at least 177 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":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fd872a9de7f9433a91a0fea6c04d74e02e2a0bfe6f45e24a9ac642670576ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:306-330 | Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:580-604 \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":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bed699d8aaf6d95abbc91146daf7c434a10f43b396323f13e77bec0a8b3798"}},{"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 7 separate duplicated blocks between them, totalling at least 103 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 (12\u201337 lines \u00D7 3): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:392-427 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:395-431 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:488-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 15 separate duplicated blocks between them, totalling at least 255 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 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":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b53262b916c31a917704cd299e0e1b8d48f44d50d74216bea15510f276e587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:239-263 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:314-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:239\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":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b9f473c4ceb60b99d1569776a0f6ed9426eb23c7259aa2820600c063c85dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:111-134 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:94-116 \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:111\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":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d800b350026d7cbc5f9002fa94cb29b69a63a662677618687e8338eba70c18bf"}},{"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:984-1006 \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:1008\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:43-65 | 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 75 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:43\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":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7319369b20506a44e598328bf077d7c65030e4822cc3718dfa69d77c7ea3582"}},{"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 (18\u201322 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:236-257 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:493-510 \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":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"661e2b93add412ad17e0807e6dd442ad7c5dc82e5bf6bc951a283704f6e03ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:77-98 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:116-137 \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:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"107dfb9c24ddc78c9714955cde7307d1e8dc79396076d3a2512890fe3862db93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:645-666 | Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:850-871 \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:645\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":645}}}],"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":"6a58e63a9c17d5a175abde114b5eb0a79202cc416b4d3d21efcd953e05e5f151"}},{"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 15 separate duplicated blocks between them, totalling at least 255 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 8): Sources/FluidAudioCLI/Commands/TTSCommand.swift:599-617 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:676-694 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:820-839 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1377-1396 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1501-1520 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1592-1611 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1667-1686 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1742-1761 \u2014 all 8 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:599\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":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c687f2e0657864c34b298b2645c2c40383228f027b0b6631da1d8eccef4cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:729-748 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:939-958 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:1131-1150 \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/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:729\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\u002BTokenRescoring.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8083acd1b700cbc079df2bc6a23bf9f0f8ad77b23ca1fa56f9a5fc463ed204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:41-60 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:44-62 \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:41\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":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c27f14b5328d83c055f8ae5a7ba484c8e5fa938694675eb059e3529ed73383f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:963-982 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:1109-1128 \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:963\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":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36789ee36fa530143104a4f3a7447d1f794e22bf01ead7cea0ce7c4d3b6f5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1057-1076 | Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:1104-1121 \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:1057\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":1057}}}],"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 (18\u201319 lines \u00D7 2): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:1176-1193 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:1202-1220 \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:1176\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":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"590b8ab49bc925cb3a048c4d3225345affb600d40d99c07dd82500d3deff2255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:260-278 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:521-538 \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":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59252bb99414f0bcdf42d7aeaa6de0d66633ede4cf0f7a3354315c0a3e70063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:173-191 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:156-174 \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:173\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:195\u0060 calls \u0060streamingEncoderFile\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:179\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":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"48087f160465dabe950b4287a882f0ddfd6e3022c4873ca3a4c5ee3577b7e595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:366-384 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:538-556 \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":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a298c1e4e3082a497eef1beb422a44c940311875fa83843ab6d4977d7e1ce54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:147-165 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:262-276 \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/PocketTtsStateEngine.swift:147\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/PocketTtsStateEngine.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"895e9b9e23d99cb80fe699cfd22be79a21f5f932b9e32f9f215076c43d0b3763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:86-104 | 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: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":"aabd0d09d2df0d46b0fd3c3a6f8e3cd9b7ea753ddecae1ab43c82e181dffe9fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:301-318 | 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 75 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:301\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:300\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":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a99e4263b33347a835e499271096cbdcc73ee11078741a7fa918e6b9655b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 5): Sources/FluidAudio/Shared/SystemInfo.swift:92-107 | Sources/FluidAudio/Shared/SystemInfo.swift:116-131 | Sources/FluidAudio/Shared/SystemInfo.swift:140-155 | Sources/FluidAudio/Shared/SystemInfo.swift:161-176 | Sources/FluidAudioCLI/FluidAudioCLI.swift:217-234 \u2014 there are 5 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 5 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 (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 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:184-201 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:166-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/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager.swift:184\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":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c01c3c240ca7c1d4a98e8ca40be2b5b32df1e872df52833bd618b1a606af12e"}},{"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:526-543 \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 (18 lines \u00D7 2): Sources/FluidAudio/Diarizer/Extraction/EmbeddingExtractor.swift:135-152 | Sources/FluidAudio/Diarizer/Extraction/EmbeddingExtractor.swift:183-200 \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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Extraction/EmbeddingExtractor.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"340e12f0c1e314b3c28e9b38d64627424cb9f5a2c05170a30882c308e615702c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:150-167 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:160-177 \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 189 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:150\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":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0d4b2f4afa56d293fda508d0b81de2010b8e77437bd69d93f74dd04c42e6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:258-275 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallSession.swift:109-121 \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/PocketTtsSession.swift:258\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/PocketTtsSession.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dc8897a7ce3af3c2e83b3901098c3a54d7832a675a568a334262f1f994fe01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:564-577 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:417-434 \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:564\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":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bfb3a280f5c7875d71853cfaaa4b1c282a96bcb84ab1987355f800e6340c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:318-335 | Sources/FluidAudioCLI/Commands/ProcessCommand.swift:397-414 \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:318\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":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d114b66aa7a85f129dfea183699d0067c54399d1611b989e2dae3d754e5c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:730-747 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:802-816 \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:730\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":730}}}],"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 (16\u201317 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:265-281 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:355-370 \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":265}}}],"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:286-301 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:373-389 \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":286}}}],"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:339-355 | 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 13 separate duplicated blocks between them, totalling at least 177 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:339\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":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c965772f87a09d9ac3cb0a72ff5a2ec99df67097d6a057ace054eea868674ad0"}},{"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 (17 lines \u00D7 2): Sources/FluidAudio/Shared/AudioConverter.swift:219-235 | Sources/FluidAudio/Shared/AudioConverter.swift:365-381 \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/AudioConverter.swift:219\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/AudioConverter.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e802f50182e1788beab262c86d36b66f1745854d950a2611659c614cd62c4f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:568-584 | 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:568\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":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6349dd9af87663530e97a899c535b6dafd9c6a3a9b639860857142379b12440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:764-780 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:1037-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/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:764\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":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfa33fcae32f6cf3bfff89a5c2f13405b1831fe64ac5384221660e38b3f10f6"}},{"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/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":"247d7ef8f30fe78e5efcd972bd948c20a3d4884d20baa39d431faa89ac78df59"}},{"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 lines \u00D7 2): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioEncoder.swift:119-134 | Sources/FluidAudio/TTS/LFM3Audio/LFM3AudioCodec.swift:153-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioEncoder.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a455515324b9cf832978b96eec288da8ca5d980583bfe2243d64adb8f08986"}},{"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/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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:341-356 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:408-421 \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 (15\u201316 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:190-204 | Sources/FluidAudio/Diarizer/Sortformer/SortformerModelInference.swift:169-184 \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":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0194c0bd3b5cb2ee8733c9bd4fbc9034fa9e259c52cadd404364aaf61f3a0040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Sources/FluidAudio/Shared/AudioConverter.swift:202-217 | Sources/FluidAudio/Shared/AudioConverter.swift:341-355 \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/AudioConverter.swift:202\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/AudioConverter.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2c00ef63e889ae096e3fdd3ad69e19eacd2262017f614ea0714ebd67fed5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:284-299 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:378-393 \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:284\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":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"523709aa1ec32ca02fdaf081b71d2bb007ec5278ade8deff91b2974ce3fc2f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:211-224 | 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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift"},"region":{"startLine":211}}}],"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:557-572 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:635-650 \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:557\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":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"7402650855a10bef7288e6ae57d33a73f6b7d5c64a5bfa32bad5ee9752762d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:760-775 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:827-842 \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:760\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":760}}}],"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":"e41047d6ab106a7f369bdb01777e2a64abc200f076fdccb411e082ceae799324"}},{"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:196-210 \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 15 separate duplicated blocks between them, totalling at least 255 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 15 separate duplicated blocks between them, totalling at least 255 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 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:556-570 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:797-811 \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:556\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":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0557dd8e21cbd3a963e29509dd88979bf311d0ab1d19ec7cb5c4b768150d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift:91-105 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift:108-121 \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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"da87e201e97314c7ea7709de0bcfe2bb4d58847ecc744a4874aa1abeb0bbe834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:1030-1044 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:388-402 \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:1030\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":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a7acb43339dd773578749e30c10e3eb9930a3e6ea18514e1fb9f9af949f479"}},{"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 (2\u201315 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:362-363 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:385-399 | 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 13 separate duplicated blocks between them, totalling at least 177 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:385\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:384\u0060 calls \u0060bindMemory\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:360\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"863a1f845257360910d1f1c7fe11942127f0baab1bd30b24ade073586aaeb026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:376-390 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:496-509 \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:376\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":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"727825cdc42146c563d5c99a20d837f08fa35c039027774590479a3bc0af29eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:203-213 | Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:546-560 \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:203\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":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59429b816a2a417a9a1df4cd72804689942e579d157f1a975cfac66e5be5ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:207-223 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:161-177 \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/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e040ca157ff1a77c7662a1e31a8c2a3e0f162bc0857cc1cecf98358b624c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:29-58 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:339-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:29\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":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b813c21b3b026f4ac1a38c1d736da1e53632961aa9757b1c3baea1564fea3e"}},{"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:309-323 \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:1097-1110 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1273-1287 \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:1097\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":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a02ad3c85f32424c28d2733622f13055ada30ae14dffb855905761e1982cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:680-693 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:97-110 | 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: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":"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:294-307 \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 (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 3): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1558-1571 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1634-1647 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1710-1723 \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":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6250af47dcae4b8bc1ee7950b33afe173a2ce032efbb26a7b086df0c376f4f"}},{"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/SlidingWindowAsrManager.swift:481-494 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:530-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:481\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":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3850a4b6116bba9d4d52aebfa90fb14ad58867c2e8ec538b256fb30640d573"}},{"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 (11\u201314 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:401-414 | 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 13 separate duplicated blocks between them, totalling at least 177 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":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e89c66d3e3fd658269deb87376837bb3dfc852c0e356abe5ed3b7cfe92a7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:367-386 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:435-456 \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/Diarizer/Offline/Utils/VDSPOperations.swift:128-141 | Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:331-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:128\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":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e509025c134631b633c8ba122a97eeb5d29c7c4ed6f01c340cff6bf2fffd03f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:236-249 | Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:398-411 \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":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd043c6dbd7e62df1504b250fa95144f1016213139f6a8fe3b57acb3c93a643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:157-170 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:156-169 \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 48 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":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"00afbbc61c6858de224b5e3aae5902fc5964c8acde7a237c4f1921a278cdaf3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201314 lines \u00D7 3): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BState.swift:71-74 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:262-275 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:333-346 \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":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8b1a76da40b13c7406c37db9be4cef19894c5144ed2967a79c32b30ccd27ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:107-120 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:74-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/Cohere/CohereBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"33631c468ec7738578b9890ef849a7b9a2874d23745372cb6474679ba34434a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:540-549 | 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":540}}}],"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 7 separate duplicated blocks between them, totalling at least 103 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 (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 15 separate duplicated blocks between them, totalling at least 255 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/LSEENDCommand.swift:220-233 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:296-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:220\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":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"163bdc569107044db8a02e596d562e9c9374a9f928d45ca42e531f3fb7620fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:30-43 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:115-128 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9feba409b5c28a7d76b635afe8506506c2ee69c65332229c6ca2256aa518cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:65-77 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:44-56 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:33-45 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:907-919 | 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:360-372 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:121-133 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:170-182 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:62-74 \u2014 there are 11 copies across 10 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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.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/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c6ee32980f5b3c8577ddd2c99e1617e493eb05203129ceb69e97c3f8b70aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:107-119 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:74-86 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:118-130 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:132-144 \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/Cohere/CohereBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2749598c0ba452a0a87fffc371bbe8182d30e75559a1b73c67988a91a04fbfb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:689-701 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:167-179 | Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:146-158 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:156-168 \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:689\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":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b27ddaa4a20a0094ad32a6358ec78a0ba5a65ef00df1280b72b6c43aab1e7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:46-60 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:49-62 | Sources/FluidAudio/TTS/NeuTts/NeuTtsModels.swift:44-56 \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:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4b49f5887fb4000b059ed0a2625e6ad2eacf18806424ca2451dfda8b92c1d2"}},{"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:919-930 \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:42-53 | 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 7 separate duplicated blocks between them, totalling at least 103 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 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 (13 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift:90-102 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift:106-118 \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: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. 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":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c3f95088c3f9d6e1b120e6c7e3e2b0983d476f1bd60f7b5eec9d1f48b10e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift:961-973 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:351-363 \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:961\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":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d69127a03c48d86c104f5d3c167c684e5f1236cfae26d1994f5db9eede8bfe"}},{"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:481-493 \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 (24\u201328 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:281-304 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:580-607 \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:614\u0060 calls \u0060warmupModels\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:310\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":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7685b4c067d4e0739e26dd7591ba9e5a27ab3e9a3de647147cbe33f3e1ce7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift:227-236 | Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.swift:362-374 \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:227\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":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1db07257a4e1a05bc001051c848d0d9c9702fecdf31a4890db38636d4057beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudio/Diarizer/Segmentation/SegmentationProcessor.swift:115-127 | Sources/FluidAudio/Diarizer/Segmentation/SegmentationProcessor.swift:186-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":"Sources/FluidAudio/Diarizer/Segmentation/SegmentationProcessor.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef812c3231c0b3c36dc5b4031ce182e7898fd444036ecdbe726ab70839566e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:385-391 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:909-921 \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":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d637a6f20694a5262d18dde1a5b1d87d39cde2cc6ab832e38fb7b0557a8e7c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:384-398 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:457-471 \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 189 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":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94de03b1e301e86fd320d0b32fcdae0b9426f35803637cd73ff5d3ea3fe1d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxMLSupport.swift:109-121 | Sources/FluidAudio/TTS/NeuTts/NeuTtsSynthesizer.swift:168-179 \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:109\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":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9a6afd5d11313db8b0a76c54aeff2128b0267cee29b3b74f92df0c24671a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:911-923 | Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d7a597cf0a42ccf1514ea1c1e37ad7d6207aa28604f0abe425e145d49ab8cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift:178-189 | 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:178\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":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5716abde1764bb9b89597af769f52f695ec83b698ac05afc832d06af5441e944"}},{"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 (21 lines \u00D7 2): Sources/FluidAudioCLI/Utils/WERCalculator.swift:44-64 | Sources/FluidAudioCLI/Utils/WERCalculator.swift:87-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:44\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The 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":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c8e5efc10f6754611ecff7e1b5503d3563d0e1685182b94b1fee7ec2915678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 20): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:66-77 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:93-104 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:45-56 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:685-696 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:34-45 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:102-113 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:903-914 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:616-627 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:639-650 | 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:280-291 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:315-326 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:361-372 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:122-133 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:171-182 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:58-69 \u2014 there are 20 copies across 15 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 20 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:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"814ed01974b0eaf6d03f0b2366df9c7fa0e0f95bc728e93fdd25362060188fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:687-698 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:910-921 | 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:154-165 | 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:687\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":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65828a76ea233d2e8dd37c466bf9f4471e8efdb2e465a8b53a503088dd5763c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 6): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:116-127 | Sources/FluidAudio/ASR/NemotronTranscribeLite/NemotronTranscribeLiteModels.swift:125-133 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:148-159 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:172-183 | Sources/FluidAudio/Speaker/CampPlusModels.swift:82-93 | 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 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."},"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 (2\u201312 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:114-117 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:136-147 | 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:495-503 | 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 13 separate duplicated blocks between them, totalling at least 177 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:114\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:135\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:114\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":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b07c6a3a96534b5af56aac052dfea0004103260a311523407783c471f669ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 3): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:649-660 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:677-684 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:686-693 \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:649\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":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e2c9752c7d752473cef8f21652beea6375873886476bd1eb891c7bae8e0126"}},{"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:1139-1150 \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 (12 lines \u00D7 2): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioTokenizer.swift:163-174 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/BpeTokenizer.swift:154-165 \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/LFM3Audio/LFM3AudioTokenizer.swift:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioTokenizer.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"09166a08a971a19a1b74f471e6c790cd11b961cc43183970fa495b64d0614fea"}},{"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 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift\u0060 and \u0060Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 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/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/SlidingWindow/TDT/ChunkProcessor.swift:918-929 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift:493-504 \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:918\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/ChunkProcessor.swift"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"2737135b15c034a373c51c520c2ceda690dc584fdf3166aa89efd5b05045fcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201312 lines \u00D7 4): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:324-335 | 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 13 separate duplicated blocks between them, totalling at least 177 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:324\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":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d3eda85546a0fedd3587a9fefda474dabd4f821dccb72f35409757ef05d428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:390-401 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:460-471 \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:390\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":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"41495479a77c2cd990ede76023c5d083b9a789c1a2da3f8831f7875d2b5aa8dc"}},{"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 (10\u201312 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift:333-342 | Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift:412-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift:333\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":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"39be775f033a3ae4b884356d7fb9201075acbe922f197dba1af6de27fd99b0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:537-550 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:774-785 \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/Sortformer/SortformerDiarizer.swift:537\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/Sortformer/SortformerDiarizer.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ccc9c2923584d2b643ca86ca7b51d476f9d0411f68340b82a14247989167fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/Shared/TokenLanguageFilter.swift:117-128 | Sources/FluidAudio/Shared/TokenLanguageFilter.swift:137-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/Shared/TokenLanguageFilter.swift:117\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/Shared/TokenLanguageFilter.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f30f52cf35eb03f75da23d5be4348bd6bf08b9100738542cf694e6efd9dca7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:135-146 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:253-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/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"52527d6ac89ae0eb12ff0d7d100f76666f8f86b1b3e76dbcca5858b379c29fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/PocketTTSError.swift:11-22 | Sources/FluidAudio/TTS/Shared/TTSError.swift:10-21 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/PocketTTS/PocketTTSError.swift\u0060 and \u0060Sources/FluidAudio/TTS/Shared/TTSError.swift\u0060 as WHOLE FILES: 83% 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":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d273092ccfd9296e7467817c1feba3830189cd67a2efa1af29c69093bfc9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudio/TTS/Shared/AudioPostProcessor.swift:71-82 | Sources/FluidAudio/TTS/Shared/AudioPostProcessor.swift:97-108 \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:71\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":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0829316253fb122bf8f8623c853341d1b70210ee1b2bdd8a0ec8a6730107a4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:118-129 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:235-246 \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:118\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":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb83d03f7bc6a136454a71e73b97e768c6f7deb9751be45f69219a3cefd4defe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:723-734 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:117-128 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:723\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":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c30312c4d652ce1250039153ff3fa68389d69a2575a285b2d4bf4f9d2c895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:763-774 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:887-898 \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:763\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":763}}}],"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:62-73 | 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:62\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":62}}}],"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:408-419 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:458-467 \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:408\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":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e5951ba979800855ef5a73796aa094995331de5d0f94b1486ce4903df55ce3"}},{"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 (11 lines \u00D7 18): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:63-73 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:95-105 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:42-52 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:31-41 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:104-114 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:905-915 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:618-628 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:660-670 | 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:282-292 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:317-327 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:358-368 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:119-129 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:168-178 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:60-70 \u2014 there are 18 copies across 13 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 18 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:63\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:40\u0060 calls \u0060printUsage\u0060, \u0060exit\u0060 and \u0060Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:62\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":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c41c545ef2c4ef59f19f87040ef842e4fa7958032988191762a8fcc26d197c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 10): Sources/FluidAudioCLI/Commands/TTSCommand.swift:602-611 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:679-688 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:823-833 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1105-1114 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1281-1290 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1380-1390 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1504-1514 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1595-1605 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1670-1680 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1745-1755 \u2014 all 10 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:602\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":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6271413733e5e66dba9050ab76c1e5ce787d612dbf1bbbcc40557c6c32bc140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:687-697 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:910-920 | 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:154-164 | 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:687\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":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"862700d78f442b5b04823351f6d8aba94cdbcc75636e95a569d11bf827efa241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:678-688 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:95-105 | 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:199-209 \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:678\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":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b03ba8b0c318cf8ae69f98f8732ad906381fd5e09bebf6aaad8d3c084f3aef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:100-110 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:116-126 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:139-149 | Sources/FluidAudio/Speaker/CampPlusModels.swift:66-76 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:62-72 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/Canary/CanaryModels.swift:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryModels.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8557f74de8e4a3b188400ef304a599c6e8deb79312223777ed725c12cf6196ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 5): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:365-375 | 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 13 separate duplicated blocks between them, totalling at least 177 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:365\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":365}}}],"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:289-299 | 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 13 separate duplicated blocks between them, totalling at least 177 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:289\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":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a14518d8aa78c842629c8ffee445162535305e44e9632fc867618df431be087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/FluidAudio/Shared/Float16Conversion.swift:12-22 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:25-35 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:38-48 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/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 3): Sources/FluidAudio/Shared/Float16Conversion.swift:26-36 | Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:12-22 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:25-35 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/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 3): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:92-102 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:88-97 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:314-324 \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:92\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":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ade3d30a00ee6196a088fe77622e8292130f9e4a158978668c668141730f00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:796-806 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:766-776 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:1039-1049 \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/Parakeet/SlidingWindow/AsrBenchmark.swift:796\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":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fe7a28485cc8e05517226e9f43b7bcf5fc99b7bb05cf6dbb455c3eff3fb378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:90-100 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:73-83 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:134-144 \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:90\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":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7fe20285cd9fe5ac238139d5282d1847354d8d071b9b37930a37555c7d1881"}},{"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 15 separate duplicated blocks between them, totalling at least 255 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 (11 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:209-219 | Sources/FluidAudio/Diarizer/Offline/Clustering/VBxClustering.swift:227-237 \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:209\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":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b718759aa0ebe7b64bed32a20b0abfdf4296ff77891285690c37e44570f57c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:572-582 | Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:593-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/Extraction/OfflineEmbeddingExtractor.swift"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9883d65bebfe73c681a0af5d739135a0120c2ca1482736ab08741dd32fa9a6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:193-203 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:125-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/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:193\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":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff675d0761313c0bd73ab677730576b559996122107b5efd858560609d58f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:187-194 | Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:427-437 \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":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b16004c994c3e756ab3a0476532b0f9f97d0c9f82d50f7e8bc8805b80fd002d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:223-232 | Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:334-344 \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:223\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":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea908b268defabfb2ca4e5b55bc32e4516511d3d5fb4bb91ca65bc096442aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:250-258 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:450-460 \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:250\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/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5485d5ddeea5fec10ccc1b1e45164dd887284050a90ac8a295c3d8b8f0242c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:39-49 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:430-440 \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:39\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":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b45104eac0ce93e2635aa918437161d9cd9e9761668fff15023d2ada49cd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:468-478 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:484-494 \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":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb108f5205a321586ee05ac79204b0ce32811ce016cdd6ae544ddb44fd53c6a"}},{"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:195-205 \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 (10\u201311 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:211-220 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1263-1273 \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:1034-1044 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1178-1188 \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":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"e801c54ec8544c17a7ee6371370f239b4c06a8f052916925e46258ab8ffc7cc7"}},{"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 (10 lines \u00D7 6): Sources/FluidAudio/ASR/Canary/CanaryModels.swift:105-114 | Sources/FluidAudio/ASR/NemotronTranscribeLite/NemotronTranscribeLiteModels.swift:93-102 | Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift:121-130 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift:144-153 | Sources/FluidAudio/Speaker/CampPlusModels.swift:71-80 | Sources/FluidAudio/VAD/Fsmn/FsmnVadModels.swift:67-76 \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/Canary/CanaryModels.swift:105\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/Canary/CanaryModels.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4941676ba653e6051f1b8c4055896fc425524c365f94ad5d3e60bea0e57f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:120-129 | Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:279-287 | Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:344-352 \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:120\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:275\u0060 calls \u0060info\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/Assets/KokoroAneResourceDownloader.swift:342\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":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bae2022b8e052725e8d2866bc5b61d33ba8a09f8c9397b6ae536841ec3378a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:725-734 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:119-128 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:865-874 \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/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:725\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":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd8b95fe33758a27a29229e9568f5512832300b4c24418a52d8e0cab64d7cb6"}},{"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:129-138 \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:249-258 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:507-517 \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:249\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":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e377dc2eee59dacdc8958f59e4aaa0cb698795d237aa6248127bfc8ab336a2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:121-130 | 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: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/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f139ea93cc0896a4a9d0387399dffb4230cd99a76ac683e8391e442609b1092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift:238-247 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:215-224 \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:238\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":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"486d680278908e2575cd09df13cfcc2c000021ff5bb219997360dfa40e61a2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerManager.swift:636-643 | Sources/FluidAudio/Diarizer/Offline/Extraction/PLDATransform.swift:187-196 \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:187\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":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"c705cf388bdb3b55c5ad236b5db46de5f3a51a37d17cc815ace0f2475311c14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:81-90 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:92-101 \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:81\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":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0c9ece5373c00f696e555cbd6bc19a127e41fafb1c50ec48f9e2f73d3ea6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:56-65 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:64-73 \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 189 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:76\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:68\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":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96244118bb48a043dd54c9d91b8d80d696e84f22601696a5f09b4aae0e082bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:126-135 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:84-93 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"148a5c201ed1a5d4a9a5d38b5ac69acee2ab4df1069b59c3e975e318e977b2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:164-173 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:122-131 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81ea2928b967a2de6ca17da7cfd3c5d4252ac596abfb73ce9efcf156c5ebc04"}},{"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:149-157 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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:207-216 \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:218\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: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:1171-1180 \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 (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/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 (10 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1088-1097 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1735-1744 \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:1088\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":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7a3f1a10b810fb292fc173d7ac61838a7c3ddcb6a1e6e89f47a3f65bd8c52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1461-1470 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1557-1564 \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:1461\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":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7de31c54f7f61395e86fe20389c5db89fd6a50806facb34c9f1145d49ac559a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:107-115 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:74-82 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:118-126 | 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:299-307 \u2014 there are 7 copies across 6 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 7 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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a106c30accea90b015769eadef883e0f08113ce2c12e63069bfc72dd73b41d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:154-162 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:227-235 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:276-284 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:380-388 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:406-414 \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:154\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5b257b501f1eb57d477d8b8be4aba3a2e42a61302fc58c88fd5583af4a3dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:189-198 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:195-204 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:121-130 \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 48 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:189\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/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/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:59-67 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:69-77 | Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:147-155 \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/Parakeet/SlidingWindow/CtcDecodeBenchmark.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90b93d16c029cd6f68d4605577a33a7cf42cdb1610449b3a2e6ba705edd2102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:212-220 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1264-1272 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:443-451 \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:1088-1096 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1252-1260 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1735-1743 \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:1088\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":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48f20540d3cc605c6cd4ff6e4723a6a6cef5009b06a0c9a7dbe8aecd367557b"}},{"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 (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 (9 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Extraction/OfflineEmbeddingExtractor.swift:1076-1084 | Sources/FluidAudio/Diarizer/Offline/Segmentation/OfflineSegmentationProcessor.swift:552-560 \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":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29d4dc7f9266cc62b2fa26b0f5444ddd6e96979cae46dee415544d51996b3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:94-102 | Sources/FluidAudio/Diarizer/Offline/Utils/VDSPOperations.swift:209-217 \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":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99e02e0705774a666017deec345a85728d045c0409a51bd3d4d61e302db8e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:456-464 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:491-499 \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:500\u0060 calls \u0060processLocked\u0060 and \u0060Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:465\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":456}}}],"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:329-337 \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/Shared/Download/ModelHub.swift:267-275 | Sources/FluidAudio/Shared/Download/ModelHub.swift:364-372 \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: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/FluidAudio/Shared/Download/ModelHub.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"811d420eebe8797a98378e43ee0a9de2b9c2f134cc148cf47c0cc34d587438b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:67-75 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:76-84 \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 189 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:75\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:66\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":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffead86443a69edea557ffd39678c5e986ea264bc0dfe511b67cebeacf12d896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20139 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:100-108 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:95-103 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:27-27 \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 48 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:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4d0c4166dd42dc9b6163d1604a55f728960ebfe605806b44ec2c841a9cf87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/G2P/G2PModel.swift:168-176 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:145-153 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/G2P/G2PModel.swift:168\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:167\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:144\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":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4fe64a8356886048871ac246781e06376018f09e44fd9120917e74ddc2e101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift:393-401 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Tokenizer/StyleTTS2Phonemizer.swift:266-274 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa0c1ad2c52beacc426fe114787bfe62101a8cad2d1877a8fa695d5c6b7b940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:208-215 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:269-277 \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:208\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":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee286e6b2d1dd07b6bfead45db6918df5f5215e0e0d4a71d728386951343bf91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsVoiceCloner.swift:94-102 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2GlueOps.swift:91-101 \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:94\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":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"43de536c99daa7f39c3d17739958ed9bc93b77aeaae889c085445d4123f63b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:83-91 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:106-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/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.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/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd691550d88c818e4d62b73faa723c2c1665c9442fa793648ce9ef4bb4f4b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:253-261 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:265-273 \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":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eba6dee2c92cacdc75511e77efd89d1dd2100634f1cbabf890a9876ef6dd37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:88-97 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:113-121 \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: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":"042cc697145af17e4795e35726cbb7218dbb8afed9067e7efc287175c49ceb56"}},{"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:45-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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:44\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/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":"ece974231ba37edf8f4e0df10ffd837d1ff79a7bf51ccdee7861c2b9ba69410c"}},{"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 7 separate duplicated blocks between them, totalling at least 103 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 (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSAsrVerifyCommand.swift:387-395 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:1316-1324 \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:668-676 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:752-758 \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:668\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":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d036532408500807d44cddf4ef2d850a630b11598bc27ff6f45150d5da26e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:665-672 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:42-49 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:105-112 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:249-256 | 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 13 separate duplicated blocks between them, totalling at least 177 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:665\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:116\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift"},"region":{"startLine":665}}}],"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:652-659 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:679-684 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:688-693 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:696-703 \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:652\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":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"22871751a2b959246ce08fb7d2694788ac70d1c7276edec2fce01b5822b55a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 20): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:412-414 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:611-614 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:831-833 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:212-213 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:297-298 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:173-174 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:579-581 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:658-660 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:790-793 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:800-801 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:960-961 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1050-1052 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1186-1193 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1357-1359 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1481-1483 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1568-1575 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1644-1651 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1720-1727 | 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 7 separate duplicated blocks between them, totalling at least 103 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/SlidingWindow/TranscribeCommand.swift:611\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:86-93 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:109-116 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Preprocess/Supertonic3TextChunker.swift:124-131 \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:86\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":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a48b2914775f4d4f40fb44595fbd2f691a8d843e1b959aee26ced8f0d204c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:105-112 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift:72-79 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:270-277 \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: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/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c56905bffd060539122a6cbfe26ee865c9b24291c96e8414ce98127d8e0a6a"}},{"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 before extracting anything, compare \u0060Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift\u0060 and \u0060Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 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/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/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift:101-108 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.swift:193-200 \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/AsrManager.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"faecc5e308b889e8f2f9d1373a69636fa5c05a34e16f0a58d7265f9ff39974d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/EncoderFrameView.swift:21-27 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtModelInference.swift:193-200 \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/EncoderFrameView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f533c09db24c8ec927e018acf88bde2b0b2d647009ad3d13d8b50082a606738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3Models.swift:405-412 | Sources/FluidAudio/Diarizer/Sortformer/SortformerModelInference.swift:307-314 \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":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8998a544e29e0f0c1f725dcb4732afbb2f1cc5905e8587b16b79a33a5f17ae"}},{"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 (8 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:124-131 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:128-135 \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 189 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":"fae246f69ab60e93f845ae6fd257846dc682690808f6b74077c02ea034545a3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudio/TTS/G2P/G2PModel.swift:121-127 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:137-144 \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:121\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":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba709a5a22b74bfa849491a2612867b449dd0741b0a9cc6f7c08228f918455d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift:306-313 | Sources/FluidAudio/TTS/PocketTTS/Assets/PocketTtsConstantsLoader.swift:445-452 \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:306\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":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf952d758d9a41b4a4f893fc1d059d4296878dd0bca50595b9bb68c90a41e894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:266-273 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:326-332 \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:266\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:274\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:333\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":266}}}],"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:313-318 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:344-351 \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:344\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:343\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:312\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":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4a34247da3d10bff3901e318a01d895b9c91d15a7e729e948c649d71ddf444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/CanaryEarningsBenchmark.swift:152-160 | Sources/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.swift:283-291 \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:152\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:292\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":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe69d1112fdd8d091d9fcfb030837240e4edc1de113ab1ced8b1f6ad6cb8410"}},{"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 (11 lines \u00D7 2): Sources/FluidAudioCLI/Commands/LSEENDBenchmark.swift:327-337 | Sources/FluidAudioCLI/Commands/LSEENDCommand.swift:126-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:327\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":327}}}],"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/TTSCommand.swift:803-810 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1363-1370 \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:803\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:1371\u0060 calls \u0060Double\u0060 and \u0060Sources/FluidAudioCLI/Commands/TTSCommand.swift:811\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":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"34394e48eeb5ec95dcb2ce8ef17c67f12966c29744aa2f1d46abb0a2ad0e2673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudioCLI/Commands/TTSCommand.swift:1579-1586 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1655-1662 \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:1579\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":1579}}}],"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 (15\u201316 lines \u00D7 2): Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:68-82 | Sources/FluidAudioCLI/Utils/ResultsFormatter.swift:273-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Utils/ResultsFormatter.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49d5ee0d56b6486b4f73a26494e85268ba2b9e5b96b2cd258a85b57d149f361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): Sources/FluidAudio/TTS/Chatterbox/ChatterboxModels.swift:121-127 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoModels.swift:133-139 | Sources/FluidAudio/TTS/Inflect/Assets/InflectResourceDownloader.swift:42-48 | Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:43-49 | Sources/FluidAudio/TTS/NeuTts/NeuTtsModels.swift:103-109 | Sources/FluidAudio/TTS/Paradee/Assets/ParadeeModelStore.swift:148-154 | Sources/FluidAudio/TTS/StyleTTS2/Assets/StyleTTS2ResourceDownloader.swift:152-160 | Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ResourceDownloader.swift:99-107 \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":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab17d435dfbf2f10e83cb06cc9a16b63354fe880bd95a95d89e7a4dc283b20e"}},{"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:409-415 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:436-442 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:459-465 \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:802-808 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1362-1368 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1486-1492 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1578-1584 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1654-1660 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1730-1736 \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:802\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:1371\u0060 calls \u0060Double\u0060 and \u0060Sources/FluidAudioCLI/Commands/TTSCommand.swift:811\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":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d8a687a4ffd18681edfb3410f7bc1115580016706e11fdb74c651fe8a34a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Sources/FluidAudioCLI/Commands/TTSCommand.swift:780-786 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1184-1190 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1566-1572 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1642-1648 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1718-1724 \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:787\u0060 calls \u0060reduce\u0060, \u0060Double\u0060, \u0060squareRoot\u0060 and \u0060Sources/FluidAudioCLI/Commands/TTSCommand.swift:1192\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":780}}}],"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:344-350 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:392-398 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:417-423 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:465-471 \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 189 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: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. \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:341\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:391\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":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2b601f0bf2e647d91cb2d43c8ce487fd6f4fd6f3c3791b4d78719c53d6dd51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:61-67 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:69-75 | Sources/FluidAudio/TTS/NeuTts/NeuTtsSynthesizer.swift:66-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 189 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:76\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:68\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":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bea44eb92f0fedb07236649ad145c85da6bf0cdf8083adac2926262970e4997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:125-131 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:129-135 | Sources/FluidAudio/TTS/NeuTts/NeuTtsSynthesizer.swift:103-109 \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 189 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":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d22d8450b1ec06996b9cbead880512aba4240c9aaf0648965da39c2e75e7538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/FluidAudio/TTS/G2P/G2PModel.swift:118-124 | Sources/FluidAudio/TTS/G2P/G2PModel.swift:141-147 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:135-141 \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":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"769fbd53de1d028420cc9c7605b799d80b4526459bf4a9ffecf9f81af6df4681"}},{"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 15 separate duplicated blocks between them, totalling at least 255 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:1461-1470 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1558-1564 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1633-1640 \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:1461\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":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1db545977aa2cf57b5eae7ed09bb41dea2ef52d473acab06c3275f58144827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:267-273 | Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:997-1003 \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":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"891ff4d8f83ac1f6a316ecd1374f4cc2bf9c5fe375578bc94e4172d186156954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioModels.swift:272-278 | Sources/FluidAudio/ASR/NemotronTranscribeLite/NemotronTranscribeLiteModels.swift:92-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioModels.swift:272\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/LFM3Audio/LFM3AudioModels.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"59487c6cfca493939886e4fefcc7837af497844c1fe1b35827f6e34d8eb7277d"}},{"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:506-512 \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/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:99-105 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:373-379 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift:96\u0060 calls \u0060defaultConfiguration\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:368\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":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad19238d54e13c899f9f4dd8fd3656fca348824fcbf720bd3a312df5f1311d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:401-407 | Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift:422-428 \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:401\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":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"815b3b4e9efb8b8fd6335c667eed07936e32958d4356cead7a7f2dff28325db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:238-246 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:271-279 \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":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b823386a7bf5e337014392c890c04344ed2acb6d83c352461248e605fa5784ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:376-382 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:449-455 \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 189 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":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3826899c19f704691d28a0515c63ca6b99960e8f62d3345e970844f65852cdf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:85-93 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:79-87 \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 48 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:85\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/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:89\u0060 calls \u0060malformedAsset\u0060 and \u0060Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoTokenizer.swift:94\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/ChatterboxNanoTokenizer.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dbfb094e156709585d0df11363340d376a0ebc7d74874ea15bb4c2c6c3b595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:205-212 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:163-170 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:205\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/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"441c5e180b377579ac5eed7d7f0637e4b96c5d73b1ba210ec1818c1e8e4ad9b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:306-312 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:483-489 \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":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"255d1e98f37fea01fc59068c93ec040df2e770e4b418f82f06d5bc76dd8d131b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1607-1613 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1653-1659 \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:1607\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":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53a0ed999460f0fff8563d74751825648724051cb5ff5b4fa35e5c0aaed36df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:323-329 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:341-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/PocketTTS/Small/PocketTtsSmallEngine.swift:323\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/Small/PocketTtsSmallEngine.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ef1227ae0c3862b787e5a14bfb38df50f909362a41cb5ff2b51477a605306c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Tokenizer/SentencePieceProto.swift:105-111 | Sources/FluidAudio/TTS/PocketTTS/Tokenizer/SentencePieceProto.swift:155-161 \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/Tokenizer/SentencePieceProto.swift:105\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/PocketTTS/Tokenizer/SentencePieceProto.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc842f191dae8592ca87f7abdc2d5c1da6992c52d5d068b215883109e45bb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:14-20 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:30-36 \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":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a5172e6f0112c17131add8405c56e4a2907920f70e03494b08925266a419fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift:248-257 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:139-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 75 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:248\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":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7551d3ac9028c3cc3c19b01fcd07f9dafdae6222942dafe09148bf093a074896"}},{"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:578-584 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:668-674 \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:578\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift"},"region":{"startLine":578}}}],"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":"276a5badb9aa97ae4676296d2b9d072f4e6a37149fa1702fb228c642cd6fb2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:42-47 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:105-110 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:249-254 | 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:409-414 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:436-441 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:459-464 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:678-683 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:687-692 \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:42\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":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86426f1ed3a63f4838c10828b1175b8bb5a0036fd137e43e4f911176682e343"}},{"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:417-422 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:444-449 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:467-472 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:489-494 \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:665-670 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBuffers.swift:117-122 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:167-172 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:651-656 | Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift:235-240 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3Synthesizer.swift:174-179 \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:665\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:172\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/TTS/LuxTts/LuxTtsSynthesizer.swift:233\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":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad75ee3eebb46642bee1187527dcb5fd955b2de5479f749a2f385e7926d2657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:106-112 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:126-132 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:250-256 | 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:910-916 \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 13 separate duplicated blocks between them, totalling at least 177 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:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just 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:116\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7b8cc39030cbedce0a36bffe79589beec8ea009cf640a8654a9dac0562a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:125-130 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:410-415 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:909-914 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:271-276 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2Synthesizer.swift:375-380 \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:135\u0060 calls \u0060featureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:918\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":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882a17f5c1e260f39fa4ef79e6573470e8835c2e14153a59499683c81f28d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:167-172 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:651-656 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:678-683 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift:687-692 \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:167\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":167}}}],"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:578-585 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:668-675 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:752-758 | Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift:820-825 \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:578\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cd466fca13ceaa37936c3028c623b2e016dc8606a03cffd6c23fe9123836db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:190-195 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:229-234 | Sources/FluidAudio/TTS/Shared/EnglishTextNormalizer.swift:341-346 \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":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"43682d79295215a9f4ad407a9b4edd18f91ccdf2465f004354d80fe8c949bb2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:86-91 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:109-114 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:125-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/KokoroAne/G2P/Mandarin/MandarinPinyinDict.swift:86\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":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb461cf81ada92dcd8e324f8b44d962b79bb09902580d881af5908ea8127937f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:151-156 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:168-173 \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:151\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":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"155c88b6823b2a6765a5b84888ff75c2790c84a22b37d9b35db1d5c82de527e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:298-325 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:371-398 \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 189 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":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c417bed04ccf3a3d2ced267b2fdea0e26bb9b7392b75fc4504d346170e76745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:364-372 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:437-445 \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 189 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":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18a4652b597bd3e3472cb155f89bc35c4c4b254117b28a124503681870ca52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:409-415 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:482-488 \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 189 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:111-116 | Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:106-111 | Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:30-32 \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 48 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:111\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":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"158f0977bafc53dea3a6010e6af26bab428dcbc885428817bc6d0adbaa49cdbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Tokenizer/ChatterboxTokenizer.swift:62-68 | Sources/FluidAudio/TTS/NeuTts/Tokenizer/NeuTtsBpeTokenizer.swift:62-68 \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/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/KokoroAne/G2P/English/KokoroAneEnglishPhonemizer.swift:375-380 | Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Tokenizer/StyleTTS2Phonemizer.swift:251-256 \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":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"5836a1993b7f48580eedec02138494f5462cae9c604aa1bbacf43f738138220e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:216-225 | Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:230-235 \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:216\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:226\u0060 calls \u0060digitString\u0060, \u0060intToHanzi\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinNumberNormalizer.swift:235\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":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c4a8424df94c73c5ebf1cbdea95343288cc2161a8e4589752540375e3aee58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:396-401 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:144-151 \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":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8e38bb42231fd0096c5654199df207db6a7fde149055607a53fdb1450fa3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:262-267 | Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:268-273 \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:262\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:261\u0060 calls \u0060interpretYear\u0060 and \u0060Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:267\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":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bf72881e8892806e42a0174038f6ff7b803851f5df06f9df2fd60b0c71aeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:19-25 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:22-27 \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:19\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":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"91487b8ca8b5408ae954175e0e94134fd67193437f66f47ca817c7d57dac322d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/StyleTTS2/Pipeline/Synthesize/StyleTTS2MultiArray.swift:31-37 | Sources/FluidAudio/TTS/Supertonic3/Pipeline/Synthesize/Supertonic3MultiArray.swift:38-43 \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:31\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e971e8a6f3beae58c5a545d8174e4f967b37fcd84f649bafd852187da540abbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:579-584 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/TranscribeCommand.swift:757-762 \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:579\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":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed4b8f9a3eabeef2605ab0959a2567f1200ef11624a9c8c899c8da2ba1b5c49"}},{"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 15 separate duplicated blocks between them, totalling at least 255 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":"3e5dcbf897ae652c3c1f4d3ba89387b2a1044d080d830304c9c83a6224f77622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudioCLI/Commands/SortformerBenchmark.swift:333-338 | Sources/FluidAudioCLI/Commands/SortformerCommand.swift:190-195 \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/SortformerBenchmark.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dda06f21e18fe23b0b0d1bb95ae31ea68c3016cae444710b5cbce730d444d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudioCLI/Commands/VadBenchmark.swift:131-137 | Sources/FluidAudioCLI/Commands/VadBenchmark.swift:573-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:573\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/VadBenchmark.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"97841cec9e6b3f00ba42e3106505c7265a0334be08da9c8ac103c400f7aece9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): Sources/FluidAudio/ASR/Parakeet/Streaming/EOU/StreamingEouAsrManager.swift:663-667 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:41-45 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:104-108 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:248-252 | 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:165-169 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:408-412 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:435-439 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:458-462 \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 13 separate duplicated blocks between them, totalling at least 177 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:663\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:669\u0060 calls \u0060MLFeatureValue\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:47\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":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1510e3b567d5dc02b1b33f0133d5558900fbd4da380a6b93f1dd9b2abcaac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): Sources/FluidAudioCLI/Commands/ASR/JapaneseAsrBenchmark.swift:378-382 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:566-571 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcDecodeBenchmark.swift:363-367 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1146-1150 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift:1183-1187 | 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 (5 lines \u00D7 8): Sources/FluidAudioCLI/Commands/TTSCommand.swift:584-588 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:663-667 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:802-806 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1362-1366 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1486-1490 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1578-1582 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1654-1658 | Sources/FluidAudioCLI/Commands/TTSCommand.swift:1730-1734 \u2014 all 8 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:584\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":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc78a8f4ff7f58ffae07c95cba6fc79f60b538b656f1bc3ce14a8c9b867733b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BFlow.swift:42-46 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:99-103 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1607-1611 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1653-1657 \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":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424cabda4aca6dda91e90f7e6e96d3f5973fa6e4f3e93cebd6ff1ea3ed7e847"}},{"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: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/Paraformer/ParaformerManager.swift:439-443 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:343-347 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:416-420 \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 189 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/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:280-285 | 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 13 separate duplicated blocks between them, totalling at least 177 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:280\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":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b874be5175ae4a6b249895d8442b95bde75518d02da1a3f7230a6a408ae72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:127-133 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:246-251 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:249-253 \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/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:127\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":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"73265446b9f7940dcc30a038deb7f23db2fcf3b067f597f90a43ed8ee5e2a5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:147-154 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:199-206 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallEngine.swift:262-266 \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/PocketTtsStateEngine.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"225f796d8cd475e86993b5bb50f2411ad1d4bfde938af43f2237f3c2ee5f44a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:191-195 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BFlow.swift:40-44 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BMimi.swift:97-101 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:191\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":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4ed2975da34b875b2e4b3dbdcdd8092868a454ff8c4a73e2ec494af41dc5f"}},{"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:1176-1180 \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 3): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift:58-64 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualMultiStreamBench.swift:41-45 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronTranscribe.swift:43-49 \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 7 separate duplicated blocks between them, totalling at least 103 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":"89a26d6676ad736e7e90f3e781cf4239f9211c1aaf0c5bc58490734c8d02b971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:287-291 | Sources/FluidAudio/Shared/AudioMelSpectrogram.swift:640-645 \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 (10 lines \u00D7 2): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioEncoder.swift:176-185 | Sources/FluidAudio/TTS/LFM3Audio/LFM3AudioCodec.swift:292-301 \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/LFM3Audio/LFM3AudioEncoder.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d01b3fd32879bac102427e4a99b74022a1b90256a7c27930557b272e522d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:576-582 | Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift:816-822 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"99680ee8a2f0a3710cbe670cb5dce0f6e51de32aa2a0575706d68da8fc1d620d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 7): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:359-362 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:377-382 | 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 13 separate duplicated blocks between them, totalling at least 177 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:377\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:382\u0060 calls \u0060MLMultiArray\u0060, \u0060NSNumber\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronAsrManager\u002BPipeline.swift:362\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":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64be883d8ad65066719d8d610b8939659e824105413bcd712bfeda02086f5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BDecode.swift:358-362 | Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift:473-479 \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":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b274fb755fcb62e9e613a6236654ae436e36ffc947124a0bfb436a99e343850"}},{"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 (5 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoSynthesizer.swift:179-183 | Sources/FluidAudio/TTS/Chatterbox/Pipeline/ChatterboxSynthesizer.swift:190-194 \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 189 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":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"627cfd27872b1ff208c44da8f6d0d9f42f036f5844d0ea55f27733b6c6756ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:71-75 | Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift:24-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"daffbcf5d84b801a594d5e3c9df2b08e9f622f6b068933b5b60b2f1399bfb577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 6): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:289-290 | Sources/FluidAudio/TTS/NeuTts/NeuTtsPrompt.swift:41-45 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:796-798 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:824-827 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallSession.swift:84-86 | Sources/FluidAudioCLI/Utils/TextNormalizer.swift:307-311 \u2014 there are 6 copies across 5 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/TTS/KokoroAne/G2P/French/FrenchG2P.swift:289\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":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc34157b0a20c9c8ad7565183c350c795d2ad452b3b07852a0d1e5aca7bfecaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:184-189 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:193-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. 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":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d54cc5bb1120f1ce0e3b1f0ee005ec7c7b577c6997ba3ba693b4c5f94589de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsStateEngine.swift:180-186 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer\u002BKVCache.swift:554-557 | Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift:1650-1654 \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:180\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/PocketTTS/Pipeline/PocketTtsStateEngine.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eb7387669e56b0f308ecdcd4e48d836eb6b14a74862eb4e0aa81c5ba84f6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallModel.swift:318-322 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallModel.swift:359-363 \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/Small/PocketTtsSmallModel.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f565cb2d31a93bbb53fdcea33ce02815826349394896676357f3955e91131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:251-255 | Sources/FluidAudio/TTS/SSML/SayAsInterpreter.swift:271-275 \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: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. 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":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f934898a784932b2435398b6c77fbaf587663b7240d192e781f9a00765399f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:954-960 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift:1015-1021 \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:954\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/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50a5a8854f57bce57c569342654b6289dab29b4e29859040083a28eefe0e5d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift:1022-1029 | Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:821-827 \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/FleursBenchmark.swift:1022\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":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"074403feffbf3e70528b04cb6cc3d454cc24e595a2a12d84db8c87667084a583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualFleursBenchmark.swift:500-506 | 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:500\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":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0776807ac57d582f6d7d14427e0632ac7e1a5c62b9ad0974f0b72392fc67aef"}},{"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/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 (8 lines \u00D7 2): Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/Decoder/TdtDecoderV3.swift:816-823 | 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":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ad995a303cde34560a49f7bcef0c9d251e0c5102d094c98a0874ab23203b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/Diarizer/Sortformer/Offline/OfflineSortformerDiarizer.swift:230-234 | Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizer.swift:165-169 \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":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd881eb3f1583d2414f345f57737321246856ebc1de858ffab08a51ca1ffdf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/FluidAudio/TTS/G2P/G2PModel.swift:62-67 | Sources/FluidAudio/TTS/G2P/MultilingualG2PModel.swift:46-51 \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/G2P/G2PModel.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"803993d7a902ab9ac4dac1879fad6756ed33f877f2d67a82e198935be57edd10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Inflect/InflectManager.swift:189-197 | Sources/FluidAudio/TTS/StyleTTS2/StyleTTS2Manager.swift:331-339 \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":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae2ec0b2244ecf7d64befc641c4801eea5eefee7e673bac835edf63941c7f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:39-43 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:52-56 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fe347dbf1ba4d58f2c7052699464f7601a503cfc4f2d53a70426c86119b5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/LFM3Audio/LFM3AudioDepthDecoder.swift:10-16 | Sources/FluidAudio/TTS/NeuTts/NeuTtsSynthesizer.swift:250-256 \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/LFM3Audio/LFM3AudioDepthDecoder.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5061cbad4339eab6a7bafd5e48898c507cd5257180dc1c8a9220ec1e4d2df976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/LuxTts/LuxTtsManager.swift:49-57 | Sources/FluidAudio/TTS/LuxTts/LuxTtsModelStore.swift:90-98 \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":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb8fe3e102263f87ab04fb44d331678006d0d2a97322eaf772182cc0d50565d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift:220-233 | Sources/FluidAudio/TTS/PocketTTS/Small/PocketTtsSmallSession.swift:66-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"359a7ebb23881d290b84f0d7a7cc3c2b13a509c632ef21c5cfc868e2b5a2ce1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift:588-612 | 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:588\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":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50edbc719a1073ec23d4071cdc420e23c3a18c7a2520fe016235340271542d8"}},{"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 (5 lines \u00D7 2): Sources/FluidAudio/ASR/Canary/CanaryManager.swift:71-75 | Sources/FluidAudio/ASR/SenseVoice/SenseVoiceManager.swift:60-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Canary/CanaryManager.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2af45acd735512d3231bfaee00e5d62921e9b1c70b1803c014089ec87cfea7"}},{"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/TTS/Chatterbox/ChatterboxManager.swift:33-37 | Sources/FluidAudio/TTS/NeuTts/NeuTtsManager.swift:32-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab80d56826ae6e438214c9660f815db00d94bd5c5f1b84282de2d3dcb49818e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/FluidAudio/TTS/Supertonic3/Assets/Supertonic3ModelStore.swift:40-48 | Sources/FluidAudio/TTS/Supertonic3/Supertonic3Manager.swift:52-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \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:38\u0060 calls \u0060private\u0060 and \u0060Sources/FluidAudio/TTS/Supertonic3/Supertonic3Manager.swift:46\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":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd3b700ee624b0fd6285541d3758fff4ace39a2e610709c7ee036fb76599a3d"}},{"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 (6 lines \u00D7 2): Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioEncoder.swift:151-156 | Sources/FluidAudio/TTS/LFM3Audio/LFM3AudioCodec.swift:225-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/LFM3Audio/LFM3AudioEncoder.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0757c41e60f5f3b6bd8332148ea1bade6b52a07d9e17c1c60141a5378e1a4c09"}},{"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/Shared/AudioConverter.swift:663-667 | Sources/FluidAudio/Shared/AudioConverter.swift:671-675 \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":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb280a566295e6112092dfa76fb4e4b747db156fcddfa88d6ffdd0f1f6fce2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift:68-74 | Sources/FluidAudio/TTS/Chatterbox/Nano/ChatterboxNanoManager.swift:78-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Chatterbox/ChatterboxManager.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ae840d5e64e6d1360d41e8443bb3de650ae382600eaf4ef3c873c5b2918d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/Inflect/Pipeline/InflectSynthesizer.swift:135-139 | Sources/FluidAudio/TTS/Paradee/Pipeline/ParadeeSynthesizer.swift:109-113 \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/Inflect/Pipeline/InflectSynthesizer.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b662af7511490c7f81ff9c3b04d991ebe3fa75a7a9105cf28cc771d8ac72d0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/Inflect/Pipeline/InflectSynthesizer.swift:142-146 | Sources/FluidAudio/TTS/Paradee/Pipeline/ParadeeSynthesizer.swift:116-120 \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/Inflect/Pipeline/InflectSynthesizer.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"801bbce04381f22a8c8951e658d7d25bef8edac09e88bffee4bd8174f3c88624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:130-134 | Sources/FluidAudio/TTS/KokoroAne/G2P/Spanish/SpanishG2P.swift:37-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/FluidAudio/TTS/KokoroAne/G2P/French/FrenchG2P.swift:130\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":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"183b5728ef88e5b2a8568c421440f2048def44bd309338da64e32c30d59ab6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:105-109 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:61-65 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:105\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/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"90564d8e3972206acc86a878652bd4feb6b62c4816eabbb30bfc30d1ce914adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:143-147 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:100-104 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:143\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/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c120b9d567a4872aed18c77428c12b8e64c587d1b93ac67481d16e13f2713b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift:181-185 | Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift:138-142 \u2014 before extracting anything, compare \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Arrays.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 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/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.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/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BConversion.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6128e77b9d1f60073401af31ac8071e10598fa73b973f6c53c7dde6c3d0aacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:338-344 | Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift:420-426 \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":338}}}],"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":"Edited copy of a member (45 corresponding lines): Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:350-394 | Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py:398-454 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/nemo_ami_benchmark/nemo_ami_benchmark.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0fb043a47dc15af43d1580b8a9b0b0eb78950fc6194f470944e9c6292d32a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift:126-142 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/StreamPlayer.swift:111-126 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c3eea6ad6c0df0f370f81d876e48ba06c599a1c8f7c01d03e3d58ab5346c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift:344-347 | Examples/Phonon2Demo/Sources/Phonon2Demo/DemoModel.swift:284-287 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"da62e0796deff679be7ea94e692a673ba05c4721304152e6fcf1ea09d3d63dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift:87-93 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/StreamPlayer.swift:70-76 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cfbdda5b3ab071d1ccc0e2d7bd7da5ce26b43e38c21ca7fa9b8139f748c59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift:371-374 | Examples/Phonon2Demo/Sources/Phonon2Demo/DemoModel.swift:304-307 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc942981b29547d00d665731900c3d5cc38277f054c9e2bda99965a8575ea3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift:54-59 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/StreamPlayer.swift:27-33 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04bd023dde7445de83826be274eaaa5dd68c5b9259a9bc226cde3d8aada2fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Examples/BarkDemo/Sources/BarkDemo/BarkDemoApp.swift:19-26 | Examples/LocalVQEDemo/Sources/LocalVQEDemo/LocalVQEDemoApp.swift:17-24 | Examples/Phonon2Demo/Sources/Phonon2Demo/Phonon2DemoApp.swift:16-22 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/BarkDemo/Sources/BarkDemo/BarkDemoApp.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab4a92b24029cec646b6b2d8d8ecf1d80cc97f7462cd5a1eb38b6169f8f7e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Examples/PhononDemo/Sources/PhononDemo/PhononDemoApp.swift:26-35 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/PocketTtsSmallDemoApp.swift:16-25 \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":"Examples/PhononDemo/Sources/PhononDemo/PhononDemoApp.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c04c8c5ce3e4c60c687915dec801f3e019d2091a6384536fbe4c76505c818e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift:134-142 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/StreamPlayer.swift:118-126 \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 \u0060Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.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":"Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"50795dab8c44ee6c75c5f7a7f4650423d9a57821296d965d532c29760d2587d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Examples/Phonon2Demo/Sources/Phonon2Demo/ContentView.swift:166-173 | Examples/Phonon2Demo/Sources/Phonon2Demo/DemoModel.swift:295-302 \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":"Examples/Phonon2Demo/Sources/Phonon2Demo/ContentView.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b3b43132b00d0a7f062970069244efde85d3bcd3324aed60a0a7a288a15292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Examples/PhononDemo/Sources/PhononDemo/DemoModel.swift:185-192 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/DemoModel.swift:188-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 \u0060Examples/PhononDemo/Sources/PhononDemo/DemoModel.swift:185\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":"Examples/PhononDemo/Sources/PhononDemo/DemoModel.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"671b9d209a96e8eb2cf43de97761ecceb70f796a3df66d2edddc1bf3d7cd5d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Examples/LocalVQEDemo/Sources/LocalVQEDemo/LocalVQEDemoApp.swift:8-15 | Examples/Phonon2Demo/Sources/Phonon2Demo/Phonon2DemoApp.swift:8-14 | Examples/PhononDemo/Sources/PhononDemo/PhononDemoApp.swift:18-24 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/PocketTtsSmallDemoApp.swift:8-14 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Examples/PhononDemo/Sources/PhononDemo/PhononDemoApp.swift:15\u0060 calls \u0060NSApplicationDelegateAdaptor\u0060 and \u0060Examples/LocalVQEDemo/Sources/LocalVQEDemo/LocalVQEDemoApp.swift:5\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":"Examples/LocalVQEDemo/Sources/LocalVQEDemo/LocalVQEDemoApp.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"86413dd996c5b9ed0030a502031b8152feded4b15c170784ff64f475b92f69b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift:117-124 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/StreamPlayer.swift:96-107 \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, \u0060Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift:115\u0060 calls \u0060setMuted\u0060 and \u0060Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/StreamPlayer.swift:94\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":"Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeaa52ed078cc4826a34d0cfa956d39a860dea4a9ecf404810e2fc0049962c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift:144-151 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/StreamPlayer.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/PhononDemo/Sources/PhononDemo/StreamPlayer.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a119f588568a618026e446083ba8ba3819de8c9ebef9cfef9e43e65a623b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Examples/PhononDemo/Sources/PhononDemo/Theme.swift:32-38 | Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/Theme.swift:32-38 \u2014 before extracting anything, compare \u0060Examples/PhononDemo/Sources/PhononDemo/Theme.swift\u0060 and \u0060Examples/PocketTtsSmallDemo/Sources/PocketTtsSmallDemo/Theme.swift\u0060 as WHOLE FILES: 100% 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":"Examples/PhononDemo/Sources/PhononDemo/Theme.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"761269f18bc00f6339a90bead6296250c9600593fcec24e88bc19e9557032b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift:154-158 | Examples/Phonon2Demo/Sources/Phonon2Demo/DemoModel.swift:145-151 \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":"Examples/BarkDemo/Sources/BarkDemo/DemoModel.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"20992ee118a60e00bc6130a49373d97d40624e34fe1d22c6715154be0fc97d6e"}},{"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":"D5","level":"warning","message":{"text":"Off the main sequence: LuxTtsG2pResources: LuxTtsG2pResources: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7767d94eeb077ba6ac2fe3c67846ff5002a5c01b8b9c05340f34f803804db4ae"}},{"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":29}}}],"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":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1496e9b49f3eefd1cc722e090cdbbab33c5d61c76a0618b01ec954c18260d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ParadeeModelStore (LCOM4 4): ParadeeModelStore\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Paradee/Assets/ParadeeModelStore.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12c93c39797c4dffc242d4f051c2ba53d18768d4d45fd4bfd1154c52c0f6619"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFp32TranscribesRealSpeech: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/SenseVoiceEncoderFrameCountsTests.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96596d4cd1b938be7a38803fc46370b45556ff102d8d654ecd4d2ba7f851400"}},{"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: testResampleAudioFileLongerThanOneBuffer: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa720fc54c02adc2264abea36c4e754b3b715d0a1cf6889c4156bfac1c13520"}},{"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: testKthLargestMatchesSort: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/LFM3Audio/LFM3AudioSpeechTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"601a956be2c0ad2f02dff7c6fc5d0f75e86df87d57e808e7e5e60e4719f716dd"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testKthLargestClampsArguments: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/LFM3Audio/LFM3AudioSpeechTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7c3f6824df8b836657c1686236c5eb93572cec102c3a80b5bab2b109570575"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testDownloadSetsPerBackend: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/LFM3Audio/LFM3AudioTests.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"13369e96cb0debfa7ea982a1a74b138fb332adef015a4ab254bfb2bfd6c4dc9a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testOfflineAndLiveTranscriptionOfARealRecording: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/LFM3Audio/LFM3AudioTests.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0005f9806601aeb0c86a419c3597c56d6473804e4e5598a0de9966f8a963ceec"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSynthesizedSpeechTranscribesBack: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/LFM3Audio/LFM3AudioTests.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf9fa1f0bbdc1c47edfc55896c72019cd094d16e9f2cd417ea6cdc36890b0dd"}},{"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":138}}}],"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":155}}}],"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":204}}}],"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":222}}}],"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":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"954201ff3e8c52cbc87a1c4af8505a14cebb6935f7270bab580bd7b7500a5ee3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRealSDKInputsAndFallbacks: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/KokoroAneV3Tests.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b58a8e69b1123964e4762bde2ac3cdb748e1d07d942a25311dfca2c3a18e1f"}},{"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: testShippedG2pwReadsConjunctionHeAsMainlandHe: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/KokoroAne/MandarinG2pwIntegrationTests.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd684e40b8772120ea3865774f391c9646af20508842d843616c41d905e0f1a"}},{"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: testConsecutiveOneShotSynthesesTerminate: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsSessionTests.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"26846dd33fa6d18dd8c8999842cf8acc46937e4724738d62ac4435c4300c11c1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testCancelTerminatesFramesStream: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsSessionTests.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"08acf2e6ec32fb8d575887a34955f059ae397882338d90a3fa7749f7342d624c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testReplaceUntrainedCharacters: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsSmallTests.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9966be9735681b640112861aa183142dcd72c516da57504ba539377561635974"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFp16Buffer: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsSmallTests.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"383053ae320543cc1c46d6bc41ee0d97a22641a7158682a4d46935efda5cc69a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMimiDecoderIOContract: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsSmallTests.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56edb70f919a1f0001529fab6bc361914e711019808ae371aacad7cc9a016a6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSynthesizeWithCachedPack: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsSmallTests.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40e6375cdda954ca6ad8d98378f382fdb44dcf8bb368b102860958088c7a068"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPhononSynthesizeWithCachedPack: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/PocketTTS/PocketTtsSmallTests.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"099ff6815c1558ce50f569bcfece66248e0f863f58a1a263765eba89aac4c3c0"}},{"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: testCancelJoinsRecognitionBeforeReleasingItsOwner: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowCancellationTests.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"604140f8d9c708a1e4599831790e1cb19a67ca89e09035ed946bfa1ca1a44cf2"}},{"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: testLoadedModelsUseCpuMelAndDecodeRealSpeech: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/CtcModelsComputeUnitsTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"498c0b04304e937bf6a05697bb5f893a5991d66aa7f62dc9c0e39bb324f269d3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSessionReadsTokenizerFromTheFolderTheModelsLoadedFrom: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/CtcModelsDirectoryTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42f6ebf5e45695af1fe06990deaf956482662b97418267de153ca1f6b0908fd"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLoadAndDownloadAndLoadReportOneSequence: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/CtcModelsDownloadProgressTests.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"434b0380b81da9bc0cfe9c0560882fed53a75561a540f8036d6b09fac8c1f5bb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFreshDownloadReportsDownloadThenCompileAsOneSequence: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/CtcModelsDownloadProgressTests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"40391b5b420686bd960f2725ed6caadc6bb40c440f46fb785ea973abbc7ec21f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testThresholdsOnRealRecording: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyBoostingThresholdsTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca33bef843524ce29f912abbfe046d8b9cae5a2d6c57fc7ed147984967c937c6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testManagersPassThresholdsToTheirSession: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyBoostingThresholdsTests.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27602111eaa9951e35c9950aabadae3ea55bc886541eafd83a2e90771ce664e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRescuePreflightRespectsVocabularySizeWithInstalledModels: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyCandidateDiscoveryTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"794ca6270cebbcda65b442938168efae38b015c08d515f4d86bcbf4c5f625641"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testDiscoveryMatchesExactScoringCandidatesWithInstalledTokenizerAndAcousticEvidence: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyCandidateDiscoveryTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3715e53984569dce35c9dcc7c106ea207337ba2c7324a16807c303cef8e03bf5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFullNameCorrectionPreservesEverySurroundingWordAcrossNameBoundaries: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyNameBoundaryTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"121c6c970f06728330143b79eb939f8ab48987ae78a168846fc6eaba2d3c5264"}},{"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: testUnsupportedEncoderRequestFailsBeforeDownloadOrLocalFileAccess: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Phonon25Tests.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"da849e60f9b7803e41e35d9d4306b0e81f09056163115dc863146f869d9cc033"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPublishedGPUModelWithPublicSpeech: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/Phonon25Tests.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d6f398609e9a4e7811168c18959ea8fdad33691f697a0ce93ea3fdd79446de"}},{"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/CI/SendableTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bbb1018d29feab979b3e6bcc57b95fd2c6f4c4e7b37f7da5ec8f299a2289b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDistanceSweep: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/CleanSpeakerEmbeddingsAMITests.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3701e91f908f43cc4d13156720648892ad9d030a8c1580e4b15a18412f395d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testChunkPairDistances: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/CleanSpeakerEmbeddingsAMITests.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c544425b9bc04a58f67b53b62d50a22bfe9f3e5af9aaf1bb5ff8fa493c84ceb5"}},{"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb7cf594f83675daddfa398b1d3e0e663ebfdb2172e8ff2d050d96202189136"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSlicedResampleHandlesSliceLargerThanInput: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2892b0f411242dd4a1afa7eda9aa699c216fbb7a983b95c7820f92b4454422ea"}},{"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":597}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":713}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":726}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/AudioConverterTests.swift"},"region":{"startLine":842}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Shared/DownloadArtifactValidationTests.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a470f5dc1e45c9d50153e19047ede9ca6620bf2171bdd9f0221cda8b93612c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmbeddingMatchesTheReferenceOnRealSpeech: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Speaker/CampPlusEmbedderTests.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8176c933f65df0c7eee3882fe417208d87850ab9259f210d4535d892ce2325a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmbeddingMatchesTheReferenceInAFormerlyBrokenLength: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Speaker/CampPlusEmbedderTests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae23e1e9b57180554d44450ca73db74a75bdc605c23422c08df9a15baedb307"}},{"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/TextNormalizerTests.swift"},"region":{"startLine":186}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/ProgressEmitterTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"854cf34bf389e89c16ecd4454770c9703149e053c613bb7388a75a57f1c73c51"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNonFiniteSpanThrowsInsteadOfTrapping: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Extraction/EmbedSpanWindowTests.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dec4eafe5bced449b1ca38961d00ec59e0eb28b58f70466b2aa471bde7cfc6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReversedSpanThrows: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Extraction/EmbedSpanWindowTests.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d786a15481fdb4dd9c8e7003fd735fb133512bcd61bbaa4267d7f960a4d2efb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSpanStartingAfterTheAudioIsOutOfRange: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/Diarizer/Extraction/EmbedSpanWindowTests.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5266332c6e170db36bbf8c1f40b906e36dc7f8400ec34849bc366dc1ba9b1569"}},{"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":50}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":56}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":62}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":70}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":77}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":95}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":104}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/TTS/LuxTts/LuxTtsG2pTests.swift"},"region":{"startLine":111}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/SlidingWindowAsrSessionTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6902bb2cf705a27deb2fe69beb34b651d906496c88d156a659f5164073ed1e29"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnifiedCallbackFramesTileStreamAndRestartAfterReset: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/Streaming/EncoderOutputCallbackTests.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"611090caa3444bcb9dd1d989b61668b19e1bff615f15ad0a88c1bb2293ef5ad3"}},{"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/ContextBiasingSendableTests.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8798a02972677201709043f29589e10ed856289eedbd7f2baa1401e7e7423be"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInputMatchingWindowHasNoPadding: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/CtcKeywordSpotterAudioPaddingTests.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c19ab974f0541e8aa796723956bb5385e25826044231e04b35c0ce46801f0b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInputLongerThanWindowKeepsLeadingPrefix: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/CtcKeywordSpotterAudioPaddingTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bcc6e82b9527ad45b9c55a6ef73717bb3336586f271752c28fbae97d6d8cf1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyInputIsAllZeros: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/CustomVocabulary/CtcKeywordSpotterAudioPaddingTests.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"849416989d74e7626a7b2c09e7b21d136c32c32078658c58cd4d770311d6c7ff"}},{"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/FluidAudioTests/ASR/Parakeet/SlidingWindow/TDT/AsrTranscriptionTests.swift"},"region":{"startLine":288}}}],"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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/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 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 142 in TTS.run at line 58. 3 of those changes were fix/bug commits, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in ModelNames.getRequiredModelNames at line 2057. 9 of those changes were fix/bug commits, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":2057}}}],"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 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in TranscribeCommand.parseArguments at line 254. 6 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3f408ad3c6a0c732df92fa1ad872c319d9312dc6b739d25deb91957a3b304d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in AsrManager.reconcileFinalWindowSeam at line 494. 10 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.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\u002BTranscription.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dca74ffd65ef53a91dade64efe0e3f25dce0dd99616a7e27945189f46c4191f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift: Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in TtsBenchmarkCommand.run at line 93. 3 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in ASRBenchmark.runASRBenchmark at line 649. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"57756698a8705796ec38201249a8ba73a3bf5e4f9d9b12fc4ac1671c1ae2df6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in CtcEarningsBenchmark.runCLI at line 62. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dc1b2a82901208d73c1222fda4a2bd3338516202bc5f22bd9dd225a1360ba2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ChunkProcessor.spliceCandidate at line 1802. 7 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dc982e7a2834e355fc4fc662a3369ff6468a5b8c797a37f5433a63a112e451"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in SlidingWindowAsrManager.processWindow at line 547. 9 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d9cc560b1e442fee5332ad5aef90ba671e2415db53a11aae39d772611fce46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in StreamingNemotronMultilingualAsrManager.processChunk at line 58. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.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\u002BPipeline.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4ad790d7242262df1b37cda69b262f5c6555dc42e5b42505018f7e2be0e2d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in VocabularyRescorer.rescoreWithConstrainedCTCTermCentric at line 796. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenRescoring.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\u002BTokenRescoring.swift"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39eb09c72049a40ca64a23ebed5d27d8a20638d637c93df91523d866f32d51c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in StreamingNemotronMultilingualAsrManager.loadModels at line 363. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8a07898478894ebc782e38443a2d9bf380167a79aa24c96707a1b50d6fef60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift: Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in MandarinG2P.phonemizeTracingPunctuation at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2P.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/Mandarin/MandarinG2P.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50994c3d0aab7b17b71c9bd96d9e83879a648a9009ec4f71cf7534c09aad67c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in VocabularyRescorer.evaluateCTCMatch at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer\u002BTokenEvaluation.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\u002BTokenEvaluation.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8c593a71ca81ea0a400a2868e19292eb01b6b957ba04a37d2320b657112959"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift: Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in PocketTtsSynthesizer.splitAtWordBoundaries at line 1237. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.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/Pipeline/PocketTtsSynthesizer.swift"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bb5783915de59048554b17d0e922c3183321ce507f4987f5455d7d68ebcfca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/Shared/Download/ModelHub.swift: Sources/FluidAudio/Shared/Download/ModelHub.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ModelHub.repoIncludeRule at line 834. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"570b2622d582f0a4f48c825a397823e0f637aaaec3487505ba1307188217c654"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AsrModels.load at line 457. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":457}}}],"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 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VocabularyRescorer.buildWordTimings at line 434. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a75bc0178aa0efd3bc894296b3141d35d92b0a53edecc4294dfbd1d360434ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift: Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in CohereBenchmark.run at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.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/Cohere/CohereBenchmark.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b061c88c9a067c4c33083616ac4e286a8df68b88a8e81a48909ce3fecfc9d0"}},{"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 45 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.swift: Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in KokoroAneV3Pipeline.run at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Pipeline.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/V3/KokoroAneV3Pipeline.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cdf40152abe4a704c00f1d9c823cb90ca80a2eca69d4c66f809e67ea1fb80c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift: Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in StreamingUnifiedAsrManager.processWindow at line 360. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.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/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe00116cb4a32af180603b51ae8d41b13fbc828ed34853cbd58cae2e0ba4745"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in ChunkProcessor.processWithDualDecodeArbitration at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.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/DualDecodeArbitration.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa2808934f040d6287fde0bb08bfa7b95165f71c3f6f34bb6a303bb6b663aa5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift: Sources/FluidAudio/Diarizer/Offline/Core/OfflineDiarizerTypes.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in OfflineDiarizerConfig.validate at line 377. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ab14de80071df3763bbb5578d42742167a180e771ffaa38184bf69a5ee4aa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.swift: Sources/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in CanaryTranscribeCommand.run 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/CanaryTranscribeCommand.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/CanaryTranscribeCommand.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c53897f4b8602a718d6995e1877de063d738883bd361458f72e3aaa74b00e70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/Shared/PhonemeChunker.swift: Sources/FluidAudio/TTS/Shared/PhonemeChunker.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PhonemeChunker.chunkRanges 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/Shared/PhonemeChunker.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/Shared/PhonemeChunker.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"574eb43e438514272575bbe81260118c7a032b8748090aa5f736445776303ed6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift: Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PocketTtsSession.generateChunk at line 277. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.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/Pipeline/PocketTtsSession.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddd15d2b7fb5cd6191f178d2d1b2ef58cfa7b5b677c231703d5c5635effd385"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Assets.swift: Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Assets.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in KokoroAneV3Assets.ensure at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/V3/KokoroAneV3Assets.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/V3/KokoroAneV3Assets.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e32f8e700f2bc1ffecedeb60557bad413db7b4dc001b1b1e7577be9b5b8a30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift: Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in CohereTranscribeCommand.run at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereTranscribeCommand.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/Cohere/CohereTranscribeCommand.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c251e7955dfa5c9b6e0e9d8deb3f43a1cdfe5515953652b925a0d93d129d1013"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift: Sources/FluidAudio/ASR/Paraformer/ParaformerManager.swift changed 3 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift: Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in StreamingNemotronMultilingualAsrManager.preloadShared at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.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\u002BShared.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d9ad569bad7f3831d9bb44923ccc8ce4b3edecee6e5280c087083dd92414aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2pwModel.swift: Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2pwModel.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in MandarinG2pwModel.disambiguate at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/TTS/KokoroAne/G2P/Mandarin/MandarinG2pwModel.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/Mandarin/MandarinG2pwModel.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2239d6798bb8ae37a02c5139a84c91acb6e921a603bed904e04b1c182be962"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudio/Shared/AudioConverter.swift: Sources/FluidAudio/Shared/AudioConverter.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AudioConverter.convertFile at line 139. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/Shared/AudioConverter.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/AudioConverter.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79b3ab0436b1082d97839daeb05a16bf520d03c0867b89836738c361242a3b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift: Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in NemotronMultilingualTranscribe.run at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronMultilingualTranscribe.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/Streaming/NemotronMultilingualTranscribe.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"143823f5aa83748f51f029f0bc0b81299b432cd8afe3e2227a7941f82d22d76d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyBoostingSession.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyBoostingSession.swift changed 7 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 10 (its worst body is VocabularyBoostingSession.rescore at line 184), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(asr/vocab): rescue similarity floors on by default, score the original as spoken (#1151) (#1152)\u201D; \u201Cfix(asr/vocab): read CTC tokenizer next to the loaded CtcModels (#1114) (#1126)\u201D; \u201Cfix(asr/vocab): no context bias against a word TDT heard confidently (#1100)\u201D; \u201Cfix(asr/vocab): bound the spotter-rescue nearest-word fallback; surface spotter detections; pass rescue flags to streaming (#899) (#900)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/VocabularyBoostingSession.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/VocabularyBoostingSession.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc46a779c5b43652471271daad526ac93aa1f13f33d540d39e76cdee36682fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift: Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift changed 7 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 10 (its worst body is ASRError.errorDescription at line 287), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(audio): give transcribe(url) and transcribe(samples) the same samples (#1134)\u201D; \u201Cfix(asr/tdtJa): long-form Japanese defaults to no mel context and probes only long seam gaps (#1098)\u201D; \u201Cfix(asr): seam-gap repair probes a short window around every inter-word gap (#1061)\u201D; \u201Cfix(asr): take seam-token timing from the window that heard it mid-window (#975)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcf1b534a1f6132a7944dbedef080c3edeeee24f1c3b8d410aec96aac794fde"}},{"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 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is OfflineDiarizerManager.cluster at line 339), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"462b716d30a6ad54dbf85bdbd07c045561192ea53712e7984f8efff5d9123e60"}},{"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 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is TdtDecoderV2.adaptConfigForV2 at line 61), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(asr): take seam-token timing from the window that heard it mid-window (#975)\u201D; \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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05: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":"D15","level":"warning","message":{"text":"Repeated repair: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift: Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is CtcModels.loadDirect at line 84), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(download): reject compiled bundles missing their program or weights (#1150)\u201D; \u201Cfix(asr/vocab): read CTC tokenizer next to the loaded CtcModels (#1114) (#1126)\u201D; \u201Cfix(ctc): run the CTC MelSpectrogram on the CPU (#1079)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:05:30 -05:00\u0027 --until=\u00272026-11-13 20:05:30 -05:00\u0027 --full-history --no-merges -- Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcModels.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/WordSpotting/CtcModels.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baa267f5fcc05f9cc50a2555be0df208c1edbb0f1c8ba5856774a40c95f103e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 116 significant file(s) lose their only recent owner: Sources/FluidAudioCLI/Commands/TTSCommand.swift, Sources/FluidAudioCLI/Commands/TtsBenchmarkCommand.swift, Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift, Sources/FluidAudio/TTS/KokoroAne/KokoroAneManager.swift, Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift, Sources/FluidAudioCLI/Commands/ASR/Cohere/CohereBenchmark.swift, Sources/FluidAudio/Shared/Download/FileDownloader.swift, Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneModelStore.swift (\u002B108 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"206a82e2b6968b914260e9d5bd577d08fb6674e42ab81296a8837e2e45ddbcb8"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (118 single-owned of 394 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 394 of the 454 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: Sources/FluidAudio/Diarizer/DiarizerTimeline.swift, Sources/FluidAudio/VAD/VadTypes.swift."},"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. ADRs are expected here because \u0060Package.swift\u0060 makes this repository a deployable product (line 18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb68a1ee6c4cb93e1c9ac7b48b28011c2bc672548de5c6ade44fdf2c34c979"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060PocketTTS\u0060 spells \u0060TTS\u0060 where 61 names in the project spell it \u0060Tts\u0060: 61 of 63 names in project FluidAudio spell the token \u0060Tts\u0060 (61 of 63; unit: names in project FluidAudio containing \u0060Tts\u0060). Peers: FluidAudio.LuxTts (Sources/FluidAudio/ModelNames.swift:1752); FluidAudio.NeuTts (Sources/FluidAudio/ModelNames.swift:1975); FluidAudio.LuxTtsEnglishNormalizer (Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:13); FluidAudio.LuxTtsG2p (Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift:28); FluidAudio.LuxTtsConstants (Sources/FluidAudio/TTS/LuxTts/LuxTtsConstants.swift:9). Rename to \u0060PocketTts\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ModelNames.swift"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f8d198e814561b110d017cef4132a2fdef93b1e654e962eb4d1ae719e847aa"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060PocketTTSError\u0060 spells \u0060TTS\u0060 where 61 names in the project spell it \u0060Tts\u0060: 61 of 63 names in project FluidAudio spell the token \u0060Tts\u0060 (61 of 63; unit: names in project FluidAudio containing \u0060Tts\u0060). Peers: FluidAudio.LuxTts (Sources/FluidAudio/ModelNames.swift:1752); FluidAudio.NeuTts (Sources/FluidAudio/ModelNames.swift:1975); FluidAudio.LuxTtsEnglishNormalizer (Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsEnglishNormalizer.swift:13); FluidAudio.LuxTtsG2p (Sources/FluidAudio/TTS/LuxTts/G2p/LuxTtsG2p.swift:28); FluidAudio.LuxTtsConstants (Sources/FluidAudio/TTS/LuxTts/LuxTtsConstants.swift:9). Rename to \u0060PocketTtsError\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/PocketTTS/PocketTTSError.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"77504c23e803ef27d0f6699bb4068ee8c003f2c1893d3867280b08dd4d746abc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060calculateASRMetrics\u0060 spells \u0060ASR\u0060 where 22 names in the project spell it \u0060Asr\u0060: 22 of 24 names in project FluidAudio spell the token \u0060Asr\u0060 (22 of 24; unit: names in project FluidAudio containing \u0060Asr\u0060). Peers: FluidAudio.CohereAsrConfig (Sources/FluidAudio/ASR/Cohere/CohereAsrConfig.swift:4); FluidAudio.CohereAsrError (Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:20); FluidAudio.SlidingWindowAsrManager (Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:10); FluidAudio.SlidingWindowAsrConfig (Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:1019); FluidAudio.SlidingWindowAsrSession (Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrSession.swift:6). Rename to \u0060calculateAsrMetrics\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"534ae3513fdcd4141d19783f34caac6da9ef1d409bf15a73628480cf1cb3a17f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060runASRBenchmark\u0060 spells \u0060ASR\u0060 where 22 names in the project spell it \u0060Asr\u0060: 22 of 24 names in project FluidAudio spell the token \u0060Asr\u0060 (22 of 24; unit: names in project FluidAudio containing \u0060Asr\u0060). Peers: FluidAudio.CohereAsrConfig (Sources/FluidAudio/ASR/Cohere/CohereAsrConfig.swift:4); FluidAudio.CohereAsrError (Sources/FluidAudio/ASR/Cohere/CoherePipeline.swift:20); FluidAudio.SlidingWindowAsrManager (Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:10); FluidAudio.SlidingWindowAsrConfig (Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift:1019); FluidAudio.SlidingWindowAsrSession (Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrSession.swift:6). Rename to \u0060runAsrBenchmark\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fd48240bc9775b58f2fb7d061df82302eb20b6c09d9030dc79245a40d5a0e7"}},{"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"460115f63a8609df8b120ac43f5045bc2ef9dfd4a8f3009b41568e8ae93c64b6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41ecdbc206aef7acbbfb9bcac531906e69d6fd0bb4f1adbf7e5309e94670f864"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87b8117e08e4ced5ddbabd0d42c09b3e77eb25988c6577730d62f24814fd5804"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcd1e90a3ccf453f283fc91b1da14acba4cec03081bf80a59c598895bf013caf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6098042995adc3f6be5445ca4b52041a8ef5d106e155901609f7c6858fba245b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 8 of 394 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 394 of the 454 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/TTS/SSML/SSMLTagParser.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/BKTree.swift, Sources/FluidAudio/TTS/SSML/SSMLTypes.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":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Shared/AudioStream.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2018b22d6495368f25b287e1181b3611d89c29e9138d7164bab40c3e6a97f02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIKaldiData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48ec06f8bceaf4c11f0c5a25de27a09dd6253685cb551705bfed5d8b263c10a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/LS-EEND/LSEENDTypes.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ba2e02ff59185f6e3af70f2259a76a9c2cb8ebbea6d48a01584ae78e5a6942"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/WordSpotting/CtcTokenizer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68645e645da41412e0235d65045b7a9963b4798a49c1c1bbaf620c4c34fc4bd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/SSML/SSMLTagParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be1b380db1cb3e080b803050fe8178180cc3ab9fed2a483f936b7fb1a60d969"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/BKTree/BKTree.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3e3bad25e8bb25818fa35df816a927584a6f08b3710acdc877b6ca03ee6422"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/SSML/SSMLTypes.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3ca28d04ba51e719693d8347519fc18ba7777582da33ed29f9663c098e35be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/Diarizer/Offline/Clustering/SpeakerCountConstraints.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4500ba79d8db664526410b07592a6a4ed937137059b5f12957255ef378201fe9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StreamingUnifiedAsrManager.swift \u2194 UnifiedAsrManager.swift: \u0060Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/Unified/UnifiedAsrManager.swift\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006002bcb9a4\u0060 fix(asr/vocab): read CTC tokenizer next to the loaded CtcModels (#111\u2026; \u00602cbae2b5\u0060 feat(vocab): session thresholds and a detectedTerms floor (#967) (#1080); \u006055f65d9c\u0060 feat(asr/unified): Nemotron Unified ASR 0.6B (25 European languages) \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/Unified/StreamingUnifiedAsrManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bec041cba7acd792e299d0005e57005c23a2e446026e855c9d88e17a4f6057e"}},{"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 60% of the time (12 of the 20 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 12 shared commits counted here, the most recent 3 are \u0060e000dfde\u0060 fix(asr): flush pending tokens on an interior window that ends in a p\u2026; \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) \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":"D35","level":"warning","message":{"text":"Change coupling: SlidingWindowAsrManager.swift \u2194 AsrManager\u002BTranscription.swift: \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift\u0060 and \u0060Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006070f44050\u0060 fix(asr/tdtJa): streaming seam re-decodes a time tail, not the whole \u2026; \u006030379135\u0060 fix(asr/streaming): a re-spelled word at a window seam replaces the k\u2026; \u0060f59050ed\u0060 fix(asr/streaming): join a window that opens mid-word onto the previo\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/SlidingWindowAsrManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef1cbe03af017a1847e4a4c12bbc9d5987e214f9a138d9eb5411eb0b7115a53"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelNames.swift \u2194 KokoroAneSynthesizer\u002BTypes.swift: \u0060Sources/FluidAudio/ModelNames.swift\u0060 and \u0060Sources/FluidAudio/TTS/KokoroAne/Pipeline/KokoroAneSynthesizer\u002BTypes.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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 5 shared commits counted here, the most recent 3 are \u0060e63b5230\u0060 feat(tts/kokoro-ane): keep the fp16 vocoder as default; fp32 KokoroVo\u2026; \u0060810a0bd7\u0060 fix(tts/kokoro-ane): robotic onsets on SME chips \u2014 use fp32 KokoroVoc\u2026; \u00608c1bd913\u0060 fix(tts/kokoro-ane): quiet onset on long utterances \u2014 use fp32 Kokoro\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ModelNames.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bf8faf7e1c62e8aa386755fd63c5b310326a0ee78f9499ca6ae7477dd46ef7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef36a5d1dfbd993b43cbc4c0fda1cdc8216f42059b45a45bdaa010021b6eb9bf"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3670c0bff1cf89e89b096a3dda265923bd855ddb837498b088c8d405b78014ff"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fc50f47bc5977d6571e15b6fb5974ce0c6d79e24149d8f6bb254276a6fd8d9e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0535a67de2044fb95d1652b45d916b1b5d55eb14645bf7f05397ce777c844b3b"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: MLComputeUnits: \u0060MLComputeUnits\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/Inflect/InflectManager.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dc58860f6c82f2e7be764dca17d71d61b178a51051c8b6c38b4c9148d50fd6"}},{"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 17 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/asr-benchmark.yml"},"region":{"startLine":4}}}],"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":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060resolveDataset\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/EnhanceBenchmarkCommand.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e833c1c6a44d969d343b2ae60ee0829c1a75a4a22d7e0c38338237effef1a3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060extractZipFile\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed3b8495b07fe77fbb3b2d58475e0e9ffb0b69419161030a1e7677ed63d17e2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060downloadFullMusanDataset\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea15561fbbf05be59d548ecaccbf2f7c8d8805ab12840ead25fa14101761a41"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060downloadVoicesSubset\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0ff08b5f9062b745836a245525361d5d9f5e148325b0ce5a959c2e1e509971"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060downloadAndExtractTarGz\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"35195805f7202d0599276fce3abe10911feb2557cfd76a1d8492db33101aa024"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060downloadAndExtractTarGz\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/Streaming/NemotronBenchmark.swift"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7720bcb8b131fec7ab87dd493b5c95bebc01b4834ca2d7c3c5d1f5957daf252"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060top-level code\u0060 is async and calls .wait() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Scripts/ane_profile.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7a63f69bc9f8298ce16fca5b832569ecb7da3f30036beb7075bcba71647e66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$0.isEmpty \u0026\u0026 $0 != ASRConstants.sentencePieceUnknownToken\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager\u002BTranscription.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrManager.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":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fc08fa9de0bcd9aa366eda436e80b36140b109347833027ef237bdd9963866"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$0.isLetter \u0026\u0026 !$0.isNumber \u0026\u0026 !$0.isWhitespace\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/TTS/KokoroAne/KokoroAneManager.swift, Sources/FluidAudio/TTS/Paradee/ParadeeManager.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/TTS/KokoroAne/KokoroAneManager.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7132a37b196941d6d997b3e5c52c17d0edc3b68f8f26d10b7e99342b545a8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!force \u0026\u0026 modelsExist(at: targetDir, precision: precision)\u0060 appears character-identically in 3 files \u2014 Sources/FluidAudio/ASR/Canary/CanaryModels.swift, Sources/FluidAudio/ASR/Paraformer/ParaformerModels.swift, Sources/FluidAudio/ASR/SenseVoice/SenseVoiceModels.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/Canary/CanaryModels.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"125ce1f85a8a7570d9c492aca46c1bf834b8fd99f21998c93454de2d5b772676"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CharacterSet.punctuationCharacters.contains(scalar) || CharacterSet.symbols.contains(scalar)\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift, Sources/FluidAudioCLI/Utils/BLEUCalculator.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/ChunkProcessor.swift"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd880ad1d396ca24be526f5b89aeb773434616946d9d75b900ddd7f9470f3e43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.minSpeakers != nil || args.maxSpeakers != nil\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudioCLI/Commands/DiarizationBenchmark.swift, Sources/FluidAudioCLI/Commands/ProcessCommand.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/DiarizationBenchmark.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d82b658fbc739d70b77549115334549336cb30805e4116cbcfac4fa0e83e62"}},{"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: \u0060customThresholds.der != nil || customThresholds.jer != nil || customThresholds.rtf != nil\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudioCLI/Models/CLIModels.swift, Sources/FluidAudioCLI/Utils/ResultsFormatter.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/Models/CLIModels.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f092691e65b0aea9e44250bfa0ec6a6787547e030ebb1b3e788e876b6059e18e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decoderJoint != nil || decoderJointNoEncProj != nil || decoderJointArgmax != nil || (decoder != nil \u0026\u0026 joint != nil)\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift, Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager.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/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BShared.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6850af07ac540a129a3b16cbe743c5a96a57b5bccd1257f0e9ac0d832f5538"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eosLogit \u003E PocketTtsConstants.eosThreshold \u0026\u0026 eosStep == nil\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSession.swift, Sources/FluidAudio/TTS/PocketTTS/Pipeline/PocketTtsSynthesizer.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/TTS/PocketTTS/Pipeline/PocketTtsSession.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19828b35ad25d9955526504061584203ed57c94af44e22958d987ca29ef9580"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003E 0 \u0026\u0026 j \u003E 0 \u0026\u0026 dp[i][j] == dp[i - 1][j - 1] \u002B 1\u0060 appears character-identically in 3 files \u2014 Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift, Sources/FluidAudioCLI/Utils/InlineDiff.swift, Sources/FluidAudioCLI/Utils/WERCalculator.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/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fca002129bbd310f8378ab270697e43f010b5d7f107fdc6b2d8c7f5b49b7db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003E 0 \u0026\u0026 j \u003E 0 \u0026\u0026 reference[i - 1] == hypothesis[j - 1]\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/AsrBenchmark.swift, Sources/FluidAudioCLI/Utils/InlineDiff.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/Parakeet/SlidingWindow/AsrBenchmark.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30138fd7d4127c4da8fc74fd8074373f21567a45826afa9eeadf5be86667ce5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isWordBoundary(token) || currentWord.isEmpty\u0060 appears character-identically in 4 files \u2014 Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.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/AsrTypes.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb2fac5ab19acf95cf89ca151234c8a9eb56349daeeb3660cc048040df73031"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lowered == \u00220\u0022 || lowered == \u0022false\u0022 || lowered == \u0022no\u0022\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBlankRescue.swift, Sources/FluidAudio/ASR/Parakeet/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BPipeline.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/Streaming/Nemotron/StreamingNemotronMultilingualAsrManager\u002BBlankRescue.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd1130a495a6abd4f40480d28ea4769d1323c1ecb464de58d4a478694c69c2d"}},{"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":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ceaa9d53f648f9b9ad8449f6970e860fdb41588e0286e9e32b0d66aefa7843"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.isEmpty || token == \u0022\u003Cblank\u003E\u0022 || token == \u0022\u003Cpad\u003E\u0022\u0060 appears character-identically in 4 files \u2014 Sources/FluidAudio/ASR/Parakeet/AsrTypes.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/CustomVocabulary/Rescorer/VocabularyRescorer.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/CtcEarningsBenchmark.swift, Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/EmissionDelayBenchmark.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/AsrTypes.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3562082ca65c17d32af89d08dc2e7b3f24a8d09471fb10b4f6bc7832429ce44f"}},{"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":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bad7a6370c07300d267d17bb8c9976f373efc805faeb7cdf53010ac8333273"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v \u003C worstV || (v == worstV \u0026\u0026 permutedIdx \u003E= worstI)\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/Diarizer/Nemotron3/Nemotron3StateUpdater.swift, Sources/FluidAudio/Diarizer/Sortformer/SortformerStateUpdater.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/Diarizer/Nemotron3/Nemotron3StateUpdater.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e8a9a44fb005677e6841a472f9a60b271e5cdea42f0b6fd7dbf675ecc8f0ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060windowTokens.count == windowTimestamps.count \u0026\u0026 windowTokens.count == windowConfidences.count\u0060 appears character-identically in 2 files \u2014 Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/ChunkProcessor.swift, Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/DualDecodeArbitration.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/ChunkProcessor.swift"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"047fe78da129925dd6bbc35b10cd91431a291db891d03daae2ccfd7b00426733"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/AMIParser.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6453ce63b9c6ac52099ab8efca4031bdb576b55d75e13afbd7d2cdda12cb5f1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"982d1883701f7328650011d1d0340978d08384d21f05809b1ef60a75ebb9871e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d84b2d6530e7e44e08515857c636ad31de163aacf64085f68ddefa43da89ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e9f31df81a64c56c2499b1da5ec55405d357d87d4eee3c533983ec9aa758ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c02b38f17c340f90aff7a60f694a58295579d86d5ec9268b58a150ed95d1252"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e978218107645e7903c6810fe58174fabdbf2e394b710e4c2c247841154a2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/DatasetParsers/DatasetDownloader.swift"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"53130b10d4d15d3a594cdc034e975d3bcb7fff31eec5dc0e038f8e1cafb2ebd7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/G2PBenchmark.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c22421d505c65440c38789eead0d0c49e872eae119e96a0b7bce04b945918a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da06cda4746dbc01a5e6808fa5e20518e9bb089b3950e20e788a9f1b53222ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/VadBenchmark.swift"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca140646d42016b017918a6abaaed3b3d9bf5f40fc9b53b5ece7773b9832f73d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/ASR/Parakeet/SlidingWindow/FleursBenchmark.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"451c0f9dedc507ed5642ed003c57317516128272fc1c74576fd41ba830ae847a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/ASR/Parakeet/SlidingWindow/TDT/AsrModels.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"905da20ff8b22f439466560c9b48a286d4028ed239e742056957996f74978522"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Swift code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/SSML/SSMLTagParser.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3860923f583461b8a771574c4b630dac3d2544a9013ec755361f59133bfd8e9"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Swift code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/SSML/SSMLTagParser.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa73fd5fbb91aa7fb326513d62f7ab35823adfa92329b09b0bf05c88cb58c61"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Swift code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudio/TTS/SSML/SSMLTagParser.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"084bfd32cdf34a1e696b8ae9f981d11953832c70d2c72d94a6e377416d88eef3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getDirectoryFiles\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4afbc91eb23e7f86619a145e895807cc4a873c55a54c1371c7a129967ad5388"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getVoxConverseFiles\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8de2e582ce46b2145bf162b2769974f7196e21fd2dca49a9e7d4dd05a75460"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCALLHOMEFiles\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FluidAudioCLI/Commands/DiarizationBenchmarkUtils.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07d2db28116b9af0737a0f6b4e795b9ff3ef7cca9bcefdf9b4afb42b8907df5"}},{"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":270}}}],"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":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":89,"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."]}]}