{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"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":"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":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ListeningSiriAnimation.body (cyclomatic 27): ListeningSiriAnimation.body 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":"Gists_To_Try/SiriAnimation.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21b2a2ac279c7c9f41da24efdbc6959781b8bbe130ac5bf2ed643d95996b983"}},{"ruleId":"D1","level":"warning","message":{"text":"EmotionalReactions.body (cyclomatic 27): EmotionalReactions.body 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":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a69f79e71e8d4979c874972f945a38012126ec4960186dc441834b209e8b79"}},{"ruleId":"D1","level":"warning","message":{"text":"SwiftUIXmasTree.body (cyclomatic 22): SwiftUIXmasTree.body 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":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3a3f3b80b6c57202e401358276e05aeeb9c720d2d0e48e885f4e2b307def42"}},{"ruleId":"D2","level":"warning","message":{"text":"ListeningSiriAnimation.body (cognitive 26): ListeningSiriAnimation.body has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 26. 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":"Gists_To_Try/SiriAnimation.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf62aa288fb6df8531b5610609367f1a6a9bfd44b52008fd9e6a5c892119ff2"}},{"ruleId":"D2","level":"warning","message":{"text":"EmotionalReactions.body (cognitive 26): EmotionalReactions.body has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 26. 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":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"323c7d5705d9ca6b18126c8fda85da7e75eb68313006cfaff4af883d0bdea049"}},{"ruleId":"D2","level":"warning","message":{"text":"SwiftUIXmasTree.body (cognitive 21): SwiftUIXmasTree.body has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 21. 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":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36ec87a6faa7454a3135e886ff49bd7e8477a0928ed4fb60ff5a0f7c84b185d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwiftUIChristmas25Tree.body: MethodTooLong \u2014 body runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d1effa4ff1f0c27aff57b0f0887b50aa455e56ea4b946a36f53ffd9bf253ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwiftUIChristmas25Tree.body: MethodTooLong \u2014 body runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/SwiftUIChristmas25Tree.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bf57c2f5f402c06813da7b1879c043510751df68e5257cfe87692317fcb553"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwiftUIXmasTree.body: MethodTooLong \u2014 body runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ab53206ddb769a1b7ea90296aed8b5fe465473e7c2b0c53fbe9533fe04ed63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MaskClippedClipShape.body: MethodTooLong \u2014 body 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":"Gists_To_Try/MaskClippedClipShape.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c164e39f9a5d28f9b795780a747ce5a14d98b7747a0e77ba859f4d4e1a920c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HelloKoShape.path: MethodTooLong \u2014 path 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":"Gists_To_Try/HandwrittenAnimation/HelloKo.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6e0066e2838721af21b3a3e0b01443210d279206460f1c8af6cd46fe9a5384"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmotionalReactions.body: MethodTooLong \u2014 body runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70a4120232253144b2620e6d4eb87fcc03e197f634d5651f8921fb652206cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 25 shared lines): OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:17-74 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift:16-77 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWith3DYRotation.swift:18-83 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHeuRotationGradient.swift:17-80 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:17-78 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithRotation.swift:17-77 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithSpring.swift:17-72 | OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift:17-74 \u2014 These 8 members are variants of one another: a block of 25 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 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":"OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd8dc8110c1eea70c8d342a5d2468c5019123be8894471dc6c406930b93c2ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 88 shared lines): Gists_To_Try/NewYearsEveFireworks2026.swift:164-399 | Gists_To_Try/SwiftUIChristmas25Tree.swift:26-250 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:23-237 \u2014 These 3 members are variants of one another: a block of 88 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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de61adea18cfc1419e0069c6480ccafedc6a9a047b4580051ca4b875fcd774a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 36 shared lines): Gists_To_Try/GeminiFireworksAnimation.swift:14-88 | Gists_To_Try/NewYearsEveFireworks2026.swift:42-106 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:16-92 \u2014 These 3 members are variants of one another: a block of 36 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":"Gists_To_Try/GeminiFireworksAnimation.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d9b2e1c126196282a46129bdd4642db4528ac733fe874f007b61e60b0b014f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 15 shared lines): Gists_To_Try/HandwrittenAnimation/HelloCH.swift:24-134 | Gists_To_Try/HandwrittenAnimation/HelloFI.swift:26-63 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:28-146 \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":"Gists_To_Try/HandwrittenAnimation/HelloCH.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb134b2dc3fc4d5498dd55f6de7f2e91201817e908cf96d0061e6c157abe1022"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (74 shared lines): OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:19-102 | OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift:19-106 \u2014 These two members are variants of one another: 74 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":"OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7ce71cdf4345817ac985d4b7d8020ae3feefa6dc87be8ed1273d0f777886c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Gists_To_Try/HandwrittenAnimation/HelloCH.swift:9-20 | Gists_To_Try/HandwrittenAnimation/HelloDefault.swift:10-21 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:11-22 | Gists_To_Try/HandwrittenAnimation/HelloFI.swift:11-22 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:11-22 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:11-22 \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":"Gists_To_Try/HandwrittenAnimation/HelloCH.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"51db6efe87cd8dd48cdf84109ac4cf34585e8dbdac4f16b5426f0f9eda557052"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): OpenSwiftUIAnimations/ChristmasTree/FatherChristmasView.swift:41-61 | OpenSwiftUIAnimations/ChristmasTree/MrsClausView.swift:41-61 | OpenSwiftUIAnimations/ChristmasTree/MxClausView.swift:41-61 | OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallWithPhase.swift:41-89 | OpenSwiftUIAnimations/Reactions/ScaleUp.swift:41-89 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/ChristmasTree/FatherChristmasView.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c1c885850979767ae7943986c82e00b36880e92d55792578a06e78258b465"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Gists_To_Try/HandwrittenAnimation/HelloDefault.swift:25-70 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:26-78 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:26-134 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/MeasuringHeartRate.swift:64-98 \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":"Gists_To_Try/HandwrittenAnimation/HelloDefault.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec7decc6c34f4f1275a448efec354864f8b60f5f3574482f383847c1ade0cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): OpenSwiftUIAnimations/ChristmasTree/GiftWithRibbonView.swift:17-75 | OpenSwiftUIAnimations/ChristmasTree/HeartWithRibbonView.swift:17-75 | OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallEmojis.swift:20-75 | OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallWithKeyframes.swift:20-75 \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":"OpenSwiftUIAnimations/ChristmasTree/GiftWithRibbonView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd7d8b1c9ea4fdf40806bf38d888ee98e9e1df22d8e7a2c9995f19f3228cb1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Gists_To_Try/WWDC25Animation.swift:85-107 | Gists_To_Try/WWDC25Animation.swift:111-137 \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":"Gists_To_Try/WWDC25Animation.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5380357e8bf88ba6908ae4427a926b7b9d10a1a008d959cbecaa68ebce083212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Gists_To_Try/WWDC25Animation.swift:10-36 | Gists_To_Try/WWDC25Animation.swift:40-60 | Gists_To_Try/WWDC25Animation.swift:64-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"Gists_To_Try/WWDC25Animation.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"941fa720dbae4a4932beeae15cb0e2ec6a917e8f5b79b8dc3441edbffb5139a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): OpenSwiftUIAnimations/AIThinkingAnimations/Thinking.swift:16-44 | OpenSwiftUIAnimations/AIThinkingAnimations/Thinking2.swift:18-52 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/AIThinkingAnimations/Thinking.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9e907efd97aee4c3fab799108b065294a6476a1f54830774f9f04ec5b432b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201352 lines \u00D7 4): OpenSwiftUIAnimations/ChristmasTree/GiftWithRibbonView.swift:24-75 | OpenSwiftUIAnimations/ChristmasTree/HeartWithRibbonView.swift:24-75 | OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallEmojis.swift:25-75 | OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallWithKeyframes.swift:25-75 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/ChristmasTree/GiftWithRibbonView.swift\u0060 and \u0060OpenSwiftUIAnimations/ChristmasTree/HeartWithRibbonView.swift\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenSwiftUIAnimations/ChristmasTree/GiftWithRibbonView.swift:24\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":"OpenSwiftUIAnimations/ChristmasTree/GiftWithRibbonView.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca971aad70ece4f2b044fa9c363125e71ff2fc7d336c40d265ce0c590c8dc744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallWithPhase.swift:56-89 | OpenSwiftUIAnimations/Reactions/ScaleUp.swift:56-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallWithPhase.swift:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallWithPhase.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67c8f157aa926e055c8261d77b963712ea13c3c4f5457e627017c50767e3832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:35-68 | OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift:36-69 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 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 \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:35\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift:70\u0060 calls \u0060animation\u0060, \u0060interpolatingSpring\u0060, \u0060delay\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:71\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":"OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9d6c35ae54bab5ee3c7a4aab33fb00a5f1a8ec2ae4a81d73fa976e085d0944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:31-61 | OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift:30-61 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:30\u0060 calls \u0060monospacedDigit\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.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":"OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbb2db439c3ac88ef41ee2dfdc7d3ff5f745bd21521c1a51d19afa68d8d49ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:75-102 | OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift:78-106 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 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 \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift:77\u0060 calls \u0060animation\u0060, \u0060interpolatingSpring\u0060, \u0060delay\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:74\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":"OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"de25f5392182f2d7dabfc92c5ec1cb54caf70c63d561d7eaab27c56435ebeed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): Gists_To_Try/MaskClippedClipShape.swift:55-82 | Gists_To_Try/MaskClippedClipShape.swift:97-124 | Gists_To_Try/MaskClippedClipShape.swift:140-167 \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":"Gists_To_Try/MaskClippedClipShape.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9247bdbd6d454e229d6688dcfa37e80305baf104f72de9826ded02451da4fffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (204\u2013206 lines \u00D7 2): Gists_To_Try/NewYearsEveFireworks2026.swift:175-378 | Gists_To_Try/SwiftUIChristmas25Tree.swift:28-233 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:175\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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b269788cacab8d4d6a25ecfee29473d79ef629b2a9e7e90cc59c8bae7079d6e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift:14-39 | OpenSwiftUIAnimations/Reactions/XLike/XLike2.swift:14-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 \u0060OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift:14\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":"OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"59819311cd99af717fa69a79f8bf07b3327632363bc751a04e62550998dd6c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): OpenSwiftUIAnimations/ChristmasTree/FatherChristmasView.swift:41-61 | OpenSwiftUIAnimations/ChristmasTree/MrsClausView.swift:41-61 | OpenSwiftUIAnimations/ChristmasTree/MxClausView.swift:41-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/ChristmasTree/FatherChristmasView.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeceff39e97daaec8a896bdc9ba71ea1e6eecaa906fffe915c80816c56f53889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:24-41 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift:23-40 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHeuRotationGradient.swift:24-41 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:24-41 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithRotation.swift:24-41 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithSpring.swift:24-41 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:24\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:42\u0060 calls \u0060foregroundColor\u0060, \u0060hueRotation\u0060, \u0060degrees\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:42\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":"OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b1ebee691c5a5adb67e5221e11aeaf77828b91d30989cee93f1f398a542823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:84-101 | OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift:36-53 \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 \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b275df36b92478d398b771133661a4763419643e2fa001a52cd268e5918f84b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:59-74 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift:62-77 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHeuRotationGradient.swift:65-80 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:63-78 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithRotation.swift:62-77 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithSpring.swift:57-72 | OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift:59-74 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.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":"OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5676e7e9ff046c24da07bdc9d8d0de252404b8221525174d8f7b05604fd21921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Gists_To_Try/NewYearsEveFireworks2026.swift:67-82 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:51-66 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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, \u0060OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:49\u0060 calls \u0060UIImage\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:65\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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbe5affa7c2afde17e04897e60b204c741e407cdcae39724413c90924ccac29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Gists_To_Try/GeminiFireworksAnimation.swift:25-39 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:27-41 \u2014 before extracting anything, compare \u0060Gists_To_Try/GeminiFireworksAnimation.swift\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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":"Gists_To_Try/GeminiFireworksAnimation.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2baea7dce7a0346cca90a7067060fb28dfda624d0cfb2034160382d66b67bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:55-68 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift:58-71 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWith3DYRotation.swift:64-77 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHeuRotationGradient.swift:61-74 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:59-72 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithRotation.swift:58-71 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithSpring.swift:53-66 | OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift:55-68 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:55\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":"OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20d2504027388f9524cecc36fe6e0ea56e17def7e6e9f1a8f538472440be745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Gists_To_Try/GeminiFireworksAnimation.swift:50-63 | Gists_To_Try/NewYearsEveFireworks2026.swift:69-82 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:53-66 \u2014 before extracting anything, compare \u0060Gists_To_Try/GeminiFireworksAnimation.swift\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:49\u0060 calls \u0060UIImage\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:65\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":"Gists_To_Try/GeminiFireworksAnimation.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd12f7c426ecb8da7ef63704c02b433be6049914459d340fd25243eb51777cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 4): OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:25-38 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:42-55 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:59-72 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:73-80 \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 \u0060OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:25\u0060 it begins part-way through the construct above it, so those exact 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":"OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3feeb7e289db735018df0ad5cc062baab3c93b860145553808443cd2180f6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Gists_To_Try/NewYearsEveFireworks2026.swift:85-98 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:71-84 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fa7ed6304a7be1572b118a6d8e1861cb2a53ec9fe9a040c30a5ea07dd05dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): OpenSwiftUIAnimations/AnimatedIllustrations/MickeyMouseAnimation/MickeyMouseAnimation.swift:69-82 | OpenSwiftUIAnimations/ChristmasTree/XmasSurpriseView.swift:15-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenSwiftUIAnimations/AnimatedIllustrations/MickeyMouseAnimation/MickeyMouseAnimation.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":"OpenSwiftUIAnimations/AnimatedIllustrations/MickeyMouseAnimation/MickeyMouseAnimation.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b79a0710550c5d292676a845af42338eecdce76e002f7041c3984427f14f00f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201313 lines \u00D7 13): Gists_To_Try/HandwrittenAnimation/HelloCH.swift:24-34 | Gists_To_Try/HandwrittenAnimation/HelloCH.swift:37-38 | Gists_To_Try/HandwrittenAnimation/HelloCH.swift:57-58 | Gists_To_Try/HandwrittenAnimation/HelloCH.swift:68-69 | Gists_To_Try/HandwrittenAnimation/HelloCH.swift:79-80 | Gists_To_Try/HandwrittenAnimation/HelloCH.swift:96-97 | Gists_To_Try/HandwrittenAnimation/HelloFI.swift:26-36 | Gists_To_Try/HandwrittenAnimation/HelloFI.swift:43-44 | Gists_To_Try/HandwrittenAnimation/HelloFI.swift:56-57 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:28-40 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:63-72 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:80-89 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:112-121 \u2014 there are 13 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 13 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Gists_To_Try/HandwrittenAnimation/HelloCH.swift:24\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, \u0060Gists_To_Try/HandwrittenAnimation/HelloCH.swift:34\u0060 calls \u0060move\u0060, \u0060p\u0060, \u0060addCurve\u0060 and \u0060Gists_To_Try/HandwrittenAnimation/HelloCH.swift:80\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":"Gists_To_Try/HandwrittenAnimation/HelloCH.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54fbe272d4d6debf82cdd29fca7bb93b85e5081c9e39033e5d871505c83f1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:118-130 | OpenSwiftUIAnimations/Reactions/ReactionsView.swift:87-99 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift\u0060 and \u0060OpenSwiftUIAnimations/Reactions/ReactionsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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 \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.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":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8166877382960707d79fa2b027546b6b6459cfd53a42529d26e3692b53827465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:131-143 | OpenSwiftUIAnimations/Reactions/ReactionsView.swift:102-114 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift\u0060 and \u0060OpenSwiftUIAnimations/Reactions/ReactionsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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 \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"225bc733ae1aa93d3bcd12e1574cf16dff68aaa7673321ba093d958a6b50dd98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:19-30 | OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift:19-31 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/SpringyDuoGetStarted.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 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 \u0060OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift:19\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":"OpenSwiftUIAnimations/Tutorials/DuolingoAnimations/DuoGetStarted.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"33279edec8bf4cd59e2fe4b9a8da8f7f81578eefd40e9a593901f4a7a1f777e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Gists_To_Try/GeminiFireworksAnimation.swift:69-80 | Gists_To_Try/NewYearsEveFireworks2026.swift:87-98 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:73-84 \u2014 before extracting anything, compare \u0060Gists_To_Try/GeminiFireworksAnimation.swift\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"Gists_To_Try/GeminiFireworksAnimation.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f568d832c5f405b9802d4eef9852681202078912e5256a088618a1dd7445ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): OpenSwiftUIAnimations/Tutorials/BasicConcepts/FlipCharactersXYZ.swift:33-44 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/FlipXYZ.swift:12-23 \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 \u0060OpenSwiftUIAnimations/Tutorials/BasicConcepts/FlipCharactersXYZ.swift:33\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/Tutorials/BasicConcepts/FlipCharactersXYZ.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f7d36437a55bb47f038756f36ab635b4277a2bcd58f1d1413bf03a9c92bea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:19-29 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift:18-28 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWith3DYRotation.swift:21-31 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHeuRotationGradient.swift:19-29 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:19-29 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithRotation.swift:19-29 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithSpring.swift:19-29 | OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift:19-29 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:19\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, \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:30\u0060 calls \u0060monospacedDigit\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift:30\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":"OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b23f976d218c610cfc818f5c13e277834bbed601b55f6470d2d17943ffe148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): Gists_To_Try/GeminiFireworksAnimation.swift:32-41 | Gists_To_Try/NewYearsEveFireworks2026.swift:52-61 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:33-43 \u2014 before extracting anything, compare \u0060Gists_To_Try/GeminiFireworksAnimation.swift\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:47\u0060 calls \u0060UInt32\u0060, \u0060Date\u0060, \u0060createSparkImage\u0060 and \u0060Gists_To_Try/GeminiFireworksAnimation.swift:29\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":"Gists_To_Try/GeminiFireworksAnimation.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f209436fbd3156402ab33556588cb1b70afed8482de88ac1639b04afd9a83d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): OpenSwiftUIAnimations/AnimatedIllustrations/MickeyMouseAnimation/MickeyMouseAnimation.swift:87-96 | OpenSwiftUIAnimations/ChristmasTree/XmasSurpriseView.swift:33-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenSwiftUIAnimations/AnimatedIllustrations/MickeyMouseAnimation/MickeyMouseAnimation.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/AnimatedIllustrations/MickeyMouseAnimation/MickeyMouseAnimation.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcdb7a2ead96b12211c84560f4dfc96b9a334047530207e4e532e2d049ae70e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Gists_To_Try/NewYearsEveFireworks2026.swift:196-206 | Gists_To_Try/SwiftUIChristmas25Tree.swift:49-59 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:45-55 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fd5b6a99523901da8a1817f7072a582ca5359ca071d5f8d803bc161ce9f89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:144-152 | OpenSwiftUIAnimations/Reactions/ReactionsView.swift:117-126 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift\u0060 and \u0060OpenSwiftUIAnimations/Reactions/ReactionsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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 \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:144\u0060 it begins part-way through the construct above it, so those exact 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, \u0060OpenSwiftUIAnimations/Reactions/ReactionsView.swift:115\u0060 calls \u0060scaleEffect\u0060, \u0060CGFloat\u0060, \u0060rotationEffect\u0060 and \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:143\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":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa178b472a64e124744b2543610d7247938c80497f492d3772088750bdb6b2fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 8): Gists_To_Try/NewYearsEveFireworks2026.swift:190-198 | Gists_To_Try/NewYearsEveFireworks2026.swift:211-219 | Gists_To_Try/NewYearsEveFireworks2026.swift:232-239 | Gists_To_Try/NewYearsEveFireworks2026.swift:350-358 | Gists_To_Try/SwiftUIChristmas25Tree.swift:43-51 | Gists_To_Try/SwiftUIChristmas25Tree.swift:64-72 | Gists_To_Try/SwiftUIChristmas25Tree.swift:85-93 | Gists_To_Try/SwiftUIChristmas25Tree.swift:205-213 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0f8f743f902d641b04e5660c4f1d6dac4f3e8dc4879968c861f0b78b52aca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): OpenSwiftUIAnimations/ChristmasTree/FatherChristmasView.swift:50-58 | OpenSwiftUIAnimations/ChristmasTree/MrsClausView.swift:50-58 | OpenSwiftUIAnimations/ChristmasTree/MxClausView.swift:50-58 | OpenSwiftUIAnimations/Reactions/ReactionJumpAndFall/JumpAndFallWithPhase.swift:54-62 | OpenSwiftUIAnimations/Reactions/ScaleUp.swift:54-62 \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 \u0060OpenSwiftUIAnimations/ChristmasTree/FatherChristmasView.swift:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/ChristmasTree/FatherChristmasView.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f9b451a0bfcedf4407182f5ba85da5a74adcdb1f00c8727271fa0ac79e9f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Gists_To_Try/GeminiFireworksAnimation.swift:14-22 | OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift:16-24 \u2014 before extracting anything, compare \u0060Gists_To_Try/GeminiFireworksAnimation.swift\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/EmitterParticles.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060Gists_To_Try/GeminiFireworksAnimation.swift:14\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":"Gists_To_Try/GeminiFireworksAnimation.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"41728ddfc3ff1d8adfa98445a8273c95044fa58f618bbf52548da3a83c1ad0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift:51-59 | OpenSwiftUIAnimations/Reactions/XLike/XLike2.swift:51-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift:51\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060OpenSwiftUIAnimations/Reactions/XLike/XLike2.swift:50\u0060 calls \u0060rotationEffect\u0060, \u0060degrees\u0060 and \u0060OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift:50\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":"OpenSwiftUIAnimations/Reactions/XLike/XLike1.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb15de2dbb12302df6ab721a0f977c98be8a8dbab5555ef60bc63f6ddb58f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): Gists_To_Try/NewYearsEveFireworks2026.swift:272-279 | Gists_To_Try/NewYearsEveFireworks2026.swift:292-298 | Gists_To_Try/NewYearsEveFireworks2026.swift:330-337 | Gists_To_Try/SwiftUIChristmas25Tree.swift:126-133 | Gists_To_Try/SwiftUIChristmas25Tree.swift:146-153 | Gists_To_Try/SwiftUIChristmas25Tree.swift:185-192 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d39b585417dec42f5015ac1fe11be8d9b6fb166ea5be50bd28bccf0cac85b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:43-50 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift:44-51 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHeuRotationGradient.swift:47-54 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:45-52 | OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithRotation.swift:44-51 | OpenSwiftUIAnimations/SlideToCancelAnimations/WhatsAppPushToTalk.swift:43-50 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithScale.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:43\u0060 it begins part-way through the construct above it, so those exact 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, \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideWithHueRotation.swift:42\u0060 calls \u0060foregroundColor\u0060, \u0060hueRotation\u0060, \u0060degrees\u0060 and \u0060OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift:41\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":"OpenSwiftUIAnimations/SlideToCancelAnimations/SlideToCancelWithOpacity.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c4f138b8e761bad92c62cd9d39a07743747499ae6ec3a4f06b2834b53b6316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:14-21 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:31-38 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:48-55 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:65-72 \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 \u0060OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift:14\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":"OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/LinearAndEasedAnimations.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b6574df06dba6e79262eef9dfbd42d26c80cc538f5ad397ff8436f4a7b9dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Gists_To_Try/HandwrittenAnimation/HelloCH.swift:13-20 | Gists_To_Try/HandwrittenAnimation/HelloDefault.swift:14-21 | Gists_To_Try/HandwrittenAnimation/HelloFI.swift:15-22 \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 \u0060Gists_To_Try/HandwrittenAnimation/HelloCH.swift:13\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/HandwrittenAnimation/HelloCH.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d601994fbf0a989631bf1dc7639f6d7e8cecd37961d01fb7a1e216ed3ff1a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Gists_To_Try/HandwrittenAnimation/HelloES.swift:15-22 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:15-22 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:15-22 \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 \u0060Gists_To_Try/HandwrittenAnimation/HelloES.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":"Gists_To_Try/HandwrittenAnimation/HelloES.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a43f98ec65d170cb2b1b465e387269b7d5821332785108888200cf9674c323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/EaseIn/EaseInExample.swift:22-29 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/EaseOut/EaseOutExample.swift:21-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/EaseIn/EaseInExample.swift:22\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/EaseOut/EaseOutExample.swift:18\u0060 calls \u0060rotationEffect\u0060, \u0060degrees\u0060, \u0060animation\u0060 and \u0060OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/EaseIn/EaseInExample.swift:20\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":"OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/EaseIn/EaseInExample.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"393beb2c8751a715dadd1f814f172e4dd7c584dcc3f0c76101f05c12a9a53aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 10): Gists_To_Try/NewYearsEveFireworks2026.swift:283-288 | Gists_To_Try/NewYearsEveFireworks2026.swift:302-307 | Gists_To_Try/NewYearsEveFireworks2026.swift:321-326 | Gists_To_Try/NewYearsEveFireworks2026.swift:341-346 | Gists_To_Try/NewYearsEveFireworks2026.swift:362-368 | Gists_To_Try/SwiftUIChristmas25Tree.swift:137-142 | Gists_To_Try/SwiftUIChristmas25Tree.swift:157-162 | Gists_To_Try/SwiftUIChristmas25Tree.swift:176-181 | Gists_To_Try/SwiftUIChristmas25Tree.swift:196-201 | Gists_To_Try/SwiftUIChristmas25Tree.swift:217-223 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:283\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:289\u0060 calls \u0060frame\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:369\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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6a3d73a8cd43f127b939de8b908979773085c42b9721ae46b560c4dbd2b63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): Gists_To_Try/NewYearsEveFireworks2026.swift:202-208 | Gists_To_Try/NewYearsEveFireworks2026.swift:223-229 | Gists_To_Try/NewYearsEveFireworks2026.swift:243-249 | Gists_To_Try/NewYearsEveFireworks2026.swift:263-269 | Gists_To_Try/SwiftUIChristmas25Tree.swift:55-61 | Gists_To_Try/SwiftUIChristmas25Tree.swift:76-82 | Gists_To_Try/SwiftUIChristmas25Tree.swift:97-103 | Gists_To_Try/SwiftUIChristmas25Tree.swift:117-123 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5373fcb831826c227fbc388e17d1d513b7aba10a5b72a02560cbe43906cd4541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:51-57 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:71-77 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:91-97 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:111-117 \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 \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:51\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b9b9a0412e7fa54ae8450cf214ad6ae6347e55fc8d73940946a75e0865a413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:131-137 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:151-157 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:170-176 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:190-196 \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 \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50af3d809161a337ada980f5754dbc19faddf7a73ebfd719f6df41338add04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): OpenSwiftUIAnimations/AIThinkingAnimations/Thinking.swift:16-22 | OpenSwiftUIAnimations/AIThinkingAnimations/Thinking2.swift:18-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 \u0060OpenSwiftUIAnimations/AIThinkingAnimations/Thinking.swift:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/AIThinkingAnimations/Thinking.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74c59714c407cf64b9d69c354c9e511f0ad812f9eb589def695133307d4dd5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:103-109 | OpenSwiftUIAnimations/Reactions/ReactionsView.swift:72-78 \u2014 before extracting anything, compare \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift\u0060 and \u0060OpenSwiftUIAnimations/Reactions/ReactionsView.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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 \u0060OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/Reactions/MessengerReactions/EmotionalReactions.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8325ee3902556ce1aa1d664388b75a50f1b11454428a17107bc786fb73ca540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/SunAndWind.swift:92-98 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/SunAndWind.swift:100-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u0060-24\u0060 in one and \u0060-12\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":"OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/SunAndWind.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"443a47288ef76b47522c8cdf101206ca6fc31940b37563d0956cd6d2b723f7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:40-45 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:60-65 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:80-85 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:199-204 \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 \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e74fbc56ae5b96578151b5b4f81315b248670802b4127e7e30351d59df263c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20136 lines \u00D7 24): Gists_To_Try/HandwrittenAnimation/HelloDefault.swift:25-30 | Gists_To_Try/HandwrittenAnimation/HelloDefault.swift:37-38 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:26-31 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:38-39 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:46-47 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:62-63 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:70-71 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:26-31 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:38-39 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:46-47 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:52-53 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:58-59 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:62-63 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:66-67 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:75-76 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:79-80 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:89-90 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:97-98 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:105-106 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:110-111 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:114-115 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:122-123 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:126-127 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/MeasuringHeartRate.swift:69-69 \u2014 there are 24 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 24 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Gists_To_Try/HandwrittenAnimation/HelloDefault.swift:25\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, \u0060Gists_To_Try/HandwrittenAnimation/HelloKo.swift:49\u0060 calls \u0060addCurve\u0060, \u0060CGPoint\u0060 and \u0060Gists_To_Try/HandwrittenAnimation/HelloKo.swift:61\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":"Gists_To_Try/HandwrittenAnimation/HelloDefault.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"121411010e15c7a05bb44a19d8525ee5625a67dd0ec2f902c1cad4aa77467bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Gists_To_Try/NewYearsEveFireworks2026.swift:377-385 | Gists_To_Try/SwiftUIChristmas25Tree.swift:232-240 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:224-232 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce97aa5b734c78b34c1937286420db5991b3998bd587d38b9a1f62f90fc0d889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:120-125 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:140-145 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:179-184 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:120\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":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a176860ae6cf6f01988441ae89c2677a5753ed9e2039833290c36e63254c1dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 21): Gists_To_Try/NewYearsEveFireworks2026.swift:217-223 | Gists_To_Try/NewYearsEveFireworks2026.swift:237-243 | Gists_To_Try/NewYearsEveFireworks2026.swift:257-263 | Gists_To_Try/NewYearsEveFireworks2026.swift:277-283 | Gists_To_Try/NewYearsEveFireworks2026.swift:296-302 | Gists_To_Try/NewYearsEveFireworks2026.swift:335-341 | Gists_To_Try/NewYearsEveFireworks2026.swift:356-362 | Gists_To_Try/SwiftUIChristmas25Tree.swift:70-76 | Gists_To_Try/SwiftUIChristmas25Tree.swift:91-97 | Gists_To_Try/SwiftUIChristmas25Tree.swift:111-117 | Gists_To_Try/SwiftUIChristmas25Tree.swift:131-137 | Gists_To_Try/SwiftUIChristmas25Tree.swift:151-157 | Gists_To_Try/SwiftUIChristmas25Tree.swift:190-196 | Gists_To_Try/SwiftUIChristmas25Tree.swift:211-217 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:65-71 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:85-91 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:105-111 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:125-131 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:145-151 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:184-190 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:204-210 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:217\u0060 it begins part-way through the construct above it, so those exact 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, \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:103\u0060 calls \u0060hueRotation\u0060, \u0060degrees\u0060, \u0060Double\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:254\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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"497f67ff7c5c77013db6ffb2226134d9fd7d2900456b7df4007eef3d9d3fd6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): Gists_To_Try/NewYearsEveFireworks2026.swift:220-227 | Gists_To_Try/NewYearsEveFireworks2026.swift:240-247 | Gists_To_Try/NewYearsEveFireworks2026.swift:260-267 | Gists_To_Try/SwiftUIChristmas25Tree.swift:73-80 | Gists_To_Try/SwiftUIChristmas25Tree.swift:94-101 | Gists_To_Try/SwiftUIChristmas25Tree.swift:114-121 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:68-75 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:88-95 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:108-115 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bca946db9ad825d2cf6a527ed5b5fa26234eb7573cd0d807ec5271e16d5127a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Gists_To_Try/HandwrittenAnimation/HelloCH.swift:12-17 | Gists_To_Try/HandwrittenAnimation/HelloDefault.swift:13-18 | Gists_To_Try/HandwrittenAnimation/HelloES.swift:14-19 | Gists_To_Try/HandwrittenAnimation/HelloFI.swift:14-19 | Gists_To_Try/HandwrittenAnimation/HelloKo.swift:14-19 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:14-19 \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 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Gists_To_Try/HandwrittenAnimation/HelloCH.swift:12\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/HandwrittenAnimation/HelloCH.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bcdb056d30b2cd520faf4b8298655aa10bb84b5f774a6068fc3fb5233c91bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Gists_To_Try/NewYearsEveFireworks2026.swift:315-320 | Gists_To_Try/NewYearsEveFireworks2026.swift:376-381 | Gists_To_Try/SwiftUIChristmas25Tree.swift:170-175 | Gists_To_Try/SwiftUIChristmas25Tree.swift:231-236 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:164-169 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:223-228 \u2014 before extracting anything, compare \u0060Gists_To_Try/NewYearsEveFireworks2026.swift\u0060 and \u0060Gists_To_Try/SwiftUIChristmas25Tree.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 278 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 \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:315\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:382\u0060 calls \u0060frame\u0060 and \u0060Gists_To_Try/NewYearsEveFireworks2026.swift:321\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":"Gists_To_Try/NewYearsEveFireworks2026.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af2a117577fb9653927a6c2a9b718a8b647d69d5620bbeb64246d543092b5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:131-135 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:151-155 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:170-174 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:190-194 | OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:210-215 \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 \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:131\u0060 it begins part-way through the construct above it, so those exact 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, \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:137\u0060 calls \u0060frame\u0060 and \u0060OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift:217\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":"OpenSwiftUIAnimations/ChristmasTree/SwiftUIXmasTree.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"901ea2fd69b92f3bf1fc6f651fb8dcda6b88769c0c722c97fc6ac9a40500827c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Gists_To_Try/WWDC25Animation.swift:10-14 | Gists_To_Try/WWDC25Animation.swift:85-89 | Gists_To_Try/WWDC25Animation.swift:111-115 \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 \u0060Gists_To_Try/WWDC25Animation.swift:10\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, \u0060Gists_To_Try/WWDC25Animation.swift:91\u0060 calls \u0060addCurve\u0060, \u0060CGPoint\u0060 and \u0060Gists_To_Try/WWDC25Animation.swift:117\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":"Gists_To_Try/WWDC25Animation.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92036022b3c84ea501049d46d0e8fef906a39f4a28a9beb14ae1546748d87fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gists_To_Try/HandwrittenAnimation/HelloCH.swift:130-134 | Gists_To_Try/HandwrittenAnimation/HelloKoAR.swift:135-146 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Gists_To_Try/HandwrittenAnimation/HelloCH.swift:130\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":"Gists_To_Try/HandwrittenAnimation/HelloCH.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"14769a277ce2ed58a69213eee881cbfc128d4d0ff7440bfddc808c3eeed22994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gists_To_Try/WWDC25Animation.swift:40-44 | Gists_To_Try/WWDC25Animation.swift:64-68 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Gists_To_Try/WWDC25Animation.swift:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/WWDC25Animation.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7e5128e6ff0c0a30055298665726215167ca51fc2238b43a4b61c6afcb6566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift:47-51 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift:52-56 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift:57-61 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift:62-66 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift:67-71 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift:72-76 | OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift:77-81 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations/Tutorials/BasicConcepts/LinearEasedAnimations/Linear/StreamLogoMarchingAnts.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8466e1764545b3845c8b8566be99e650165a273b3e3c55699fbd3c7bce9c566a"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (XCTest or Swift Testing), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"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 \u0060OpenSwiftUIAnimations.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"OpenSwiftUIAnimations.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e648f214ed60a13a2df4a1663447c3da28e79263bb857e1741e60c06727ff76"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gists_To_Try/ChristmasTreeFireworksBitrig.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca52ae13ede0562fa487b37ae8151544e813a5f8c12a7dbabe2eef66d0acff4"}}],"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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}