{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"HomeworksComposeStore.handleEvent (cyclomatic 21): HomeworksComposeStore.handleEvent has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/store/HomeworksComposeStore.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8a97f5c01c029ab46a381ce8ca70b726d531eb1de7e0af17ce114944b6b7ba"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassComposeStore.handleEvent (cyclomatic 19): ClassComposeStore.handleEvent has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/store/ClassComposeStore.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b285de91f85e88b45565d30f792d63c292733901ae6080a5d75a068d7c87be"}},{"ruleId":"D1","level":"warning","message":{"text":"Base.fetchGoalsByDate (cyclomatic 17): Base.fetchGoalsByDate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0b896f2f39fcb709d217cf1552f1086414bc21d6c785f2529bb0ba0b6f2388"}},{"ruleId":"D1","level":"warning","message":{"text":"DailyHomeworksDetailsViewKt.DailyHomeworksDetailsView (cyclomatic 17): DailyHomeworksDetailsViewKt.DailyHomeworksDetailsView has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd158fb6372391884e8a76a18239ee66d67070087806e623ac7b73b76405995a"}},{"ruleId":"D1","level":"warning","message":{"text":"DailyHomeworksDetailsViewKt.ShortHomeworkViewContent (cyclomatic 17): DailyHomeworksDetailsViewKt.ShortHomeworkViewContent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"556120f09c1ebef05ffce56c9c74e88dfbc833b879fea8dd71fbb2206c0da5f5"}},{"ruleId":"D1","level":"warning","message":{"text":"Base.isOverlay (cyclomatic 16): Base.isOverlay has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/managers/TimeOverlayManager.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5a1d6de1082690163fbbdaa8d080a8a2ae219653cb19c94f9befb3ba573a28"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupContentKt.SetupPageInfoSection (cyclomatic 16): SetupContentKt.SetupPageInfoSection has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/setup/SetupContent.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a79116efbf6d546d3406e1110368c52b641063ecc91640d75416ee144586b5"}},{"ruleId":"D1","level":"warning","message":{"text":"OverviewComposeStore.handleEvent (cyclomatic 16): OverviewComposeStore.handleEvent has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/store/OverviewComposeStore.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e7c015888cad54ecd4ff0024b082b3d48ae93872067f9894e5f5583ff755fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Base.completeOrCancelGoal (cyclomatic 16): Base.completeOrCancelGoal has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"505b716591902ec6fe6605b64d98ffb6ffbf51b158236e0a12f55060f4febca0"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.updateUserSubscriptionInfo (cognitive 38): Base.updateUserSubscriptionInfo has cognitive complexity 38 (threshold 15). Drivers by points: if/else 28, error handling 8, boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/src/commonMain/kotlin/ru/aleshin/studyassistant/domain/interactors/AppUserInteractor.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"375c07250c916d7cb1c92d244858174629ea02a2b340be9ed76d951017e28116"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.fetchGoalsByDate (cognitive 23): Base.fetchGoalsByDate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e5c160c59136a17e99b66b0b91d88c73ed8fd1aa7b242c7ead3083a44dc872"}},{"ruleId":"D2","level":"warning","message":{"text":"DailyHomeworksDetailsViewKt.DailyHomeworksDetailsView (cognitive 22): DailyHomeworksDetailsViewKt.DailyHomeworksDetailsView has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31875ceb336936559e44ef8a7a23277957b7c10660f1f338441c391c010eab8"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupContentKt.SetupPageInfoSection (cognitive 21): SetupContentKt.SetupPageInfoSection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, match/switch 10 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/setup/SetupContent.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d426dd03682d0057343c7f68968421c35e153bce2a483b8f563d2c863341b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.completeOrCancelGoal (cognitive 21): Base.completeOrCancelGoal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, match/switch 8 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b05dba7427086b45e9b697db4cb7684425b3584350e7b14c73db26dae217f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.cycleUpdateActiveClass (cognitive 19): Base.cycleUpdateActiveClass has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/store/OverviewWorkProcessor.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f21f2a03e62ad6f0e740d54ed85aaabd6374b47019503e422262739af3811c"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.isOverlay (cognitive 18): Base.isOverlay has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/managers/TimeOverlayManager.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ac5e37ec2d3844afc5f561851b4b9d9fe8df9c29d406b8f00a032ed4d22c62"}},{"ruleId":"D2","level":"warning","message":{"text":"TodoViewItemKt.TodoViewFooter (cognitive 17): TodoViewItemKt.TodoViewFooter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/common/TodoViewItem.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd72216b952077d94a578d14f0563e5eb4a6dc1297f3d7e301c5bfa81a2559a"}},{"ruleId":"D2","level":"warning","message":{"text":"DailyHomeworksDetailsViewKt.ShortHomeworkViewContent (cognitive 17): DailyHomeworksDetailsViewKt.ShortHomeworkViewContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8dfe3b6713c57bf44b6455aaa579836ee8012a123ae768f75607c2ba0d957a"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareContentKt.ReceivedTasksSection (cognitive 17): ShareContentKt.ReceivedTasksSection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/ShareContent.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77611a6a16f27b7ec4b14087025a4ed7c861921ccdf53268c36d753d5c28f15"}},{"ruleId":"D2","level":"warning","message":{"text":"OrganizationPageInfoKt.OrganizationPageInfo (cognitive 16): OrganizationPageInfoKt.OrganizationPageInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/setup/views/OrganizationPageInfo.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83e3591b27883c9c25e153cecf2f29672ffcbe8f6bebf035dc8f21453eafa2c"}},{"ruleId":"D2","level":"warning","message":{"text":"OverviewTopSheetKt.OverviewTopSheetAnalysis (cognitive 16): OverviewTopSheetKt.OverviewTopSheetAnalysis has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 4, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/OverviewTopSheet.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a5c4e398afffd33cacdc3689b58319a248a239bb8448056e530e28b5c49ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"FriendsSearchTopBarKt.FriendsSearchTopBarContent (cognitive 16): FriendsSearchTopBarKt.FriendsSearchTopBarContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/friends/views/FriendsSearchTopBar.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aca29341511eac508bfc25c1e3e445ecac9340b54933fde847ed561e7fc3de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccountService: TooManyMethods \u2014 51 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/auth/AccountService.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"db082f04d7111608ef0b9e7aa2f829877fa26765c6317f57b65059f4e452416b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/AccountService.kt: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: connectionManager (68-1526). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/auth/AccountService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f48a44bfee7c310d34c8cfaaa6caa31331b7993d67272c6b96e62593803e26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/TextFields.kt: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b4a75b82bd365bcc24a416f1b95f84bd02140bba762ea5930f318972373a2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/DailyHomeworksDetailsView.kt: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e64bb36b958b6bd04cc53c3ab44f0ca213266167cd6c9c33854e745a86c79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/DailyGoalsView.kt: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyGoalsView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5367050baac455210f3d42efc605e61aa303c4129e70e7cf5a2692707f90906c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksView.kt:233-252 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksView.kt:326-345 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksView.kt:233\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksView.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc16d89ac9bcb0be6da929611ac2d9296963280a4359a2d5691bb3e6fd721b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:195-213 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:329-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:195\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5465b1304e4b4df3963063b4dfb5a168ebfa224db2e05887073bcd4dea660c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/EmployeeSearchTopBar.kt:98-116 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/SubjectsSearchTopBar.kt:98-116 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/EmployeeSearchTopBar.kt:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/EmployeeSearchTopBar.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a514907c232a3c1012980c04a332e430af4d33b1e35b07c00f65c1e984381d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:200-218 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:251-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:200\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee90e22bac9757c84ad0f0019b7f9e7411d14d9b1fb3791cb0bc7b40fcac04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/EmployeeContent.kt:125-142 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/SubjectsContent.kt:125-142 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/HomeworksContent.kt:165-182 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/OverviewContent.kt:200-217 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/todos/TodoContent.kt:103-120 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/EmployeeContent.kt:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/EmployeeContent.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b129be95664382a5a21d060a99957a99b488935ce07748d753c9cfed2677fa49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/ClassTopBar.kt:52-69 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/views/EmployeeTopBar.kt:52-69 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/subject/views/SubjectTopBar.kt:52-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/ClassTopBar.kt:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/ClassTopBar.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9306116b996fe95976b38fe1501bbe6d1a8224802d905eb02a3967deb57ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:125-142 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:205-222 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e9236731a58f00297ced2188f15a138644596e7ff57ffaed6fe5c1e95c72a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt:131-148 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/TeacherInfoField.kt:181-198 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt: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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"63df8935895241e78d6ce4cf15c62f684ee328f2706a40ae959f874bfc5669d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt:208-225 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/TeacherInfoField.kt:258-275 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt:208\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8f441d8ee216193598912e82d82583246a6d7b5cdc52c4045a3a2a3d9fc49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:166-183 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContentCompact.kt:81-98 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc837d071cae0e7444b95a42a01f84285879c42058b04f658157cfb57dd42b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/Dialog.kt:70-86 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/Dialog.kt:155-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/Dialog.kt:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/Dialog.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"336b6e0f33258e634cf7a1d840ef08653ba1c525e417c61e96429164747bca53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:366-382 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:452-468 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:366\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1becdcc73f48fff659da173d9fa3a2b9cdc48d2b25493a71b409a1fa082b0e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/common/AuthTextFields.kt:88-104 | shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/common/AuthTextFields.kt:153-169 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/common/AuthTextFields.kt:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/common/AuthTextFields.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6499d2e3126d775a389e8ea9df27f2bdde99140fe348f659acaef51b84fc00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt:142-158 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt:210-226 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba2acbc894718638a9f36f979d2cde5b9d04a8fb86b31b4e3e016716b810645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt:90-106 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/DetailsSubjectView.kt:87-103 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a450790ac1b0c3a7cea54723877614f1de3c4bf42fe96e045935b76b0bd053be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:379-394 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetClassView.kt:173-188 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:385-400 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:379\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"94816a7c786230374d56e7a057272191be3ce29f0d631e6587f14297d0e33511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/auth/AccountService.kt:877-892 | shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/auth/AccountService.kt:1067-1082 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/auth/AccountService.kt:877\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/auth/AccountService.kt"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73d9d46e78b569b37539a767e64b7f68be15dab320eae60ce2fec4794d6d7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/theme/tokens/StudyAssistantColors.kt:105-120 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/theme/tokens/StudyAssistantColors.kt:141-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/theme/tokens/StudyAssistantColors.kt:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/theme/tokens/StudyAssistantColors.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0450faf7b128beccbaaef5005f2ed6e29163d9d9d03647eb41bdc8e24f023f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:566-581 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:674-689 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:566\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d08709bf838a9b5cba8a9f291920ff693e8127d4b3a96c04ca3cc551a0e3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/models/users/EmployeeDetailsUi.kt:58-73 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/models/EmployeeDetailsUi.kt:49-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/models/users/EmployeeDetailsUi.kt:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/models/users/EmployeeDetailsUi.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e917d0ffa52706f7a06653b3cc1fa70a59956b3a0b82eb91a92fc0fb7ae61587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/DetailsContent.kt:242-257 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/DetailsContent.kt:335-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/DetailsContent.kt:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/DetailsContent.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef21944a5a5f4ff730c4776aeb1a377a5050f29efb61075724bb3ef2a3e3bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BirthdayDatePicker.kt:69-83 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/homework/views/LinkedClassInfoField.kt:351-365 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/todo/views/TodoDeadlineInfoFields.kt:164-178 | shared/features/settings/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/settings/impl/presentation/ui/calendar/views/HolidaysView.kt:483-497 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BirthdayDatePicker.kt: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":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BirthdayDatePicker.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a94106c4fdfc6e367e165103c46c2b9ab570026b1fd28026c0932b3a21806c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt:114-128 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt:121-135 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SharedScheduleView.kt:106-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3611fe738609196af5dd1940d52c0232145bff50c0c4eb8a1fa37d87c7e055cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:239-253 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/common/HomeworkTaskView.kt:192-206 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalHomeworkView.kt:209-223 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7733939711d0657a187a14a2e8b97ea28aba970e738a6f5bf5f0dc2398b06d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt:89-103 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseSelectorDialog.kt:106-120 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"865caaac43462c6ac3a0a840887c29b740a46f7472b659ad57d0674e5b8cbff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt:160-174 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/TeacherInfoField.kt:210-224 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c8207484973a12d584823f7358f47f56b188782c695d48f4558b21a8ed1747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:176-190 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:310-324 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:176\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fd33f84f7dc0a752c3baa96ed0f84b3308bfadc1b77b974cbe88b61524c2cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:344-358 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:350-364 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9e6b38da11b49e786deb51dcd2482fda531069756fe4eb2d824143708ff30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/EmployeeSearchTopBar.kt:62-76 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/SubjectsSearchTopBar.kt:62-76 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/EmployeeSearchTopBar.kt:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/EmployeeSearchTopBar.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d046959d92bf462d275e49f2355d139e08471940538d673486d12efa259559e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/store/HomeworksComposeStore.kt:206-220 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/store/OverviewComposeStore.kt:209-223 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/store/HomeworksComposeStore.kt:206\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/store/HomeworksComposeStore.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"585fc2889090e654df4555f420d2f72697a67b39a3bdff8c047814f1fb6a6729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:233-247 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:260-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:233\u0060 it begins part-way through the construct above it, so those exact 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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e376ce60c4ac8a19329173ea2438b5ee3ca40b075fecf4b34b41fee47e32ad4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/friends/FriendsContent.kt:256-270 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/requests/RequestsContent.kt:238-252 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/friends/FriendsContent.kt:256\u0060 it begins part-way through the construct above it, so those exact 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":"shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/friends/FriendsContent.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"82265c875ca8b5a9b111396f2d9662d2581fb7f45cacf9c203fcc18bd35f35f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:166-179 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:289-302 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:378-391 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f85e2145b1a583dd936ce3efcdec926066e58625b1457840e9bdb07cf1b02f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/employee/EmployeeRemoteDataSource.kt:71-84 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/organizations/OrganizationsRemoteDataSource.kt:71-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/employee/EmployeeRemoteDataSource.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0654ea38fcd5d25a6cff9f40e03554af2f144f45d9e5afc441363c6b066078c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/employee/EmployeeRemoteDataSource.kt:120-133 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/organizations/OrganizationsRemoteDataSource.kt:120-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/employee/EmployeeRemoteDataSource.kt:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/employee/EmployeeRemoteDataSource.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3db5819f33d2a4b4131fa3b01517f11a38f50bbaffbd2ccdce2eeb0c586f9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt:110-123 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseSelectorDialog.kt:130-143 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"682118a0dbb7414efebca84068d38737c449ffeaf8cddeb20768720156255b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt:158-171 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseSelectorDialog.kt:178-191 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/BaseCheckedDialog.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b05be3759a18abfed0406d18d2622c04591ff1b37c5ae4777140e87e77475f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/menu/AvatarView.kt:92-105 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/menu/AvatarView.kt:150-163 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/menu/AvatarView.kt:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/menu/AvatarView.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25acff7dc932b97a0d5d41cf0622f54f741fa7a274ae4edf8d137d56768b158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/HomeworksUiMapper.kt:25-38 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/HomeworkUiMapper.kt:37-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/HomeworksUiMapper.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/HomeworksUiMapper.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07085ef4dd504b0bceb9386294f5b91c2ce560d4f6721910aae2ba5b5557058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/HomeworksUiMapper.kt:41-54 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/HomeworkUiMapper.kt:71-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/HomeworksUiMapper.kt:41\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/HomeworksUiMapper.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"28002e996a30231887c39bb99aed95be1d821228551be275703b848c8cc06f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt:136-149 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/WeekScheduleContent.kt:134-147 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9844a2983d9800d0de58a0fed54c443f3fe039497967ca2087d1546572c89120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:209-222 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/CommonShortClassView.kt:123-136 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23709523155f1b98e28a04675969215e18e72c34f482238b54cec06882a3d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt:135-148 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/DetailsSubjectView.kt:123-136 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa00508fc1e48c669a3863e6310b25336dc14aaea5a5895882009b91c35bad9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:488-501 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:593-606 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:488\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d122c07a01343be8d53ab83c5116e4302706022b8dff85de6d1ee2239303de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:372-385 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/SharedHomeworksStatusView.kt:109-122 \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 \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:372\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fdd5516e87aa8f58729c86df04ba742110cb60e5d90323c72db1db26b77754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:525-538 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:461-474 \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 \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:525\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a08330a72a0f640c4a4d8f65c8394fe591d2efb604746dc41aaf212b2bf77dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:157-170 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalHomeworkView.kt:127-140 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d3c1a31c3f2211041a0afbb03c6249c979ac9a05b5e7e23ebb9f06796603c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:183-196 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalHomeworkView.kt:153-166 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc47458df9062bb11ebb8109900c151f49a216c6b729a58281aee6e0adb6984c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/OverviewTopSheet.kt:164-177 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/HomeworkTasksChart.kt:139-152 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/OverviewTopSheet.kt:164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/OverviewTopSheet.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abc254a5f7cb8fc7576a2ae9792c5aded1b957e1c9e35c133eb8b1d601ba06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/ShareTopBar.kt:45-58 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/todos/views/TodoTopBar.kt:45-58 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/ShareTopBar.kt:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/ShareTopBar.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1591d93f424bb6c1b7a7055f10c900fcecd11604a186ad69d2704362cc97ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:404-417 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:332-345 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:404\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3f5293a835b222ff74b9703843eed4258c5f6871ea490f7a92f3807eaab81f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt:345-358 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt:397-410 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt:345\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb6a1ec9e491651168302fa4376308581616f80f06c2032aa500514418330ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/ReceivedSharedHomeworksView.kt:252-265 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/SentSharedHomeworksView.kt:84-97 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/ReceivedSharedHomeworksView.kt:252\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/ReceivedSharedHomeworksView.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"92741cc15231d7e2e3690ef2c45611cd204fcef7e2e6de8ecadfc7bd72596124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/employee/views/EmployeeProfileTopSheet.kt:342-355 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/user/views/UserProfileTopSheet.kt:314-327 \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 \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/employee/views/EmployeeProfileTopSheet.kt:342\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/employee/views/EmployeeProfileTopSheet.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee5875d1dd53e8dabffafb3e885fcb5cfa207281d728468cd249231ea0ff64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/billing/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/billing/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/AppUserUiMapper.kt:31-43 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/AppUserUiMapper.kt:31-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/mappers/AppUserUiMapper.kt:31\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":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/mappers/AppUserUiMapper.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc199eaf607bce9626b85f1440d5819438c3b9c4660a35611a50c9db5ad45b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/billing/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/billing/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/AppUserUiMapper.kt:48-60 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/AppUserUiMapper.kt:48-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/mappers/AppUserUiMapper.kt:48\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":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/mappers/AppUserUiMapper.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7de99db42314adfb446cb2ca5fbff1c74676a51bbbb9ab0c0e2c01730b12450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:425-437 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/common/TodoViewItem.kt:391-403 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/employee/views/EmployeeContactInfoView.kt:115-127 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/employee/views/EmployeeSubjectView.kt:132-144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:425\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c4ca6be97490a169fca658c8d759a228b94ae4bd00cbf4f44133d601cac8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:358-370 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:448-460 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/SentSharedHomeworksView.kt:309-321 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:358\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"113dfe9fceaf6936c9479cd833e74bc325a9285a1d177b2f803dc6b6cece151c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/WarningAlertDialog.kt:51-63 | shared/features/billing/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/billing/impl/presentation/ui/subscribtion/views/SuccessPaymentDialog.kt:51-63 \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 \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/WarningAlertDialog.kt:51\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":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/dialog/WarningAlertDialog.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"31067d0b5f930bbf5fb2517aa19f10f31bd5de08655ea33df53e0c9a7496610e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:92-104 | shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:123-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:92\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":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd873a0be3168093273b221371975d5a696e2d830e4c5fbd1b998bba912f4c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/forgot/views/ForgotActionsSection.kt:97-109 | shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/register/views/RegisterActionsSection.kt:120-132 \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 \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/forgot/views/ForgotActionsSection.kt:97\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":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/forgot/views/ForgotActionsSection.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14651148f3b9c57cf6686bcc94f1e4b67e6d0f1d9becc7a14a6f821d04649e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/login/LoginContent.kt:180-192 | shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/register/views/RegisterActionsSection.kt:91-103 \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 \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/login/LoginContent.kt:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/presentation/ui/login/LoginContent.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0222b002e027e1116d2c7a2ef7fe14abfffdb88676249332112b042ac06952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:359-371 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:388-400 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:359\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef19419060db0277d68ebf7f694dbb372aad36251a67e61e5732b94d9aa8aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt:184-196 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/TeacherInfoField.kt:234-246 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/SubjectSelectorBottomSheet.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3ea38a02921634b552bbdf5395bcd40d86b0aa2668eaae0368de1f707dfd83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:157-169 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:153-165 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c8bf1ca0ff057f15c6a984d67dc4c5f9cd4dd85d08d28cfe6ff9642ea4b074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:181-193 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt:218-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:181\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"da23d63a28c063b8e504d505ee21e1eca2b3310f19d1dcfa31bdbe7d81abbc9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/EmployeeContent.kt:208-220 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/organization/OrganizationContent.kt:214-226 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/EmployeeContent.kt:208\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/EmployeeContent.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba06d255a2c9ddca0f54efb41327ab82583d65bad3f75b98245282f13bc3bf05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/homework/views/HomeworkBottomActions.kt:55-67 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/todo/views/TodoBottomActions.kt:55-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/homework/views/HomeworkBottomActions.kt:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/homework/views/HomeworkBottomActions.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5117329f301a5c3c1f1a2a216c64a7220f85e0528be9735288dfdfa8c7eeb2ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:76-88 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/CommonShortClassView.kt:78-90 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a90fccf89d1e9397ff5865e5c10fa5f3cb71657f1edf2a730713fecf09d73b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:184-196 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/CommonShortClassView.kt:185-197 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"998c9ca3d18ca90436507df19e5c228d3dc61c252799222c6fb410fc6e3e69e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt:222-234 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/ShortEmployeeView.kt:80-92 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/views/DetailsEmployeeView.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefd77cb5a51cc4a3e393a8055b18e2e97ef526a4b0ec90ae98a607583fe414b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:421-433 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:530-542 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:421\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb5777ef35027120e6e780dbb18c1a0bc22727a6bf236d63e1cfb81507a825c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/OrganizationsBottomBar.kt:126-138 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:322-334 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/OrganizationsBottomBar.kt:126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/OrganizationsBottomBar.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f9a78c1f3e2a0206b0c08f35f63ed6716873ab794e791b40b9b7f0debc417e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:207-219 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContentCompact.kt:122-134 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cb39973127c0942d23e51ad1e5f758e27bfdce93408f55b19c2dc328eea698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/setup/views/OrganizationPageInfo.kt:107-119 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/setup/views/ProfilePageInfo.kt:101-113 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/setup/views/OrganizationPageInfo.kt:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/setup/views/OrganizationPageInfo.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3717b538fd277ae907fe9f7699037da32cfb7d4d1eca2c5ef666a10ba28aa84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:209-221 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:261-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:209\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":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4199aa326c6a3b2019af0a936476ca4f2bbd438bc1152931ecd9e9043ee66c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/root/ScheduleContentProvider.kt:45-57 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/root/TasksContentProvider.kt:46-58 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/root/ScheduleContentProvider.kt:45\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":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/root/ScheduleContentProvider.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a7c3ca8a54f3a21c5df654fab85ae18cbed6895bc550fef10d8f8e8d0823e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/LinkedEmployeesView.kt:124-136 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/LinkedSubjectsView.kt:130-142 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/LinkedEmployeesView.kt:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/LinkedEmployeesView.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96476cad255c38f81d9e929d087d9382f8109c8fbfacaa3c91a2e1eaa66cc30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/HomeworksInteractor.kt:255-267 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/TodoInteractor.kt:181-193 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/HomeworksInteractor.kt:255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/HomeworksInteractor.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38a80ad1175d3e55f136d940021aa661861cc2356ceb6601b3e5db2ec7a304e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:535-547 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:456-468 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:535\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d252671cca5cf6ae1b32902aafdf520b1ffc7ca3b986fb0b7bab115ee5cedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:632-644 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:522-534 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:632\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"707d4b44f3ff518962b92af1913657d725d82db5a6f8e01093510793411537a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt:28-39 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/mappers/EmployeeUiMapper.kt:26-37 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/mappers/EmployeeUiMapper.kt:26-37 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/EmployeeUiMapper.kt:28-39 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/EmployeeUiMapper.kt:26-37 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/EmployeeUiMapper.kt:28-39 \u2014 before extracting anything, compare \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt\u0060 and \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/EmployeeUiMapper.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"034f72dbde400be85c673192e6d995fab467a8f5295b05d6ae634710fd8d2672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt:195-206 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/settings/CalendarSettingsRemoteDataSource.kt:83-94 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt:225-236 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt:118-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt:195\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da7ec268a9c494707b173c95e4fa59e897dcb5ebc5c9286a0ea49c639787051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt:206-217 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/HomeworksInteractor.kt:254-265 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/TodoInteractor.kt:180-191 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt:206\u0060 it begins part-way through the construct above it, so those exact 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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbda7a1b9ddeaa627f35ffc94600cb64b090ef0a6bd32c1c625cb38a08f86366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/client/AppwriteClient.kt:229-240 | shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/client/AppwriteClient.kt:285-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/client/AppwriteClient.kt:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/client/AppwriteClient.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d522e4154847b5d2f2aa176938cb32b1e3ff890fb560e6f557704dbdcd33249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt:197-208 | shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt:384-395 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt:197\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"067107cdcff86d15b4f2ab6a75454f064056665e3d9413b89c5ef368ae0831d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/storage/StorageService.kt:95-106 | shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/storage/StorageService.kt:120-131 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/storage/StorageService.kt:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/storage/StorageService.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90884e551380048287ea7f58f42d1f611b1f7cf9c2ba18d826bae87a9236c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt:120-131 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt:175-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt:120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a681289e90d84730d8767fd43411946defbf6354074b03867533487ec1fe6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:241-252 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/CustomScheduleRepositoryImpl.kt:189-200 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"776794185c069c2974c3d707cc41d11260a0b8f415ac5c64698e787eed098286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/BaseScheduleLocalDataSource.kt:229-240 | shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/CustomScheduleLocalDataSource.kt:202-213 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/BaseScheduleLocalDataSource.kt:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/BaseScheduleLocalDataSource.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aab369f8e15d482df8767247b258d24cddaf0715da42aeb5441b60c89154600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:348-359 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:434-445 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt:348\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/views/TextFields.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e9195b59a89243345a3cd1f9bc7b5ab303029770af326a711a7f85e1ce1e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:151-162 | shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:176-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5048abe758e36f3f1014f2d9cc3b050bd48484e28634b7a654ff572e8498a9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:186-197 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:210-221 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1a10481a6ef5fc5af50d9b2b2444bd761547930f831843f8b53132b9c1e3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/store/AssistantWorkProcessor.kt:121-132 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/store/AssistantWorkProcessor.kt:138-149 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/store/AssistantWorkProcessor.kt:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/store/AssistantWorkProcessor.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ebba7f0bfafea01335686f30d879c087e29ae2fd3cbef5f7a216ba82a6214f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt:46-57 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/EmployeeUiMapper.kt:46-57 \u2014 before extracting anything, compare \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt\u0060 and \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/EmployeeUiMapper.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt:46\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4d7071d1929ecf7b253e30e1eca088ad14aa11b5030c15d186eaf3844a9d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/TImeInfoField.kt:94-105 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/views/WorkTimeInfoField.kt:87-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/TImeInfoField.kt:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/TImeInfoField.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1e0cef30b80b5605a41be6ffd2ebdeab4acef5591145a089bd1bdd67979cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:249-260 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationsInfoFields.kt:137-148 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt:249\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationInfoField.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"883007d1cff3bc69e8c5690d652310c421da447e1c4d9a1df24e2990023cc8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:305-316 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:311-322 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:305\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"301dc15d2e599f7d58f76d39d0fd1682b44a101a1030021cc3675bf54cec40dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt:127-138 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt:188-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt:127\u0060 it begins part-way through the construct above it, so those exact 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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e2c16f5f95c8f49e566eda767f6ba0e3b30b8bed24740d8db9c1fa0bc643f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:142-153 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/CommonShortClassView.kt:145-156 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:142\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2c1320bd3b340ff2900cc3af84fbac02fdfef81670928127c592c6a100674d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleIntervalsDialog.kt:222-233 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleIntervalsDialog.kt:268-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleIntervalsDialog.kt:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleIntervalsDialog.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eec63d7b28a6072050800675bcd389b523844d71c1de6e7759a293a7f0005cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:81-92 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:97-108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:81\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":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f042c6dddb7e8fd23e8e9e7c169bc314d4d69567d0b51db4715ba0a077bcf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:195-206 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContentCompact.kt:110-121 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt:195\u0060 it begins part-way through the construct above it, so those exact 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":"shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/ui/intro/IntroContent.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa427cf5f1812902a3ae0c8896e084540a730c51d898df239e0a01749ab0fc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:237-248 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:289-300 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt:237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ProfileActionsSection.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"97541b9ca849f98ff776776e14ffb10dfab25322ebbb19c9ef1f6dd7b16e1dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:361-372 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:456-467 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:361\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f9c96af076246344377eab7e2b1d0e7478812e35c069199b839a326bec75ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt:100-111 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SharedScheduleView.kt:85-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bcc6ca76b5d4ec37fd4df081406a30eee912c8229391cdd9c331ff04272773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:182-193 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:218-229 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced1014046b63a1a728eba790b63ee15d7cc2d2dfb556cce86ab648801ab5b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalBottomSheet.kt:272-283 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt:288-299 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalBottomSheet.kt:272\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalBottomSheet.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2df9e47e8877587d3457fcf2b1a9beba74d8d186c952ca9223097d27fca508a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:311-322 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:401-412 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:311\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e5685481464bb85c755f74b6f0c4b537e2eea3a29a22a8c7f29d081aff7b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/domain/interactors/FriendRequestsInteractor.kt:129-140 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/domain/interactors/FriendRequestsInteractor.kt:174-185 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/domain/interactors/FriendRequestsInteractor.kt:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/domain/interactors/FriendRequestsInteractor.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c73c447de8d7a91df46207d3f8782e8cf903290fbb9a5d1c8f602586943dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt:65-75 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/mappers/EmployeeUiMapper.kt:44-54 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/mappers/EmployeeUiMapper.kt:44-54 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/EmployeeUiMapper.kt:61-71 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/EmployeeUiMapper.kt:44-54 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/EmployeeUiMapper.kt:65-75 \u2014 before extracting anything, compare \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt\u0060 and \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/mappers/EmployeeUiMapper.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/EmployeeUiMapper.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b20e0651239bdfb45217c64ac9c5ff49af382a4448a7a5c07db8056482b485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:123-133 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt:114-124 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt:121-131 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SharedScheduleView.kt:106-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/CommonShortClassView.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4b0520186a19a2bbb9dbd1c597ab0641faacab4f0b628fa399af54ac56a237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt:232-242 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt:261-271 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt:289-299 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd358765affc300f57817ffaab7bae4310ca112743ed8ec6209bf2e81786224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt:90-100 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt:149-159 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt:182-192 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7704e83fad98a9a92a0416522d3c3bd2a1a0733a1ad09cc8ed5d68ccaf32fe41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/ClassUiMapper.kt:25-35 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/ClassUiMapper.kt:31-41 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/ClassUiMapper.kt:25-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/ClassUiMapper.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/ClassUiMapper.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a063cc6486412dda75a1215974d80615194fce76c7467d8ce44af4c8e3020b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/ClassUiMapper.kt:39-49 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/ClassUiMapper.kt:77-87 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/ClassUiMapper.kt:38-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/ClassUiMapper.kt:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/ClassUiMapper.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"43576568e3be4076df47fad825c823799c733a80cd3bd5cbceba74c24fe46ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/CityInfoField.kt:72-82 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/DescriptionInfoField.kt:74-84 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/UsernameInfoField.kt:70-80 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/CityInfoField.kt:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/CityInfoField.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a924f4047d5023fa10ed224a9f25e170e5a63a5c0fb8acd128b2cb1031f13248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:158-168 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:141-151 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:161-171 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:158\u0060 it begins part-way through the construct above it, so those exact 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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d863d0198f19274920e905b37979b291d9024231ebdce0ef692aba64119d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:76-86 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:199-209 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:317-327 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:76\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0046fa53a8b0450d33a5560139ec5d2aceb8a05830d9f7eb68d8aa7e545cd8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt:347-357 | shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt:422-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt:347\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":"shared/core/client-api/src/commonMain/kotlin/ru/aleshin/studyassistant/core/api/databases/DatabaseService.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9eec4b882fddc2f73da0e3dd54c935af22dd2aa7d9805f20d8028b89947d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/tasks/HomeworkDataMapper.kt:67-77 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/tasks/HomeworkDataMapper.kt:122-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/tasks/HomeworkDataMapper.kt:67\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":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/tasks/HomeworkDataMapper.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5d206e826a82f3bd560606f34161dc59d09e032033b52388a358b4e003acab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/AppUserDataMapper.kt:162-172 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/AppUserDataMapper.kt:179-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/AppUserDataMapper.kt:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/AppUserDataMapper.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c73ad40d73f0c8657e2649f7158c147a0127d0bdbd5fab6ab3c5789f5927b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/EmployeeDataMapper.kt:81-91 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/EmployeeDataMapper.kt:148-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/EmployeeDataMapper.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"341fcfe0f424585bc249f8924554635411e1b5fbe4383d532dfbc236d13db125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/AiAssistantRepositoryImpl.kt:84-94 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/AiAssistantRepositoryImpl.kt:124-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/AiAssistantRepositoryImpl.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5abbfc52dc65b298ba48659aa42f69d838dfdd490e5558a42d819f667365ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:113-123 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/CustomScheduleRepositoryImpl.kt:82-92 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bf5ac03f90270443d791f22ff7bd920c720ecdd69baa2574243710516e750e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt:163-173 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt:211-221 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda50807a7909d52e3c5bb63efa7229765ba2d1bbab2b6105d137b58e07a9cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt:311-321 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt:494-504 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt:311\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae813bcbef81d15e9ca72a159a666611400c1ef45d8ae45450b97e57655ca5a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt:295-305 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:115-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt:295\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e475e495eb6a0ac0235c51d10939a7d2c6db49a6a1a0bc6fc84ee1c1482a073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:243-253 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:247-257 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:243\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b513a4c15c19ae2f13fa0e0339d310636b0ef9d0d06c687361d87fdeca85a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:326-336 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:332-342 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:326\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27b71db3c2132a99df56e85845521376f8cdce3633cafd5cd519962bdbcbdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/common/EmployeeSubjectView.kt:46-56 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/common/EmployeeSubjectView.kt:78-88 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/common/EmployeeSubjectView.kt:46\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":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/common/EmployeeSubjectView.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4382788d9c45967c3071467385f53787ed5be06ba9a0bc2517e098ac0b7d14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:379-389 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/employee/views/EmployeeProfileTopSheet.kt:155-165 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:379\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3122e5da1b82dcb2d033cb8f2eb9814d51d4626229aa0b91fcc2d6473e95aec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:402-412 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:511-521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:402\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":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"08838952b052ac65fed89b8486b8585a43c074d92ad0e3fb0a02020f6bf52811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/OrganizationsBottomBar.kt:107-117 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:303-313 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/OrganizationsBottomBar.kt:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/OrganizationsBottomBar.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1302f1c1b4451def6f8575b80100a5b10d483e8264866c1e35a26268784d7c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/ShortSubjectView.kt:122-132 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/DetailsSubjectView.kt:259-269 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/ShortSubjectView.kt:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/views/ShortSubjectView.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e3a4cce25cc6ccbec17ed25a7fe9bc82f18fb31683c4251362d3650aadce68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:468-478 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:402-412 \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 \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt:468\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/ScheduleSenderBottomSheet.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b86d0bba1dd8f4f2be42cf1e47371ffbf04f00dfadf80664c7dba51bfb78ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:112-122 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:272-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:112\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":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc89e5f0242f83fef78dc894dbe823b59f0204ef480e4fb9760d1155deabe66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:166-176 | shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:324-334 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/profile/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/profile/impl/presentation/ui/views/SharedSchedulesBottomSheet.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0cfb4d5a50cd6d83a02d4924e1385826b082ddd4645907652b5f530ac42f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:142-152 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalHomeworkView.kt:112-122 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/common/SheetHomeworkView.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"155630df86965553f91cb3a76a3f0676fe8af7d73056f1f637039840ae6d7c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/store/ShareWorkProcessor.kt:173-184 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/store/ShareWorkProcessor.kt:199-209 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/store/ShareWorkProcessor.kt:173\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/store/ShareWorkProcessor.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49696ac24cc8a4927d28158371ee8454f9a94202d96efab5aca09e36fe6e3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/settings/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/settings/impl/domain/interactors/SubscriptionInteractor.kt:98-108 | shared/src/commonMain/kotlin/ru/aleshin/studyassistant/domain/interactors/AppUserInteractor.kt:144-154 \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 \u0060shared/features/settings/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/settings/impl/domain/interactors/SubscriptionInteractor.kt:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/settings/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/settings/impl/domain/interactors/SubscriptionInteractor.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5602d6e31e1ed93072cefa06dd0dcf4e807d98e4a623a7b3ecaf54e12ba5e963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/SharedHomeworksUiMapper.kt:89-99 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/models/tasks/HomeworkUi.kt:64-74 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/SharedHomeworksUiMapper.kt:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/mappers/SharedHomeworksUiMapper.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7893c446af927a22971a62f445bb8bfd1f77126e8f018227868276b6da821622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:522-532 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:444-454 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:522\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d9167ed95fd2560f09aa609e9e0f5b623aa70476524a76af131a5979f71b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:581-591 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:501-511 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:581\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b3053a7f20a3d33f97705756b6364f59530b4a7b00df6f510183084aae94bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/AllHomeworksExecutionAnalysisView.kt:101-111 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/AllHomeworksExecutionAnalysisView.kt:155-165 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/AllHomeworksExecutionAnalysisView.kt:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/AllHomeworksExecutionAnalysisView.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b7f52bea1f30301deedad9aae12b47decc56e96a0363e8a5dae73dd29ce4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:324-334 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:346-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:324\u0060 it begins part-way through the construct above it, so those exact 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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"085e2af9ccc170424fd0ed8276486d70d9ba24bd588401d4c49050283e570dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/ReceivedSharedHomeworksView.kt:213-223 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/SentSharedHomeworksView.kt:241-251 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/ReceivedSharedHomeworksView.kt:213\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/ReceivedSharedHomeworksView.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d57d8f047761bee691d656dad220e9561151a953a45232ae59d1b656e91c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/SentSharedHomeworksView.kt:178-188 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/SentSharedHomeworksView.kt:195-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/SentSharedHomeworksView.kt:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/SentSharedHomeworksView.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f193f06ab180c223aff3484893783331ac4ed70a54a4966eafce52cc6b04bbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt:59-68 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt:116-125 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt:177-186 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopBar.kt:145-156 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/SocialNetworksInfoFields.kt:206-217 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleIntervalsDialog.kt:78-87 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/FastEditDialogs.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c76c4fd340ae59527ee67f2db0b5ad607b2e0285dbb36a40e3e15bab99bcd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/goals/DailyGoalsLocalDataSource.kt:189-198 | shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/BaseScheduleLocalDataSource.kt:211-220 | shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/CustomScheduleLocalDataSource.kt:184-193 | shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/tasks/HomeworksLocalDataSource.kt:161-170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/goals/DailyGoalsLocalDataSource.kt:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/goals/DailyGoalsLocalDataSource.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"51163b5789ccd10e817052af8c93778bf8889200c1f2fe3d951821fcf4e5ae14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/OrganizationUiMapper.kt:27-36 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/mappers/OrganizationUiMapper.kt:29-38 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/mappers/OrganizationUiMapper.kt:25-34 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/OrganizationUiMapper.kt:41-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/OrganizationUiMapper.kt:27\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/OrganizationUiMapper.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c471e06bea013e19b26263dd52b7e77adee66743e0820b2ec665c32a5e05b237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/OrganizationUiMapper.kt:58-67 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/mappers/OrganizationUiMapper.kt:65-74 | shared/features/preview/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/preview/impl/presentation/mappers/OrganizationUiMapper.kt:44-53 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/OrganizationUiMapper.kt:76-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/OrganizationUiMapper.kt:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/mappers/OrganizationUiMapper.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b757eb5405c2adbafc40b671224240d518dc66c29dfad0fa8590a135ca9ca458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:136-145 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:156-165 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:176-185 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:136\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9590f6edb07000a9b893d34b1ac856e30dc28cb16a1ecd37730a060be4c3c218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:106-115 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:229-238 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:347-356 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"076b6f7c361d01a107f43ddf5b7fe2a95a19fd9fb026ec4cb8f13fa09cfa40cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/organizations/OrganizationDataMapper.kt:76-85 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/organizations/OrganizationDataMapper.kt:131-140 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/organizations/OrganizationDataMapper.kt:76\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":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/organizations/OrganizationDataMapper.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2df764f5ae034752659b511de7716595c4c57c5a18f30e5dce8566ad02f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/BaseScheduleDataMapper.kt:62-71 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/BaseScheduleDataMapper.kt:98-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/BaseScheduleDataMapper.kt:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/BaseScheduleDataMapper.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4a2ef65ed8139d22b472121a0c67ea79dd27d0ce67d0159d2591fb557a77a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/ClassDataMapper.kt:41-50 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/ClassDataMapper.kt:54-63 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/ClassDataMapper.kt:41\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":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/schedules/ClassDataMapper.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2566c42772f44d065df773edbaf1a7d89152c03fb9f448fcab97023935672ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/EmployeeDataMapper.kt:42-51 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/EmployeeDataMapper.kt:124-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/users/EmployeeDataMapper.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b2486ee51263d1e6f2d2b300598113b5a50ee076e41bf01844d1060cffa3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:196-205 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/CustomScheduleRepositoryImpl.kt:127-136 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt: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":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"71203960d4db56e06a3ab566d339efcc2dec58b622359fbd671b3a435915159e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/BaseScheduleLocalDataSource.kt:201-210 | shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/CustomScheduleLocalDataSource.kt:174-183 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/BaseScheduleLocalDataSource.kt:201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/datasource/schedules/BaseScheduleLocalDataSource.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe569bb19986cea57507f529b0860ffcc279f24890de08b74de32ebb2999bfdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:282-291 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:287-296 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:282\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a729f071e8cf7f55ad95c4d0d381c2a8482d5e62e05909df3bdad62abaf26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/views/EmployeeNameInfoField.kt:74-83 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/organization/views/OrganizationNameInfoField.kt:72-81 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/views/EmployeeNameInfoField.kt:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/views/EmployeeNameInfoField.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2c6561fa352956a0c1d8e3aa744ca24ec4995897b66b901bb316b873ee8e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/root/EditorFeatureComponent.kt:269-278 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/root/EditorFeatureComponent.kt:349-358 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/root/EditorFeatureComponent.kt:269\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/root/EditorFeatureComponent.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf0936ef1ef946cf9ac4f680496c82ad3a1ad697e1f847cb350143c5cb14a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/WeekScheduleBottomSheet.kt:321-330 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/WeekScheduleBottomSheet.kt:351-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/WeekScheduleBottomSheet.kt:321\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/WeekScheduleBottomSheet.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff84883b79581af5b3eed41d5da51321086cec8f2346f762783d038472ce05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/domain/interactors/ScheduleInteractor.kt:247-256 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/store/OverviewWorkProcessor.kt:149-158 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/domain/interactors/ScheduleInteractor.kt:247\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/domain/interactors/ScheduleInteractor.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc459e906daf8c8d2810a51149ef5bd6f71821bf8c7e89110f6ae114a694c9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt:228-237 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SharedScheduleView.kt:179-188 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt:228\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b820c7a766f338982cfbe5684e22510a85f18b596a171c26e206f56461150fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/LinkedSubjectsView.kt:191-200 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/share/views/LinkDataSelectorDialogs.kt:79-88 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/LinkedSubjectsView.kt:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/LinkedSubjectsView.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba500ffc241a3dc5c0e758f99cc3dbc5ea3e5008613ed7019b3bf67a9be29a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt:225-234 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt:269-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt:225\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/domain/interactors/GoalsInteractor.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"34df5847f5ad4879b466e124db3dfa61d0ce7d7267dd0a265f7fa9b61ab98152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalBottomSheet.kt:292-301 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt:300-309 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalBottomSheet.kt:292\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalBottomSheet.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de80bdc673647945cedec8a841e551b07263682ff22665ad79c47b716fc1e08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:130-139 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:253-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a703f4164f0a8b570c62c2a3ed47b3a35a23b60a1157a14ee42c4ef9321abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:245-254 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:360-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt:245\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/OverviewTodosSections.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9325bc5d65516158e48594666e5eab72fbfed4cbec4e5034f2797b1fa50d9bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:253-262 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:340-349 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:253\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"62300e0586ce40ff23f40f508c319aeab0777287c805b4abfe73895a06c0e762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt:174-182 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt:162-170 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedSchedulesRemoteDataSource.kt:210-218 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt:174\u0060 it begins part-way through the construct above it, so those exact 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":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a689c26653fd93c6b0af56a28c81f59dd5ccd74c1697763bf2e173a4e25194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt:105-113 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/details/views/CommonScheduleView.kt:112-120 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SharedScheduleView.kt:97-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/ScheduleView.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fef6e5ef45285bcf1e908c164ca26a4b29c459e695159c1077042631c11b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/common/NoneUserRequestsView.kt:47-55 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/friends/FriendsContent.kt:474-482 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/user/UserProfileContent.kt:287-295 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/common/NoneUserRequestsView.kt:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/common/NoneUserRequestsView.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"53479515b669278553f3ffb7dadbd192ea34524e4941880940594b2ccb7c91b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:92-100 | shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:156-164 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:92\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":"shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d761dd8a8ff5eba3db99e8111c1292e4d0ff43a77b8ac690638518a9b9d5f83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/managers/reminders/EndClassesReminderManagerImpl.android.kt:83-91 | shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/managers/reminders/StartClassesReminderManagerImpl.android.kt:83-91 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/managers/reminders/EndClassesReminderManagerImpl.android.kt:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/managers/reminders/EndClassesReminderManagerImpl.android.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"054f2ff0e5b4325e4c3a95292d9f927b036ffb44defe2d1a8dfef3eb22f0a692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt:111-119 | shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/StartClassesReminderWorker.kt:120-128 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a446b95cd43e347c910356485ba94a2cdc72f1b2f1f094c8c4928ca2c098707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt:127-135 | shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/StartClassesReminderWorker.kt:136-144 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca341e977147d568c9ff9e15f4f1da335c33b60991bd69e16b3a1da6fed8c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt:146-154 | shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/StartClassesReminderWorker.kt:155-163 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"589e9b5696b75ff6deaa1bb6d033a915d63f6b46f5d4fa8dd3f1add28d62e8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt:43-51 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt:78-86 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/goals/GoalDataMapper.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2f4fac8c9f36f0b404011b86b7ec75cf062cad8ab1a4a7a8432d946451d83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:68-76 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/CustomScheduleRepositoryImpl.kt:59-67 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87bee4b4fa95573268ced8f6fc18a40da3ba36068104971ff39e82d745ca9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/HomeworksRepositoryImpl.kt:124-132 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/HomeworksRepositoryImpl.kt:141-149 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/HomeworksRepositoryImpl.kt:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/HomeworksRepositoryImpl.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cd46e2ce8183683f88a1f4f56d245b34d7476bb217276d21cb82a4ff182f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/TodoRepositoryImpl.kt:98-106 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/TodoRepositoryImpl.kt:115-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/TodoRepositoryImpl.kt:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/TodoRepositoryImpl.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb2e9e47528e02f893e0104ea5f84b57c9189fca0bcfd3f432ad23058dc12e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/core/domain/src/commonMain/kotlin/ru/aleshin/studyassistant/core/domain/entities/files/InputFile.kt:32-40 | shared/core/ui/src/commonMain/kotlin/ru/aleshin/studyassistant/core/ui/models/InputFileUi.kt:36-44 \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 \u0060shared/core/domain/src/commonMain/kotlin/ru/aleshin/studyassistant/core/domain/entities/files/InputFile.kt:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/domain/src/commonMain/kotlin/ru/aleshin/studyassistant/core/domain/entities/files/InputFile.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e108d2618ae1eb911fd583c009cb83ae9e8168dcbbefc51bf5a607dafd7d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:78-86 | shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:170-179 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/auth/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/auth/impl/domain/interactors/AuthInteractor.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8909ad601b87b53d662925f17054bbec1a26a242965dede6a25e07693047f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/SubjectAndEventTypeInfoField.kt:89-98 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/SubjectAndEventTypeInfoField.kt:171-179 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/SubjectAndEventTypeInfoField.kt:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/SubjectAndEventTypeInfoField.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ce478eaaa3e9163cdfbd30ffca19c7af0c3b5acc9d4b2916d01a220151c1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DailyScheduleBottomSheet.kt:129-137 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/views/WeekScheduleBottomSheet.kt:136-144 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DailyScheduleBottomSheet.kt:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DailyScheduleBottomSheet.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcd12c1df2bd7ad551315866e6cea9f07027c13a6fd7aa58b7032cc7bb6f1b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt:96-104 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt:170-178 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/profile/views/ProfileTopSheet.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"362f557a4459cebfe4edd9574e1e3f40814a4a3347981f487ff2965c13e840f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/store/EmployeeWorkProcessor.kt:68-76 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/store/EmployeeWorkProcessor.kt:93-101 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/store/EmployeeWorkProcessor.kt:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/employee/store/EmployeeWorkProcessor.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d25f0bc1b2353debf6ed8e91a3efd85c31c2b44e65a03c6920423e5c2ef6b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:445-453 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:470-478 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:445\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7bb9958c4e671800e45f0cab803daa663b97a3f9d85bf21a835f6d9acdb043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:552-560 | shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:575-583 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt:552\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/organizations/OrganizationsContent.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd550292c464d6788239a29c53b4b137d0e5c09de7d2a64762d6bf73eec11a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/domain/interactors/ScheduleInteractor.kt:231-239 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/store/OverviewWorkProcessor.kt:133-141 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/domain/interactors/ScheduleInteractor.kt:231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/domain/interactors/ScheduleInteractor.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bf66d403cadb3cedeeffa15dbb608f8965cca16c682bd4416331b1fcb22576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/store/OverviewComposeStore.kt:114-122 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/store/OverviewComposeStore.kt:186-194 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/store/OverviewComposeStore.kt:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/store/OverviewComposeStore.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a3cb52e231cad9b568e5d5a8e1f65c3c444ce63d824ea409a6b9f2b527152d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/HomeworksContent.kt:296-304 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/HomeworksOverview.kt:246-254 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/HomeworksContent.kt:296\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/HomeworksContent.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e585fe638b01f03364d561f154b668c85b35309d80b5c08866dd5d148cf7104a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt:180-188 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksView.kt:409-417 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/GoalView.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"288b90fe85c362141db601309a75849ae6ee2e3160ffe74a6c49dc825c7c0e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/requests/RequestsContent.kt:204-212 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/requests/RequestsContent.kt:322-330 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/requests/RequestsContent.kt:204\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":"shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/requests/RequestsContent.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"46585b9e7b02e5da4aaf3f4d83dfbb3c14a169bc523bc4bcf0cf8941ced73b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/TImeInfoField.kt:66-73 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/EmailInfoFields.kt:59-66 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/LocationsInfoFields.kt:57-64 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/PhoneInfoFields.kt:57-64 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/SubjectAndEventTypeInfoField.kt:69-76 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/common/WebInfoFields.kt:59-66 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/views/EmployeeNameInfoField.kt:71-78 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/views/WorkTimeInfoField.kt:62-69 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/homework/views/LinkedClassInfoField.kt:91-98 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/organization/views/OrganizationNameInfoField.kt:69-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/TImeInfoField.kt:66\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":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/classes/views/TImeInfoField.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3a49bf1603c43fbc5574842b856fa79ff811389922cf3ddc74679b451b4bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt:42-49 | shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt:83-90 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf0d9769c236ab99c5bb1ce097d662174dd16753295b2d1031cf9b7283124a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt:62-69 | shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt:104-111 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/architecture/component/ComponentExt.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e17756a875bf41f30445d84b96b18a2ce8ff30b53c1e642674910c6eea2795d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:56-63 | shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:118-125 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dca0dba46cc4be6c6f60ed46e4ff05086c5043747bf87f3c843dae5dbbc9046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt:87-94 | shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/StartClassesReminderWorker.kt:92-99 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt: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":"shared/core/data/src/androidMain/kotlin/ru/aleshin/studyassistant/core/data/workers/EndClassesReminderWorker.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b436311dc5ca4e7548a11dab10d5b387b7bde06db6a1c52b81f5d8a25014b014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/AiAssistantRepositoryImpl.kt:120-127 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/AiAssistantRepositoryImpl.kt:149-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/AiAssistantRepositoryImpl.kt: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":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/AiAssistantRepositoryImpl.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ea3890aa564a929f3aded22c0a02eb8ab7d6b0960aeb99e011e22ff9ca9fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:209-216 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/CustomScheduleRepositoryImpl.kt:157-164 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a1f3a7230814b21cf9ee01486b25f0a7875b7f274416e0f0f674c91208986c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt:117-124 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt:259-266 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt:117\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":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/requests/FriendRequestsRemoteDataSource.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a6b387452464f90d707695879850590a167261b04be8dbdfa7f64f8866e870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt:120-127 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt:165-172 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt: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":"shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/datasources/share/SharedHomeworksRemoteDataSource.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d6229fd2922f364c7260f44142c8775b1af9c8db96a3214a0ce2b3d56ea099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/di/holder/ChatFeatureManager.kt:76-83 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/di/holder/EditorFeatureManager.kt:72-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/di/holder/ChatFeatureManager.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c9e8410d6ee3ca229d50f3f26ccd6541eb12e1fa86cd2bb01f3267a023f4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt:132-139 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/CustomClassInteractor.kt:81-88 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/BaseClassInteractor.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca5c2610b91ce871d42120f9aac64aa8e3e1cb87645d8e58e40dc7bab05886f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/LinkingClassInteractor.kt:86-93 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/LinkingClassInteractor.kt:107-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/LinkingClassInteractor.kt:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/domain/interactors/LinkingClassInteractor.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdeec7f13166b4beb29ddce1eda76cefa34f8c0cd4364b79c764aaef676ac97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/DetailsSubjectView.kt:164-171 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/employee/views/EmployeeSubjectView.kt:65-72 \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 \u0060shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/DetailsSubjectView.kt:164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/info/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/info/impl/presentation/ui/subjects/views/DetailsSubjectView.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e39a365e01b411564075fcaf8a90addce553a97f7061f9cdff21f4448bbc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SenderUserView.kt:67-74 | shared/features/users/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/users/impl/presentation/ui/user/views/UserProfileTopSheet.kt:224-231 \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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SenderUserView.kt:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/share/views/SenderUserView.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dc529c497ad22d7c0070ebc41433ba50206b885b6b73afaf697172b58920b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/HomeworksContent.kt:239-246 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/HomeworksOverview.kt:183-190 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/HomeworksContent.kt:239\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/HomeworksContent.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b10b52a75df0a6719331a68e60e9052732d79de0f52360ebb12c6c044337cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:135-143 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/DailyHomeworksView.kt:115-122 \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 \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/homeworks/views/DailyHomeworksDetailsView.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af5439a4c5333beb93d46b88aead181f985b5509db11171e6fbd61f2c6095ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:275-282 | shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/TaskErrorsBottomSheet.kt:370-377 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt:275\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":"shared/features/tasks/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/tasks/impl/presentation/ui/overview/views/ShareHomeworksBottomSheet.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f09173cbbaa17478b96098bafc518153e28e6a1768e4501805c8afd734a3ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/HmsMessagingService.kt:77-83 | androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/RuStoreMessagingService.kt:77-83 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/HmsMessagingService.kt:77\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":"androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/HmsMessagingService.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78e7c29271ab847bdf01af03b233339147dde27e4a3c45ca8f397f664de1530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:80-86 | shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:144-150 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt:80\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":"shared/core/common/src/commonMain/kotlin/ru/aleshin/studyassistant/core/common/functional/AnySerializer.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b4a072327070b55d277ecb1c73d1817fa97d96bc77d6d24d5d60ab8da10971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/tasks/TodoDataMapper.kt:88-94 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/tasks/TodoDataMapper.kt:152-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/tasks/TodoDataMapper.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b255ab1ed296f4ab5eb817d40f94451726b05d3bb39bcbb8211f7da1432a813a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/EmployeeRepositoryImpl.kt:104-110 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/TodoRepositoryImpl.kt:83-89 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/EmployeeRepositoryImpl.kt:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/EmployeeRepositoryImpl.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fcdce777bc9a2a009dc4db238866b6dd12695e69f29dafd4f490cba78171b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/OrganizationsRepositoryImpl.kt:84-90 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/SubjectsRepositoryImpl.kt:82-88 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/OrganizationsRepositoryImpl.kt: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":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/OrganizationsRepositoryImpl.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc71591f99275c70a11fa812088d1fa4948c0cf953c68856634568e7e109149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:458-465 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/domain/interactors/ScheduleInteractor.kt:196-202 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f718e69951c69a35b8c8826f357b66848796f2c74e8eb00f9ca987370b80a17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt:543-549 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt:553-559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt:543\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":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/presentation/ui/assistant/AssistantContent.kt"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0317c4efc620250379b3bd252bad4b23ab724812eb1fbcf24891fab4373cd0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt:95-101 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/schedule/WeekScheduleContent.kt:86-92 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/DailyScheduleContent.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd7c5f7dc1a1e605de0411da763122c9d5c384a2575600f3919123dbf4e8f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:401-407 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/ui/overview/views/DetailsClassView.kt:407-413 \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 \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt:401\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/daily/views/DetailsClassView.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"037ffcf6d401e2eb01d4b9a707b90576c053d090d1a31e84e711b55b5874410a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/ScheduleUiMapper.kt:48-54 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/ScheduleUiMapper.kt:71-77 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/ScheduleUiMapper.kt:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/ScheduleUiMapper.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aee27f7459da0e06724b0f1dbf53629083399e12d4da20986266b4626a55fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:97-102 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/HomeworksRepositoryImpl.kt:89-94 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/OrganizationsRepositoryImpl.kt:87-92 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/SubjectsRepositoryImpl.kt:85-90 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt:97\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":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/BaseScheduleRepositoryImpl.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c7433c0a286afa1d71d8d95b8c68a099fba4ad6c72454eae9a879890667869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/FirebaseMessagingService.kt:80-85 | androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/HmsMessagingService.kt:71-76 | androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/RuStoreMessagingService.kt:71-76 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/FirebaseMessagingService.kt:80\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":"androidApp/src/github/java/ru/aleshin/studyassistant/presentation/services/FirebaseMessagingService.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75388c0f1adb0a18a61be5bb7416412c0a50c94126be806c7ade0ae1c58f060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/message/MessagesDataMapper.kt:30-35 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/message/MessagesDataMapper.kt:44-49 \u2014 both copies are in the same file, so extract the block 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 \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/message/MessagesDataMapper.kt:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/message/MessagesDataMapper.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56c2d72ed62eca28e8236829e71ce7f8a956159a26b0898b332f378c201d1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/organizations/OrganizationDataMapper.kt:104-109 | shared/features/schedule/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/schedule/impl/presentation/mappers/OrganizationUiMapper.kt:116-121 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/organizations/OrganizationDataMapper.kt:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/mappers/organizations/OrganizationDataMapper.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c153647e49ee2b5b0194bfd5db56b985288f3b22656f5181dd17051128cca93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/DailyGoalsRepositoryImpl.kt:86-91 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/EmployeeRepositoryImpl.kt:84-89 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/DailyGoalsRepositoryImpl.kt:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/repositories/DailyGoalsRepositoryImpl.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7f4aa9322e5966b307b6725311e9733a6898856e3dc5f5cec2e9023eb4ed99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/mappers/organizations/OrganizationLocalMapper.kt:97-102 | shared/core/remote/src/commonMain/kotlin/ru/aleshin/studyassistant/core/remote/mappers/organizations/OrganizationRemoteMapper.kt:61-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/database/src/commonMain/kotlin/ru/aleshin/studyassistant/core/database/mappers/organizations/OrganizationLocalMapper.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b96742a1d0b384a5aaa038ea572bb44491e4fa80b2a69270ebad5b09bc0791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:471-476 | shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt:530-535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/chat/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/chat/impl/domain/interactors/AiAssistantInteractor.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f5fd10e0469a9851a4d06d72df2fa7f38d7d99021ec48ce896a3d4faf2c845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/managers/sync/FriendRequestsSourceSyncManagerImpl.kt:55-77 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/managers/sync/SharedHomeworksSourceSyncManagerImpl.kt:55-77 | shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/managers/sync/SharedSchedulesSourceSyncManagerImpl.kt:55-77 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/core/data/src/commonMain/kotlin/ru/aleshin/studyassistant/core/data/managers/sync/FriendRequestsSourceSyncManagerImpl.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6da1e6c5ab02e5578486a06670bedffb4c9c74b5aedd274506833614dec01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/store/EmployeeWorkProcessor.kt:85-111 | shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/organization/store/OrganizationWorkProcessor.kt:74-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/store/EmployeeWorkProcessor.kt:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/features/editor/impl/src/commonMain/kotlin/ru/aleshin/studyassistant/editor/impl/presentation/ui/employee/store/EmployeeWorkProcessor.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aac5f422220cdf5a48add63a0b4e40d484175c97182f56ca69ed570de1992d"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 nothing here references a test framework (JUnit (with Kotest or MockK on Kotlin)), so there were no discoverable tests to count. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e381535afb516f0436df53325f479f1eb23500e9fa67ac43e35d92c74c449416"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41001b3a2deb734f9e973073430bd0ba9d5fe1419009c67b494d770a1f89a255"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 10 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 10 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c9b0776720fa9ea3d145ca080f4065bf6288fdcd16450728ceb56ea92aea7ff"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"history too condensed to judge knowledge freshness: Only 135 commits cover 689 analysed files, so per-file recency reflects those few broad commits, not real day-to-day maintenance. The freshness signal is unreliable for this repo and is not scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6737d3a68cb0a5ebf341d0a9819f333e12400bfeab10f57a2c58335950f52149"}}],"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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"CWE-926","shortDescription":{"text":"CWE-926"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":3,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}