{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PoseOptimization.set_constraints (cyclomatic 112): PoseOptimization.set_constraints has cyclomatic complexity 112 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4ddd858aaf32cb950d830b8faaf2ec57a07c889b8d2f937763e3178637b378"}},{"ruleId":"D1","level":"warning","message":{"text":"WombatWisdem.compile_inputs (cyclomatic 102): WombatWisdem.compile_inputs has cyclomatic complexity 102 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/wombat/wombat_api.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ff54a6a2e44f1d9f5ca3659e43267dd36223be2642a4e62bf1d288d6bb8f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"WindTurbineOntologyPython.update_ontology (cyclomatic 91): WindTurbineOntologyPython.update_ontology has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5d50e76aec94295ddc3d1e8c2cf739192f9e4fcbf28eef3acc3c6dd1a4725c"}},{"ruleId":"D1","level":"warning","message":{"text":"PoseOptimization.set_design_variables (cyclomatic 82): PoseOptimization.set_design_variables has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b505a81ad70f2ecd158ece9cf7029c49d976be1988e8e27deb5b397d356075b7"}},{"ruleId":"D1","level":"warning","message":{"text":"WT_RNTA.setup (cyclomatic 74): WT_RNTA.setup has cyclomatic complexity 74 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/glue_code.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5b2af0589de1e9c7d4b764e003dfb8a6ca59568cb84da8428de1a12c86dfa1"}},{"ruleId":"D1","level":"warning","message":{"text":"properties.properties (cyclomatic 72): properties.properties has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dec2b93b68caf5812590230db88988b85af3f1362d8b58c529da951dbe259b"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.assign_blade_structural_layers_values (cyclomatic 69): gc_WT_InitModel.assign_blade_structural_layers_values has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cec111cc3bd7d3000f10606f7bee47106e9d548c9f2cc490300fd4fb26a9286"}},{"ruleId":"D1","level":"warning","message":{"text":"BladeCost.compute (cyclomatic 61): BladeCost.compute has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":3315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7341ecc2f7e4195071aac8d3df86e7c7c8be8d88ee2074de9c0177d825b3287"}},{"ruleId":"D1","level":"warning","message":{"text":"WindTurbineOntologyPython.set_openmdao_vectors (cyclomatic 47): WindTurbineOntologyPython.set_openmdao_vectors has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4356a41248638f84d061f8ef3cb1def117072668eef1672704e1c5dc23c39305"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.assign_floating_values (cyclomatic 46): gc_WT_InitModel.assign_floating_values has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f4df0131c21fce3d5c76a6ad5ed0c4e0b5151d2200a32e0b46b005a71bd6b7"}},{"ruleId":"D1","level":"warning","message":{"text":"RunPreComp.compute (cyclomatic 46): RunPreComp.compute has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"87640c4ec079e2c120ee6f42f3afa4a620731077c623687b0a57c05e6a2c06b6"}},{"ruleId":"D1","level":"warning","message":{"text":"WindTurbineOntologyPython.set_opt_flags (cyclomatic 42): WindTurbineOntologyPython.set_opt_flags has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf2689a8137da5c5a0fd9301b893fdcb517270a102a4a4b7229047c66b92f17"}},{"ruleId":"D1","level":"warning","message":{"text":"ComputePowerCurve.compute (cyclomatic 42): ComputePowerCurve.compute has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_power.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85f2e3fc44fd2236d4c0c23f0983d40598a4af0a919985f19e6441f11ee6250"}},{"ruleId":"D1","level":"warning","message":{"text":"NLoptDriver.run (cyclomatic 38): NLoptDriver.run has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nlopt_driver.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf938d3366c8d0478ae5a1e173fe7f27ab0a2cf2cc6a6440d25878667d2a775"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_designs.create_all_plots (cyclomatic 38): compare_designs.create_all_plots has cyclomatic complexity 38 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a0e7a1722e0e28fa86cfd14ea1dd2fc9ab7085cb912c0c895a54eac08e91f4"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.assign_drivetrain_values (cyclomatic 35): gc_WT_InitModel.assign_drivetrain_values has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e20aef384c388cb487317ec33ffb820b172c6a7ee48e9b814986fbd8bcfca9"}},{"ruleId":"D1","level":"warning","message":{"text":"PoseOptimization.set_driver (cyclomatic 30): PoseOptimization.set_driver has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa119554679a3c3b10bdf5f9ac44bf560c8b3a0eefd31f324e4e7e152422eb85"}},{"ruleId":"D1","level":"warning","message":{"text":"PoseOptimization.set_merit_figure (cyclomatic 27): PoseOptimization.set_merit_figure has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f45541ed60d65716c8ab89edb77887ffa041b4253531fe839c055581eceff1f"}},{"ruleId":"D1","level":"warning","message":{"text":"WindTurbineOntologyPython.set_run_flags (cyclomatic 26): WindTurbineOntologyPython.set_run_flags has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8438e4cc429ebb3d39d9da0a062687ba613d1fbb53f1e8802c3991f8d689d87c"}},{"ruleId":"D1","level":"warning","message":{"text":"WindPark.setup (cyclomatic 26): WindPark.setup has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/glue_code.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e91acecbbff94f3c8d3206b30c062b2ba4092138b878c51c1175435fbb3ff2a"}},{"ruleId":"D1","level":"warning","message":{"text":"WindTurbineOntologyOpenMDAO.setup (cyclomatic 25): WindTurbineOntologyOpenMDAO.setup has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"519e0685be0be5c84794fc695ffdf512f86416d0413edfcfce1b2c79711b0287"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.assign_material_values (cyclomatic 25): gc_WT_InitModel.assign_material_values has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54ecf4ab09c73af00ceda19c5b3f6cb22922f6e7e4acce4bd4830348e3bc76f"}},{"ruleId":"D1","level":"warning","message":{"text":"polar_file.loadPolarFile (cyclomatic 24): polar_file.loadPolarFile has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/polar_file.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac98b1700f5d36bd67f0d13bb77bbb18a5fc89f5b1aaa3a4bbc591499eb0155d"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscretizationYAML.compute (cyclomatic 24): DiscretizationYAML.compute has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af13063f228bab5c03ad6cf0b040e37db4c8e20979f1b8490776de3b70431e5"}},{"ruleId":"D1","level":"warning","message":{"text":"Compute_Blade_Structure.compute (cyclomatic 24): Compute_Blade_Structure.compute has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a03c1662a4d49ae72f128b7431a93dd9a107474593d5f9f042c1bdf5057b42"}},{"ruleId":"D1","level":"warning","message":{"text":"generator_models.winding_factor (cyclomatic 23): generator_models.winding_factor has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d7c4c2db3f36e345697970fb8c9f63e5959e7e2e381e581ba628bf4fce69cf"}},{"ruleId":"D1","level":"warning","message":{"text":"runWISDEM.run_wisdem (cyclomatic 23): runWISDEM.run_wisdem has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/runWISDEM.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acdaeff63220031f50427eb1189fb85fd914bc45cd9a808f0cee24d35d3ef50"}},{"ruleId":"D1","level":"warning","message":{"text":"Polar._find_slope (cyclomatic 22): Polar._find_slope has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"96402025c20c661b57a3092326277006bab2841a0a7f4fb34b6d6e3d53542a32"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberComplex.add_main_sections (cyclomatic 22): MemberComplex.add_main_sections has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a63fe4242876cec6ea3cde1b78c9fa2f32e22a2ed16b5c30b247e2bfc0b97a"}},{"ruleId":"D1","level":"warning","message":{"text":"utilities.get_xyz_mode_shapes (cyclomatic 22): utilities.get_xyz_mode_shapes has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1fefd5318c78b72dc30abb3d8b6d5cccfe57dd7bc8991de42e9b1d23aaa4a9"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.yaml2openmdao (cyclomatic 22): gc_WT_InitModel.yaml2openmdao has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3694067787cba88e8bcd1624c8b45a48a8a47fd248adcb43584dbdb87ff7bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Convergence_Trends_Opt.compute (cyclomatic 21): Convergence_Trends_Opt.compute has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_RunTools.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c45d64047d3c8eaa6417ba2efa3abe195e41fcfc89effb76bb6e2dd18e48d3"}},{"ruleId":"D1","level":"warning","message":{"text":"Floating.setup (cyclomatic 21): Floating.setup has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4f23d5c33c330d6e4d0b084df1b4898add51cfa14b06525b08f8beb4cd32ea"}},{"ruleId":"D1","level":"warning","message":{"text":"NSGA2.update_data_external (cyclomatic 21): NSGA2.update_data_external has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"08391197169a76bfe285093dff97ef2eb72c4cff59fb3565815a6d184af937f9"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberComplex.add_bulkhead_sections (cyclomatic 20): MemberComplex.add_bulkhead_sections has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"660bfe70a85692bcada32858579461bd9f6bf2346398ddfa21e3f617358cb8a7"}},{"ruleId":"D1","level":"warning","message":{"text":"PPI.__init__ (cyclomatic 20): PPI.__init__ has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/csmPPI.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77067302bea5e5a645658ae725e0741c729901670ab7e2473cb7dff0d3de775"}},{"ruleId":"D1","level":"warning","message":{"text":"fast_nondom_sort.fast_nondom_sort_ranks_python (cyclomatic 20): fast_nondom_sort.fast_nondom_sort_ranks_python has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/fast_nondom_sort.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c63ded59df624d31391ccbe0dad67aef6087a49db85b0d08e60be979e7542c"}},{"ruleId":"D1","level":"warning","message":{"text":"Place_Webs_Caps.compute (cyclomatic 19): Place_Webs_Caps.compute has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27beb523ec4ccce2cf0a6da4cb7edf67d0692b6885e43490a51433ca68848c1"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.assign_mooring_values (cyclomatic 19): gc_WT_InitModel.assign_mooring_values has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28bddac6f43f602f6b103adb140f346d9ea91d3d2a50d826bd60fd3b0e84595"}},{"ruleId":"D1","level":"warning","message":{"text":"schema2rst.get_type_string (cyclomatic 19): schema2rst.get_type_string has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/schema2rst.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c341b4936f2cd2584ff8b27bb717204e405bf286f0de581848352d0b547e76a"}},{"ruleId":"D1","level":"warning","message":{"text":"distfunc.tanhdist (cyclomatic 19): distfunc.tanhdist has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (distfunc.sinhdist) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/distfunc.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d8edef8182bfeda4b9f08757002f40de0f943c734b52781702efbfdaef50e6"}},{"ruleId":"D1","level":"warning","message":{"text":"distfunc.sinhdist (cyclomatic 19): distfunc.sinhdist has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (distfunc.tanhdist) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/distfunc.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"605a9ef8734fd2c23fa29cd715133994084a1353a8d516eb846ec4aa1ab255c3"}},{"ruleId":"D1","level":"warning","message":{"text":"Polar.polar_params (cyclomatic 18): Polar.polar_params has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d90ef36a77157d578ef22d997fd1e598ebfaec5e810e115aa130f9c86e3779"}},{"ruleId":"D1","level":"warning","message":{"text":"AggregateJoints.compute (cyclomatic 18): AggregateJoints.compute has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"79331dff5bdb4a34ad076926ed3a59c1a6015bdb0966a1ee48b121118ce8f5d6"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.assign_blade_structural_webs_values (cyclomatic 18): gc_WT_InitModel.assign_blade_structural_webs_values has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a315fe29d5e4470d390b5b3a5513c6c25c65d51d14aa0ff8601473f2c20a32"}},{"ruleId":"D1","level":"warning","message":{"text":"gc_WT_InitModel.assign_airfoil_values (cyclomatic 18): gc_WT_InitModel.assign_airfoil_values has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d848451b86a021369bddd23bebe0f860b71a2ab6f02ea0c870f4dd1ab23c559e"}},{"ruleId":"D1","level":"warning","message":{"text":"NSGA2.iterate_population (cyclomatic 18): NSGA2.iterate_population has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"24575ff6b454f32e9bcb3ca6d22c86a28788ec2be83ef4814a3950aebbdcf063"}},{"ruleId":"D1","level":"warning","message":{"text":"nacelle_csm.compute (cyclomatic 17): nacelle_csm.compute has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e3f618aea5b35474bdcab435dcabe9282ec25592acb81c0ed9fa47a8999681"}},{"ruleId":"D1","level":"warning","message":{"text":"NacelleSystemAdder.compute (cyclomatic 16): NacelleSystemAdder.compute 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":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fae9cedbb9a74a2c722d3330631d0d8d7e18afe2257da8d649ee356073867c"}},{"ruleId":"D1","level":"warning","message":{"text":"OrbitWisdem.compile_orbit_config_file (cyclomatic 16): OrbitWisdem.compile_orbit_config_file has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/orbit/orbit_api.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dade097518ee33ea1c07b923a441bb781c96ce9eca94364bc836203cff48c9"}},{"ruleId":"D2","level":"warning","message":{"text":"WindTurbineOntologyPython.update_ontology (cognitive 249): WindTurbineOntologyPython.update_ontology has cognitive complexity 249 (threshold 15). Drivers by points: if/else 71 (192 pts), loops 18 (55 pts), boolean chains 2 (nesting depth added 158). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"26da71984d44928cdccbb8954991536fae5943ec0705b9f258b84d24013d420a"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_blade_structural_layers_values (cognitive 236): gc_WT_InitModel.assign_blade_structural_layers_values has cognitive complexity 236 (threshold 15). Drivers by points: if/else 48 (197 pts), loops 7 (28 pts), boolean chains 11 (nesting depth added 170). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad444cd38c8ab45bf5e76200621efd9956db7b28e0230c734f4f27146011a718"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_floating_values (cognitive 169): gc_WT_InitModel.assign_floating_values has cognitive complexity 169 (threshold 15). Drivers by points: if/else 28 (72 pts), ternaries 12 (72 pts), loops 11 (22 pts), error handling 1 (3 pts) (nesting depth added 117). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"656911192b0c0b184947ff3a3b4ad46d9bd6eaa7c3f879c79a4cb4cf645ca95c"}},{"ruleId":"D2","level":"warning","message":{"text":"PoseOptimization.set_design_variables (cognitive 166): PoseOptimization.set_design_variables has cognitive complexity 166 (threshold 15). Drivers by points: if/else 63 (128 pts), loops 14 (29 pts), error handling 1 (6 pts), boolean chains 3 (nesting depth added 85). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b7973aa8ef1e33491b7d3a2a0607d077454edcac2f5e9f3a667283e68a6a6"}},{"ruleId":"D2","level":"warning","message":{"text":"RunPreComp.compute (cognitive 146): RunPreComp.compute has cognitive complexity 146 (threshold 15). Drivers by points: if/else 35 (127 pts), loops 6 (8 pts), boolean chains 7, ternaries 4 (nesting depth added 94). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c26f8a6eb651f45b186634fdee2068463ea8353279569ffdce6c00e595ebf6"}},{"ruleId":"D2","level":"warning","message":{"text":"BladeCost.compute (cognitive 137): BladeCost.compute has cognitive complexity 137 (threshold 15). Drivers by points: if/else 31 (77 pts), error handling 15 (42 pts), boolean chains 10, loops 7 (8 pts) (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":3315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7925b3b5bb8a67d1fcc5b558f04520aa17e2289d6e52c8c5b26538829442f93"}},{"ruleId":"D2","level":"warning","message":{"text":"WT_RNTA.setup (cognitive 135): WT_RNTA.setup has cognitive complexity 135 (threshold 15). Drivers by points: if/else 55 (97 pts), loops 12 (31 pts), boolean chains 7 (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/glue_code.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"475ae0926169fa1044336e5859bc24528010efbc872d68cb19f9b7f9094e4b91"}},{"ruleId":"D2","level":"warning","message":{"text":"PoseOptimization.set_constraints (cognitive 134): PoseOptimization.set_constraints has cognitive complexity 134 (threshold 15). Drivers by points: if/else 94 (112 pts), boolean chains 10, loops 6 (7 pts), ternaries 2 (5 pts) (nesting depth added 22). 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"3902cf30b479177255d594ba49380860da9eb22395ac8fc79069432cb8b61566"}},{"ruleId":"D2","level":"warning","message":{"text":"WombatWisdem.compile_inputs (cognitive 128): WombatWisdem.compile_inputs has cognitive complexity 128 (threshold 15). Drivers by points: if/else 92 (117 pts), ternaries 6, loops 3 (5 pts) (nesting depth added 27). 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":"wisdem/wombat/wombat_api.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e60b1a4327b21110226226e7e16db43f28b79c7fec31c0b8048805ea5345b39"}},{"ruleId":"D2","level":"warning","message":{"text":"WindTurbineOntologyPython.set_openmdao_vectors (cognitive 120): WindTurbineOntologyPython.set_openmdao_vectors has cognitive complexity 120 (threshold 15). Drivers by points: if/else 33 (72 pts), loops 17 (45 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 68). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"43449aecf42ae25ab1300e6bb48fa96288f299e0ae3747878403079f566b8df0"}},{"ruleId":"D2","level":"warning","message":{"text":"properties.properties (cognitive 107): properties.properties has cognitive complexity 107 (threshold 15). Drivers by points: if/else 59 (82 pts), boolean chains 11, loops 8 (11 pts), ternaries 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e468cd0a86db7bf1f261c72352152b6a0dde236a42287cab2a2a74f4b60b8ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"NLoptDriver.run (cognitive 101): NLoptDriver.run has cognitive complexity 101 (threshold 15). Drivers by points: if/else 27 (51 pts), ternaries 9 (31 pts), loops 5 (10 pts), error handling 2 (6 pts), boolean chains 3 (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nlopt_driver.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cd3a6ea1c9d40a3da97289ac1cee5074b00e21ca5cada71c6c1c856f393dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"WindTurbineOntologyPython.set_opt_flags (cognitive 90): WindTurbineOntologyPython.set_opt_flags has cognitive complexity 90 (threshold 15). Drivers by points: if/else 20 (49 pts), loops 11 (29 pts), boolean chains 4, error handling 1 (4 pts), ternaries 1 (4 pts) (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f264316a12f57620d74f60a601269523dc92bcb1b508c85e4560a90a4d64ef4c"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_airfoil_values (cognitive 76): gc_WT_InitModel.assign_airfoil_values has cognitive complexity 76 (threshold 15). Drivers by points: if/else 11 (41 pts), loops 7 (35 pts) (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c747095392984d0f70be4b8d13e59a24acc423fe5717925cdd37f1d25bd551d"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputePowerCurve.compute (cognitive 75): ComputePowerCurve.compute has cognitive complexity 75 (threshold 15). Drivers by points: if/else 28 (45 pts), boolean chains 12, error handling 3 (9 pts), loops 4 (6 pts), ternaries 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_power.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6d541fe0ee1181379dd41aeda3c7d6001f826f271f59611895556f2e22ffd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Convergence_Trends_Opt.compute (cognitive 66): Convergence_Trends_Opt.compute has cognitive complexity 66 (threshold 15). Drivers by points: loops 11 (38 pts), if/else 7 (23 pts), error handling 1 (5 pts) (nesting depth added 47). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_RunTools.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddd2b7941a82c4635128cc7a9384f29ec861b7cfe97af058c6016a94811a849"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_blade_structural_webs_values (cognitive 60): gc_WT_InitModel.assign_blade_structural_webs_values has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (51 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"08291961c25e4369e9d7b8d373b551e3ccf03ef390e1fb065d7bf0d0c8d49902"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_drivetrain_values (cognitive 57): gc_WT_InitModel.assign_drivetrain_values has cognitive complexity 57 (threshold 15). Drivers by points: if/else 26 (56 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca15e8a8d9fc4dfe8724e34e635b0a9c65519c297972a55fa86e8f1c5233d31"}},{"ruleId":"D2","level":"warning","message":{"text":"Place_Webs_Caps.compute (cognitive 55): Place_Webs_Caps.compute has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (36 pts), loops 6 (18 pts), boolean chains 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c07f6d149727de7d5296d22765a5137cece1eb50a8937bd9cd6cf40a82083a"}},{"ruleId":"D2","level":"warning","message":{"text":"WindPark.setup (cognitive 54): WindPark.setup has cognitive complexity 54 (threshold 15). Drivers by points: if/else 28 (49 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/glue_code.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e27776b2e300319567fb87fac2dffc06cae2992784a8745ac98da07093a66a7"}},{"ruleId":"D2","level":"warning","message":{"text":"PoseOptimization.set_driver (cognitive 53): PoseOptimization.set_driver has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (44 pts), error handling 3 (9 pts) (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"721dd5aafcfc876a5e5f7e75c0d208c7e28906ea782fd117ce6e9e3d0d814896"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_material_values (cognitive 52): gc_WT_InitModel.assign_material_values has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (51 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"904aa14da5b87b001e2d7f20a7b7707b45d2517128caa828ada86a17e5750b03"}},{"ruleId":"D2","level":"warning","message":{"text":"Floating.setup (cognitive 49): Floating.setup has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (43 pts), loops 5 (6 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6b5c1924ca1ed33ec0f073e07310d85b0155b130711141199c8e5ee282d3dd"}},{"ruleId":"D2","level":"warning","message":{"text":"NSGA2.update_data_external (cognitive 48): NSGA2.update_data_external has cognitive complexity 48 (threshold 15). Drivers by points: if/else 23 (46 pts), loops 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa7cfb7883c4a8bb28b3fe66101792af4048eca3cd9bebbcf980fbf7024b757"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar._find_slope (cognitive 47): Polar._find_slope has cognitive complexity 47 (threshold 15). Drivers by points: if/else 24 (41 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed3a190888852f71ff6a5efa4639a556b9497bc52ebb0315f52664cbf730114"}},{"ruleId":"D2","level":"warning","message":{"text":"PPI.__init__ (cognitive 46): PPI.__init__ has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 6 (17 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/csmPPI.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"77722dfc0dd319b85393924ac8f32c008fad084f92867027720fa5d826fc0a91"}},{"ruleId":"D2","level":"warning","message":{"text":"get_docstrings.get_all_docstrings (cognitive 45): get_docstrings.get_all_docstrings has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (26 pts), loops 4 (10 pts), ternaries 2 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/docstrings/get_docstrings.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8407143a63de252729b6e3439e1ec4b9b6fdf7eadb4387e81391526c9237e8e3"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_mooring_values (cognitive 44): gc_WT_InitModel.assign_mooring_values has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 6 (11 pts), boolean chains 3, ternaries 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd64bd8d00738728478ef75981cc91845d8964f16ed45be98babf2e7578cd60"}},{"ruleId":"D2","level":"warning","message":{"text":"utilities.get_xyz_mode_shapes (cognitive 42): utilities.get_xyz_mode_shapes has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"444289d521c1cf44d30bf7fb0fba842ba55f54523e0d2335fccca6f4fe306d99"}},{"ruleId":"D2","level":"warning","message":{"text":"polar_file.loadPolarFile (cognitive 41): polar_file.loadPolarFile has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (30 pts), loops 5 (11 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/polar_file.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ac5c1ff24ba68d394fd253faa083086e8824504da1d6c9866c09299e1b548"}},{"ruleId":"D2","level":"warning","message":{"text":"genetic_functions.unit_simulated_binary_crossover_python (cognitive 40): genetic_functions.unit_simulated_binary_crossover_python has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 4 (14 pts), loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/genetic_functions.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de7cae16dc13db1c5a37c153e88b9bb619f286eb8973db5c2ac5a6d2d320d19"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar.polar_params (cognitive 39): Polar.polar_params has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 7 (16 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"261f1ec52097f739aea1d0261177269dfb3d397fcc794599406793dffc1f50ad"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_designs.create_all_plots (cognitive 39): compare_designs.create_all_plots has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (15 pts), loops 12 (13 pts), error handling 11 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7321846fc5ae77420c226d358c8ec2dd540ef4b75315ee35c462feeab53608"}},{"ruleId":"D2","level":"warning","message":{"text":"NSGA2.iterate_population (cognitive 36): NSGA2.iterate_population has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 2 (5 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a413bbb0852bf150cd0574fcd8af26e3c46d114c1ec475118f848a07b8c32e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputeMaterialsProperties.compute (cognitive 35): ComputeMaterialsProperties.compute has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (32 pts), loops 2, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2814}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8e950aa15cc96a9376dec207667230bde926f5171ca7de8324ada31b4c17e1"}},{"ruleId":"D2","level":"warning","message":{"text":"fast_nondom_sort.fast_nondom_sort_ranks_python (cognitive 35): fast_nondom_sort.fast_nondom_sort_ranks_python has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 6 (12 pts), ternaries 4 (5 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/fast_nondom_sort.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"940d2b2471131d58f618a996e04cd8e74380290a72c2ee850edd7ba8e4b29cac"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.yaml2openmdao (cognitive 34): gc_WT_InitModel.yaml2openmdao has cognitive complexity 34 (threshold 15). Drivers by points: if/else 26 (27 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea046821a1fe09f96c9820a0add5e35c2257de98b5841ba8e2a746c42d5fc0e9"}},{"ruleId":"D2","level":"warning","message":{"text":"runWISDEM.run_wisdem (cognitive 34): runWISDEM.run_wisdem has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/runWISDEM.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6424225d0012278fc49332a999ca1ba822521e135c88678f6a6986181bec713"}},{"ruleId":"D2","level":"warning","message":{"text":"WindTurbineOntologyPython.set_run_flags (cognitive 33): WindTurbineOntologyPython.set_run_flags has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 10, loops 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9a8346dd549ae9d3037d6c592638a5c3752314afe7dbbef0feff8a930fecc4"}},{"ruleId":"D2","level":"warning","message":{"text":"Compute_Blade_Structure.compute (cognitive 32): Compute_Blade_Structure.compute has cognitive complexity 32 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 11 (15 pts), boolean chains 1 (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff71a1803f6455885d4c77f516332c19bd8c511ebb2691d18f2f7958544857b3"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregateJoints.compute (cognitive 31): AggregateJoints.compute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 6 (9 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"74982f51f66b27970f459cae5a1fa2489cdc57038325dcfff67496df3f3eeb2b"}},{"ruleId":"D2","level":"warning","message":{"text":"MonopileFrame.compute (cognitive 29): MonopileFrame.compute has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 4 (7 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"7890109a608d96ad56696843dfe560e6ceecdc95824751b9a53e03d90a9c73fe"}},{"ruleId":"D2","level":"warning","message":{"text":"CCBlade.distributedAeroLoads (cognitive 28): CCBlade.distributedAeroLoads has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (23 pts), error handling 1 (3 pts), 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":"wisdem/ccblade/ccblade.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"3875a8f1e8aa4a48e1282262f7ceef89b5d7536a9fe31e9a0f1b7a44ef49aa4c"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscretizationYAML.compute (cognitive 27): DiscretizationYAML.compute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4, error handling 2 (4 pts), loops 2, ternaries 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fdf68e6bbe3f5f27382576043134bf787458756c7ca9aff65c0452841f8279"}},{"ruleId":"D2","level":"warning","message":{"text":"WindTurbineOntologyOpenMDAO.setup (cognitive 27): WindTurbineOntologyOpenMDAO.setup has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00502cdf28d6f5efd9408bfaac6613d82d8400dbe218676f1cefc6bb0ca1208"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberComplex.add_main_sections (cognitive 24): MemberComplex.add_main_sections has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 5 (9 pts), boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1548ce78245884d55c23c04e130d609ee3868e48d5b125ed3ce942f8e42740"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_generator_values (cognitive 24): gc_WT_InitModel.assign_generator_values has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (24 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d4442a541b23c6f3340a43b97c16f4fef79de3007c7d061aa7ff8c440726ff"}},{"ruleId":"D2","level":"warning","message":{"text":"distfunc.tanhdist (cognitive 24): distfunc.tanhdist has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 9 (10 pts), boolean chains 3 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (distfunc.sinhdist) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/distfunc.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9712153081d4c71737af9bf2ec97686f7fede90185e58a18538a44f3f0a262"}},{"ruleId":"D2","level":"warning","message":{"text":"distfunc.sinhdist (cognitive 24): distfunc.sinhdist has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 9 (10 pts), boolean chains 3 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (distfunc.tanhdist) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/distfunc.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9088e51d5a4b21c78bc668fb0310572c3cd61339474511ee5849dacbead1ecfa"}},{"ruleId":"D2","level":"warning","message":{"text":"properties.seg_info (cognitive 23): properties.seg_info has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8004c1d83f8332a40c40b11aada927d301a1af90d4bfca6944536a30a920cb86"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar.thicknessinterp_from_one_set (cognitive 22): Polar.thicknessinterp_from_one_set has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts), boolean chains 4 (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":"wisdem/ccblade/Polar.py"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adec53742fcfd8ea5f4e790825e362de554836693440bee1d9a8f7e39cbeda8"}},{"ruleId":"D2","level":"warning","message":{"text":"NacelleSystemAdder.compute (cognitive 22): NacelleSystemAdder.compute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 6 (8 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc999d90c9c6a1de33e66f2244a86621f1447ee94dc6604ea14a8d9a3ab88fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"SitePreparationCost.calculate_costs (cognitive 22): SitePreparationCost.calculate_costs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d174ab21723876d6d3d44a44a3dadfe37353740214819c6d3fddbe091eb05ff"}},{"ruleId":"D2","level":"warning","message":{"text":"OrbitWisdem.compile_orbit_config_file (cognitive 22): OrbitWisdem.compile_orbit_config_file has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 4 (5 pts), boolean chains 2 (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":"wisdem/orbit/orbit_api.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adeb62d917586101fb1cb99e4603b07b5ef1fedc624f623e6e4cdff1471c377"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar.correction3D (cognitive 21): Polar.correction3D has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"286bc9c88db336c749a5d747ad94800aceb8cfb33c4639415852c0495c399fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"PoseOptimization.set_initial (cognitive 21): PoseOptimization.set_initial has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc33d52c4cbdfe2104cd71deb9b03cba2ee43990767650d03358d3410b5d554"}},{"ruleId":"D2","level":"warning","message":{"text":"nacelle_csm.compute (cognitive 21): nacelle_csm.compute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"241ba154515b974f197a13e7795af007795ac37233b14e396ea3564c418b615b"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar.__init__ (cognitive 20): Polar.__init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"419a6b2bfe1fe86c5a130f36c4e980aff3bbae13f5a180c87a022087b0a68f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"NSGA2Driver.run (cognitive 20): NSGA2Driver.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 6, boolean chains 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2_driver.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fb9407d1a2e69c855bd807f3272aa55bf9edc848bcd4e667f066c18b65a90d"}},{"ruleId":"D2","level":"warning","message":{"text":"CCBlade.__loads (cognitive 19): CCBlade.__loads has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaed15e2b7ab49d17a32f4a9a661c5b60cedc13aa5fee08a164b9821961d5be"}},{"ruleId":"D2","level":"warning","message":{"text":"CCBladeTwist.compute (cognitive 19): CCBladeTwist.compute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca665d5fc6807bdcfe2ba2fd750e8041c841e9e10610c9622e32cf87a95b7df"}},{"ruleId":"D2","level":"warning","message":{"text":"generator_models.winding_factor (cognitive 19): generator_models.winding_factor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 4, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"76279f6380c7692a418395b23e8a96cee9ca8e4ea6b7dbf68e4c552d62de0dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputeFrame3DD.compute (cognitive 19): ComputeFrame3DD.compute has cognitive complexity 19 (threshold 15). Drivers by points: loops 10 (14 pts), if/else 3 (4 pts), ternaries 1 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"10373b8a6edfd9c3abbf18e2da38adc5dedb70f6967a197bbb58311499e8916f"}},{"ruleId":"D2","level":"warning","message":{"text":"GUI_Master._read_output (cognitive 19): GUI_Master._read_output has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (7 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/gui.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e8bf990c6ac8e50892c2608993208dbfa16ab06539a0f136ca57d38039501b"}},{"ruleId":"D2","level":"warning","message":{"text":"geom_tools.dotXC (cognitive 19): geom_tools.dotXC has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 3 (5 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/geom_tools.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d86b0abc60dcb11ab49abe5dc4c24d2744906e22fcee9d7d4f522488899708d"}},{"ruleId":"D2","level":"warning","message":{"text":"Mooring.evaluate_mooring (cognitive 18): Mooring.evaluate_mooring has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 8 (9 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/mooring.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d63657ef185f2a967e728d4890a9b335bfed378c9c142939217ddeae242ccd4"}},{"ruleId":"D2","level":"warning","message":{"text":"PoseOptimization.set_restart (cognitive 18): PoseOptimization.set_restart has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8036e3302472ae9f9b755e088c73d291806c5aafa180c8b64ebd4dbf778db6db"}},{"ruleId":"D2","level":"warning","message":{"text":"Schema2RST.write_loop (cognitive 18): Schema2RST.write_loop has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 4 (7 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/schema2rst.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd4d2243bc8f2799b80f877caf077bde9291d586670f8a2ca36fb9de9c570b5"}},{"ruleId":"D2","level":"warning","message":{"text":"main.wisdem_cmd (cognitive 18): main.wisdem_cmd has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/main.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e424cf94f95c96cfbd90a4a06875b1b2af4d64f32a77146560d6eaae16dd3260"}},{"ruleId":"D2","level":"warning","message":{"text":"NSGA2Driver.objective_callback (cognitive 18): NSGA2Driver.objective_callback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 3 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2_driver.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"375100e474e5194aa58e41ead977cc5bcd9e2755d94623f5c8b1a06027b79b01"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar.cl_linear_slope (cognitive 17): Polar.cl_linear_slope has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd94f480d38abb94bf9abb856c2517b54f12adb3c3bad88d1e949884f0c9bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"CCAirfoil.eval_unsteady (cognitive 17): CCAirfoil.eval_unsteady has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (17 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc269b9e75484e41a831e23fd15f0f4ea50d26b2c9738fc6130b993685ad3d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Rectangle.Asx (cognitive 17): Rectangle.Asx has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Rectangle.Asy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cross_sections.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2676e495b434bf6000b124e75684a0da1aa0d952b2ca3b5d2612c6814010df"}},{"ruleId":"D2","level":"warning","message":{"text":"Rectangle.Asy (cognitive 17): Rectangle.Asy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Rectangle.Asx) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cross_sections.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde724553461b5bc7dac76eb1b8dc95ada0947395128b57bf77f1b15ff46f9d1"}},{"ruleId":"D2","level":"warning","message":{"text":"gc_WT_InitModel.assign_tower_values (cognitive 17): gc_WT_InitModel.assign_tower_values has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 3 (6 pts), ternaries 1 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce1548dcddb2cd9222d2d678f5386ab5fb8e53da31aaf06dbe639127e553443"}},{"ruleId":"D2","level":"warning","message":{"text":"NSGA2.compute_fronts_external (cognitive 17): NSGA2.compute_fronts_external has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"64627b83f9279839b4bf68878d5c172868d3504041374b2f49b4cf708edb892b"}},{"ruleId":"D2","level":"warning","message":{"text":"NSGA2.get_fronts_external (cognitive 17): NSGA2.get_fronts_external has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a18d1d35003dd4ee2eb872171ddb937ce2ee9ffae478eb250f79539075be70b"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_designs.print_results_to_screen (cognitive 17): compare_designs.print_results_to_screen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (7 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8067de91df5188d52fc7de914fa9aedb72a56011c24a3e11efb94db9e7b44fc"}},{"ruleId":"D2","level":"warning","message":{"text":"geom_tools.dotX (cognitive 17): geom_tools.dotX has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 2 (3 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/geom_tools.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa795c53164af166db257f43555b2b4bcae5cd9c1c310fb2bb488fe665d61c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar.unsteadyParams (cognitive 16): Polar.unsteadyParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), error handling 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"669efdc4495914c4a15324c409f113e7a7977fb91efc652f9db1d82e8f3aa7f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Polar._intersections (cognitive 16): Polar._intersections has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"21790e7be8e1d47f6182ef7d280c3f238dbe924f48b233c22ddf0f118ad95168"}},{"ruleId":"D2","level":"warning","message":{"text":"fileIO.variable_dict2df (cognitive 16): fileIO.variable_dict2df has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/fileIO.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"343b158703c38dbaabdc5ad0a0218dc0ca84c09c476f4d804c335c4e3e0508a2"}},{"ruleId":"D2","level":"warning","message":{"text":"fileIO.transfer_data (cognitive 16): fileIO.transfer_data has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 1 (3 pts), boolean chains 2, loops 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":"wisdem/commonse/fileIO.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da01ba83c0dd3f4d49e37f39cb51fe895190a3729551da966206febe1922c41"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.integrate_defaults (cognitive 16): validation.integrate_defaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/validation.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d78ffde90199589ab0e3ab2c735e7434449a8126ec885632cb8ffdb274622b3"}},{"ruleId":"D2","level":"warning","message":{"text":"NSGA2Driver._setup_recording (cognitive 16): NSGA2Driver._setup_recording has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2_driver.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0737918f30eca592e62f6bb328c48596b3372d0cce9440bfa5a02d99f817aa62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rotorse/blade_cost.py: FileTooLong \u2014 3117 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2617 over it, 6.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63c8baf95f7cb225075157921b649643056b05d43533ad9b74b8a04bdd76610"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glue_code/gc_WT_DataStruc.py: FileTooLong \u2014 2561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2061 over it, 5.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f0121efb40dfed648ab6770191a8d5d190c5bb841e882d0d3e011ce61fa3f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivetrainse/generator_models.py: FileTooLong \u2014 2227 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1727 over it, 4.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a80ddb490c019b3c5993055f1454e91a4ed58afd6a485681b703c902572273"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commonse/cylinder_member.py: FileTooLong \u2014 1928 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1428 over it, 3.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62730ad9cf59872c90f793942b46b074b2bca8d0c67a776b1cb037f38d92277f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glue_code/gc_WT_InitModel.py: FileTooLong \u2014 1504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1004 over it, 3.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a5efdf2dc1ac121ede0f8836d2806a5499815cea4e2dada6bf22123cdfb23f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nrelcsm/nrel_csm_orig.py: FileTooLong \u2014 1503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1003 over it, 3.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"536bdb3808be44d6431763df59e7fdacae6b27f70efe90122555054ab38bcb2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glue_code/gc_LoadInputs.py: FileTooLong \u2014 1268 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 768 over it, 2.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67e777a99b2b710004bf480ba7b8f1f9e8627160e019b137068aba807f6b448"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ccblade/ccblade.py: FileTooLong \u2014 1260 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 760 over it, 2.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f775405e6d5cbd1ad52682674aba505d99bddd32f76850c96e0eaabf8f6a2835"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rotorse/rotor_elasticity.py: FileTooLong \u2014 1230 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 730 over it, 2.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"799ffae9984da7225c2f59c740d4d9af3e78e509ce3c61bd1e504ca04c4f1993"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ccblade/Polar.py: FileTooLong \u2014 1147 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 647 over it, 2.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57079f4663ba1316bf4aecba52c7fe8c093e7a91560b479489cb0f1cb67c59d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glue_code/gc_PoseOptimization.py: FileTooLong \u2014 1063 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 563 over it, 2.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86aa3bd1929c0e135242cadc7269a7eaa8c6fc95bacfbecb7f3428635df5d47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rotorse/rotor_structure.py: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 394 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_structure.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9071e5f60e8504acbf863611bb65a30458771c83c4e4e9067b85ae673664c295"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ccblade/ccblade_component.py: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 387 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf230a981b2f3dc6734a22fecaa9876b444c859bb4349c232dc877ffbe42205"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glue_code/glue_code.py: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 387 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/glue_code.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6800ed2b0c7bc488e6f86dd9f069af18b7b4803c84f5af0e0cdc6c30b045dc0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rotorse/rotor_power.py: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 337 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_power.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac248c5778d2c99b6ed4119d961e05ebb45911597cc56998bf81d54ee2d2d32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivetrainse/drive_structure.py: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 323 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed04cd2c63aac81c76cd3f379ddff91cd8f7e4a9aa611552b95fb99e78f19b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wombat/wombat_api.py: FileTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 311 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/wombat/wombat_api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9bcd94dcddf11aaeb058f2697794f8e196f42222373bb75d2a236ab55e422b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model/ErectionCost.py: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 228 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/ErectionCost.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f48fda67d4d69a46e8977828282e51bb6c3836e0a1e63fdfcaf4cc8701ca5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fixed_bottomse/monopile.py: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 153 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78402f725995bd230783b7f01f5fcbfa16c8c41897b7730d5e11928108fe741a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postprocessing/compare_designs.py: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 140 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8aad7efaa35a9f6801cbb217f118d7240e184183a088d68cb926f9b25606cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commonse/wind_wave_drag.py: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95e721d1cd3bcd7730c04ee6262258a10054a8e58b223b0c7856341d8cc647"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model/CollectionCost.py: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 124 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f122c248fe1e172db7e0b30f1139cc43a5d4f8eae688072e1a69b37544577d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nrelcsm/nrel_csm_cost_2015.py: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_cost_2015.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48b2aa2575fb490818d1940794eee2a323b77bcc56ca14d1d6217304d138b4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: orbit/orbit_api.py: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 101 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/orbit/orbit_api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d202f42048ff255821f7d729674879b69d92ba07f9739b39dc4047a1715d13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivetrainse/drive_components.py: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f39492528fb538f2d97af15c22d556cd33d1f3e94cfab583b35c0c5a5435201"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: precomp/precomp.py: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/precomp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb105e5f422f02809369c908428743f384e9ccf3d6d3a9f6f4752833ed44ad44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: precomp/properties.py: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6f213f1ca8fd11d63c27d21031ce6b8aff0aa31326509aa875aba5da9df105"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fixed_bottomse/jacket.py: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32031c1eb2a02ba0a3d195a121d350cceca67341f123df3ea78746dbb6898323"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nsga2/algo_nsga2.py: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb763ddf2c7114bd292869d10e7079f0344b7e2bd63f6c0df4d24fe6729d428"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: floatingse/floating_frame.py: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/floating_frame.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"411dbd9da875c5f37f8591fdb55e575baeee491ad072a995aa3f9d917a322b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 57 shared lines): wisdem/ccblade/ccblade_component.py:187-262 | wisdem/ccblade/ccblade_component.py:679-754 | wisdem/ccblade/ccblade_component.py:757-1128 \u2014 These 3 members are variants of one another: a block of 57 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc79801f789ea2198bd9ddfb9e1073c7d79d44d0fbaad866fd2fba3382a4771c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (53 shared lines): wisdem/rotorse/rotor_elasticity.py:21-293 | wisdem/rotorse/rotor_elasticity.py:1260-1392 \u2014 These two members are variants of one another: 53 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abd8996cd9ca10405e6e02b5475cf7ef23d42f5fc250e29697917e847fe7784"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): wisdem/commonse/cylinder_member.py:1887-1964 | wisdem/commonse/cylinder_member.py:1969-2054 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"29556964ab94c202095594175b5b1a8a5bffdb6b7f3b3b4952f6d02edc68c2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (22 shared lines): wisdem/commonse/cross_sections.py:295-344 | wisdem/commonse/cross_sections.py:348-392 \u2014 These two members are variants of one another: 22 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cross_sections.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee24fead1bd2be4f6711a596aad40d646f2f971e2c6eec5b51f9a657757764dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): wisdem/ccblade/ccblade_component.py:95-184 | wisdem/ccblade/ccblade_component.py:624-676 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7fbb893103d329f6d0a881445628f65298b42f99b9570fa2cfa80f4fde1979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): wisdem/drivetrainse/generator_models.py:1252-1261 | wisdem/drivetrainse/generator_models.py:1766-1775 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"165bc2c045355cdac35d241c90da5cf5cf8d83a7103c718a1cc5826800567434"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): wisdem/commonse/cylinder_member.py:2249-2274 | wisdem/commonse/cylinder_member.py:2421-2446 | wisdem/commonse/cylinder_member.py:2607-2626 | wisdem/commonse/wind_wave_drag.py:181-201 | wisdem/commonse/wind_wave_drag.py:275-306 | wisdem/commonse/wind_wave_drag.py:424-458 | wisdem/commonse/wind_wave_drag.py:618-652 | wisdem/commonse/wind_wave_drag.py:832-869 | wisdem/fixed_bottomse/jacket.py:554-590 | wisdem/fixed_bottomse/jacket.py:656-683 | wisdem/fixed_bottomse/monopile.py:265-388 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4aacddbc5f9c92e6f6c4f093d4889e9ae2dd78b0a3f5a6c72412c894ff7194"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): wisdem/drivetrainse/generator_models.py:739-1216 | wisdem/drivetrainse/generator_models.py:1265-1730 | wisdem/drivetrainse/generator_models.py:1780-2186 | wisdem/drivetrainse/generator_models.py:2240-2600 | wisdem/drivetrainse/generator_models.py:2658-3045 | wisdem/drivetrainse/generator_models.py:3127-3668 | wisdem/rotorse/blade_cost.py:3317-3922 | wisdem/rotorse/rotor_power.py:289-841 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"a024d7af559b77627de89d6f44893f62fbb83e1052aa8276872ec80ca632ffa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): wisdem/drivetrainse/drive_structure.py:502-645 | wisdem/drivetrainse/drive_structure.py:817-1054 | wisdem/drivetrainse/drive_structure.py:1204-1442 | wisdem/drivetrainse/layout.py:256-442 | wisdem/drivetrainse/layout.py:514-629 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"878bd23c172bd5a15539d75007cb158d163e9d9920d8697ddcb1e8564392da86"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): wisdem/fixed_bottomse/jacket.py:222-541 | wisdem/fixed_bottomse/monopile.py:391-715 | wisdem/floatingse/floating_frame.py:161-304 | wisdem/floatingse/floating_frame.py:394-518 | wisdem/towerse/tower.py:266-439 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f76bd7c8f2ec1a483eaa0c82462bd12524e0b3d973c9fb6fa5beca70a2c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): wisdem/drivetrainse/drive_components.py:152-160 | wisdem/drivetrainse/drive_components.py:393-404 | wisdem/drivetrainse/drive_components.py:467-474 | wisdem/drivetrainse/drive_components.py:569-594 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1552fc7031b5b79f7af4122a77cc718f38abce800b8bc585efd2375fed478bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): wisdem/drivetrainse/drive_components.py:806-878 | wisdem/drivetrainse/drive_structure.py:759-813 | wisdem/drivetrainse/drive_structure.py:1148-1200 | wisdem/floatingse/floating_system.py:407-451 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9141ee270463222ee51a4146a643f92c81bcedf8399c531f2446d582c2ef1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): wisdem/drivetrainse/drive_structure.py:178-416 | wisdem/drivetrainse/drive_structure.py:502-645 | wisdem/drivetrainse/drive_structure.py:817-1054 | wisdem/drivetrainse/drive_structure.py:1204-1442 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b079bf50d04333736bc8b1677dcf62d2388a9fa472ddd419c2298f8d0d90266"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): wisdem/landbosse/model/CostModule.py:34-101 | wisdem/landbosse/model/FoundationCost.py:957-975 | wisdem/landbosse/model/GridConnectionCost.py:138-166 | wisdem/landbosse/model/SitePreparationCost.py:898-928 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CostModule.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"528bd6b1e7b5d4638fa74d70c76e00970e4875aa92644a0f6e34829b5b8497d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): wisdem/rotorse/blade_cost.py:1023-1113 | wisdem/rotorse/blade_cost.py:1119-1214 | wisdem/rotorse/blade_cost.py:1220-1306 | wisdem/rotorse/blade_cost.py:1343-1472 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7773ef36feec7da074f4c5e3ed1bf0367e7d8de1a35dc1d62e045a985048251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (136 corresponding lines): wisdem/ccblade/ccblade_component.py:307-446 | wisdem/rotorse/rotor_power.py:148-283 \u2014 These two members are one piece of code written twice and then edited apart: 136 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"331ad4badbc280f66e4cb625c2259b31cc50e418805bbf9321f497ca6502ac75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): wisdem/rotorse/geometry_tools/distfunc.py:67-116 | wisdem/rotorse/geometry_tools/distfunc.py:120-169 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/distfunc.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5d1ef6ad5d55b66a251bc15bc2f99ff375b7338fee7a95da61c65e62899f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (118 corresponding lines): wisdem/landbosse/model/ErectionCost.py:423-585 | wisdem/landbosse/model/ErectionCost.py:588-705 \u2014 These two members are one piece of code written twice and then edited apart: 118 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/ErectionCost.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da81b2b3f80c944f463d98971a67a11fb9bf8f0b72e4fb530591085d42e556d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 35\u002B corresponding lines): wisdem/commonse/cylinder_member.py:629-668 | wisdem/commonse/cylinder_member.py:775-809 | wisdem/commonse/cylinder_member.py:2811-2854 | wisdem/floatingse/floating_frame.py:357-391 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a0fec7c73ae30ae7705e62c9c0d23aa53eae8882e5b4b64de4c1a614da2333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): wisdem/glue_code/gc_WT_DataStruc.py:2575-2609 | wisdem/glue_code/gc_WT_DataStruc.py:2617-2641 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbaea22ce9d8be2ba2d78aaffc11c4fd9419a3113d3fbc2183f31eff9e2c0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): wisdem/rotorse/geometry_tools/geom_tools.py:130-154 | wisdem/rotorse/geometry_tools/geom_tools.py:214-240 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/geom_tools.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eff2c6a9b3b214d615bff2c0bf9977f73634b1b3eb33b00a4a87ea282842f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): wisdem/landbosse/model/CollectionCost.py:1244-1293 | wisdem/landbosse/model/FoundationCost.py:978-1044 | wisdem/landbosse/model/SitePreparationCost.py:931-973 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be4c7da9136553af116ca903664ecd46aceb3b3b8fee96104a9e7a197684603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): wisdem/rotorse/blade_cost.py:1894-1915 | wisdem/rotorse/blade_cost.py:2105-2126 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e64ae8c0a0d09f5a3b5703fc27db04d591849fdbec7713978c3ca0c8f05acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): wisdem/rotorse/blade_cost.py:1921-1952 | wisdem/rotorse/blade_cost.py:2132-2161 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"71345d38e9bb8b0906a32ba85d533d4ed91cecd8bd5f626fe363854e7b81a097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): wisdem/commonse/wind_wave_drag.py:309-339 | wisdem/commonse/wind_wave_drag.py:343-377 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea86ef5c52a44f62e920b1ea788a48fc4e8228940bd6f0360d11fade4b9678cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): wisdem/commonse/frustum.py:263-288 | wisdem/commonse/frustum.py:291-315 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/frustum.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd93c2fb287d09e75ec8100987d394b27a5a73df8ed5ed703f628199466ce09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): wisdem/rotorse/blade_cost.py:1863-1888 | wisdem/rotorse/blade_cost.py:1974-1993 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abba753e7365dbfa51c99500f2112d2838219dc43892874f9d4f27d6b3a628b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): wisdem/optimization_drivers/nlopt_driver.py:112-147 | wisdem/optimization_drivers/nsga2_driver.py:67-106 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nlopt_driver.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c96b964ef1ae3b8c76a67f5b927c5c200ee5f13a32c4740de76e43c816f84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): wisdem/drivetrainse/generator_models.py:2224-2236 | wisdem/drivetrainse/generator_models.py:2642-2654 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a611ef83324181e581306266a53548f05c0c3625b2dd42d25e399261910ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): wisdem/commonse/environment.py:161-170 | wisdem/commonse/environment.py:264-274 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/environment.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f616470a585341b07e9e1364cbf2f494cf62f04f9e6dec6b6bdbdbd8555caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): wisdem/commonse/cylinder_member.py:3021-3035 | wisdem/commonse/cylinder_member.py:3048-3062 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad32f8cf05293ddf6a005c8e2fa6d04920d7e5e7f520d4cd63629de1aab890cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): wisdem/drivetrainse/gearbox.py:36-47 | wisdem/drivetrainse/gearbox.py:55-65 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/gearbox.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae6c031b18e99d8b38b366a2f2dade7d3a6446e4bd5a61db844125e9a3ae8f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): wisdem/rotorse/blade_cost.py:2604-2622 | wisdem/rotorse/blade_cost.py:2625-2641 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce7298da3ebf60ea3cb9fd18df21b99847dd7fa8318d3766cb5972fb39a510f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): wisdem/landbosse/model/GridConnectionCost.py:106-135 | wisdem/landbosse/model/SubstationCost.py:94-123 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/GridConnectionCost.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f66bf1127677dab82c2adc5f7c7baa7e10fc2346588e45655d807f6b449db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): wisdem/landbosse/model/GridConnectionCost.py:169-196 | wisdem/landbosse/model/SubstationCost.py:127-156 | wisdem/landbosse/model/TurbineCost.py:107-135 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/GridConnectionCost.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f24c923d447bf0b628aab5d751f550c0d1f8c6d6d43ddc56d2294d63583aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): wisdem/rotorse/blade_cost.py:2009-2021 | wisdem/rotorse/blade_cost.py:2087-2099 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb38f5097bf750ac405a6c87465f295f0739c57fc01b3b58fafa2630fce87df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): wisdem/inputs/validation.py:252-263 | wisdem/inputs/validation.py:267-277 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/validation.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0003f3abd946c7634323530d479f87088f53906446334ff8239bef63be08d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): wisdem/commonse/utilization_dnvgl.py:210-218 | wisdem/commonse/utilization_dnvgl.py:221-229 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilization_dnvgl.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e6d4ae427b005c1e8d0a6822763890c9b9709acc30147a6fe6880b00bedf58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): wisdem/rotorse/blade_cost.py:1999-2003 | wisdem/rotorse/blade_cost.py:2077-2081 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce278da5b9c65ea60a4708f8e65e5cc21116df3fcbfd0e4a879f3d2c65af311"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): wisdem/commonse/frustum.py:475-502 | wisdem/commonse/frustum.py:536-563 | wisdem/commonse/frustum.py:566-593 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/frustum.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e095d5d8c14aed4f0527cd290d9b0a9733de9f0ef8a6d0dc80ce133900376ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): wisdem/rotorse/blade_cost.py:2741-2753 | wisdem/rotorse/blade_cost.py:2757-2768 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc87fb5b0cbe1b4965cef5a1024c55bbd30b42b4f2abe7769dae278481f7823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): wisdem/inputs/validation.py:113-123 | wisdem/inputs/validation.py:127-137 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/validation.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"50576e6328d17424c1b66c1ab151b92b1c27ae3a09ae222d698db6ef28e4bcaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): wisdem/commonse/frustum.py:106-126 | wisdem/commonse/frustum.py:171-195 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/frustum.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa163ef2cbe4296d1a37782c04ad6ac4c40bce6b0ff81c2ff376fba303cdacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): wisdem/commonse/utilization_constraints.py:177-188 | wisdem/commonse/utilization_dnvgl.py:272-276 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilization_constraints.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e74fff8cf54cf1956a5e7d40d899be0b4f75da431928d3b92a7cc46255eac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): wisdem/nrelcsm/nrel_csm_cost_2015.py:387-391 | wisdem/nrelcsm/nrel_csm_mass_2015.py:371-374 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_cost_2015.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bbef14d0e5bee96978de9ffd819d37597d648a7e70aee494596bed24a67c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72\u201375 lines \u00D7 2): wisdem/landbosse/model/CollectionCost.py:1005-1079 | wisdem/landbosse/model/FoundationCost.py:830-901 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c1268938c02e4cbcf10dc23c4fda3e365189f48258cf8a1d5cc3f9d458ceaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201357 lines \u00D7 3): wisdem/ccblade/ccblade_component.py:188-243 | wisdem/ccblade/ccblade_component.py:680-736 | wisdem/ccblade/ccblade_component.py:758-814 \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 \u0060wisdem/ccblade/ccblade_component.py:188\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77604c0eea7af3fd9edab21d3c8298d56655a9c0c3618b26e3abd6672dd0367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201354 lines \u00D7 2): wisdem/fixed_bottomse/monopile.py:948-982 | wisdem/towerse/tower.py:659-712 \u2014 before extracting anything, compare \u0060wisdem/fixed_bottomse/monopile.py\u0060 and \u0060wisdem/towerse/tower.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 187 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 \u0060wisdem/fixed_bottomse/monopile.py:948\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e08d224e490c21f1e989e54e8a6be4f52e37ca678f2cf1471a5122ef1ed5cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:1312-1353 | wisdem/drivetrainse/generator_models.py:1830-1872 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6a664b46ad799e1eabc70273a92c159bf2b8d6e78d26a83e7fbe14675d9c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201340 lines \u00D7 3): wisdem/drivetrainse/generator_models.py:1311-1350 | wisdem/drivetrainse/generator_models.py:1829-1868 | wisdem/drivetrainse/generator_models.py:3177-3213 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dde1f2a54c1968f404b73a615896bb669e9494983a5780b0f23510d4b643d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:263-296 | wisdem/drivetrainse/drive_structure.py:539-571 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecf41fb3312e8fa7b17a21d7b96ac0f656bf0882a60aeeeb7d12a281ed54f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 4): wisdem/drivetrainse/generator_models.py:1311-1349 | wisdem/drivetrainse/generator_models.py:1829-1867 | wisdem/drivetrainse/generator_models.py:2692-2727 | wisdem/drivetrainse/generator_models.py:3177-3209 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eff08d244ce7d12755e4dfdfc5aa68207cc4d2548593db3f082db044d97cb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201331 lines \u00D7 5): wisdem/glue_code/gc_WT_DataStruc.py:1436-1452 | wisdem/glue_code/gc_WT_DataStruc.py:1463-1479 | wisdem/rotorse/blade_cost.py:2831-2847 | wisdem/rotorse/blade_cost.py:3031-3047 | wisdem/rotorse/rotor_elasticity.py:71-101 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1436\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8472749c2db82069bc63e2439e0734c41f1ac4bc05e89ae2a53dc93d17d34b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): wisdem/landbosse/model/CollectionCost.py:1140-1168 | wisdem/landbosse/model/SitePreparationCost.py:858-888 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/landbosse/model/SitePreparationCost.py:858\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07dc077e7abc1af5e943bc9b1917f49f488a270a5ba2624eb59c8c4e6152fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 3): wisdem/rotorse/blade_cost.py:1074-1102 | wisdem/rotorse/blade_cost.py:1175-1202 | wisdem/rotorse/blade_cost.py:1267-1295 \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 \u0060wisdem/rotorse/blade_cost.py:1074\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab9b3a0c3b13af60f17ee0889abf93767bb3df67e97fff90f6e759472fd2bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): wisdem/glue_code/gc_PoseOptimization.py:834-860 | wisdem/glue_code/gc_PoseOptimization.py:1278-1304 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c2e70af974c9ce2d826401d9166e0d7c27d77be765e98043eefaa7278176f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): wisdem/postprocessing/compare_designs.py:179-205 | wisdem/postprocessing/compare_designs.py:212-238 \u2014 both copies are in the same file, so extract the block 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":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"32248701cd6d514f9a7cd11a04096a993fd233fe852683fbdbf7c72f9f604ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 3): wisdem/fixed_bottomse/jacket.py:498-520 | wisdem/fixed_bottomse/monopile.py:617-642 | wisdem/towerse/tower.py:374-398 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b13ac37828eeba7016db71401cf3b4800d302e88c76917c1b3c1a2b225e26d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 3): wisdem/landbosse/model/GridConnectionCost.py:169-192 | wisdem/landbosse/model/SubstationCost.py:127-152 | wisdem/landbosse/model/TurbineCost.py:107-131 \u2014 before extracting anything, compare \u0060wisdem/landbosse/model/GridConnectionCost.py\u0060 and \u0060wisdem/landbosse/model/SubstationCost.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/GridConnectionCost.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9942eb5452a77f1ea83d233286caebdc154f7f25c812847a5b52897004583d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201326 lines \u00D7 2): wisdem/fixed_bottomse/jacket.py:466-491 | wisdem/fixed_bottomse/monopile.py:585-598 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/fixed_bottomse/jacket.py:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9fc4f4547828399db9f3a1f5adfd21311cc75c94eeff12a996972cb7f6f716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): wisdem/landbosse/model/GridConnectionCost.py:106-130 | wisdem/landbosse/model/SubstationCost.py:94-118 \u2014 before extracting anything, compare \u0060wisdem/landbosse/model/GridConnectionCost.py\u0060 and \u0060wisdem/landbosse/model/SubstationCost.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/GridConnectionCost.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"61af0993d1c518f9bcb27d91b5e15d8697e5523f752d9a4a581b51fec49098d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): wisdem/rotorse/blade_cost.py:1035-1059 | wisdem/rotorse/blade_cost.py:1232-1256 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a644d6f6e72c9bf51c1deeee62831305ec04a6ca1567901110463fec8552877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201325 lines \u00D7 2): wisdem/wombat/wombat_api.py:53-77 | wisdem/wombat/wombat_api.py:81-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/wombat/wombat_api.py:81\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/wombat/wombat_api.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dbf90cb5e46430915fbed6032306667f570c663952a3c2be9fae222fe69ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): wisdem/wombat/wombat_api.py:203-227 | wisdem/wombat/wombat_api.py:310-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 \u0060wisdem/wombat/wombat_api.py:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/wombat/wombat_api.py:227\u0060 calls \u0060add_input\u0060 and \u0060wisdem/wombat/wombat_api.py:334\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/wombat/wombat_api.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15ab77c6256fa2d7fb491c8ad3430813b85b61098dbab454c091fc86f8ec725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): wisdem/landbosse/model/CollectionCost.py:1147-1170 | wisdem/landbosse/model/FoundationCost.py:926-949 | wisdem/landbosse/model/SitePreparationCost.py:867-890 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/landbosse/model/CollectionCost.py:1147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/landbosse/model/FoundationCost.py:923\u0060 calls \u0060itertuples\u0060, \u0060format\u0060 and \u0060wisdem/landbosse/model/CollectionCost.py:1147\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5ad6ea3ec1eab7d7a83ac588b5b6ed523941cfbb265301775d0dd57dcb19b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): wisdem/drivetrainse/generator_models.py:1271-1293 | wisdem/drivetrainse/generator_models.py:1789-1811 | wisdem/drivetrainse/generator_models.py:3137-3159 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0af61f77cc2571275e139cee0008221422dd4bbc1e48e510cc694d23d6b071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201322 lines \u00D7 7): wisdem/glue_code/gc_WT_DataStruc.py:835-851 | wisdem/glue_code/gc_WT_DataStruc.py:2979-2995 | wisdem/rotorse/blade_cost.py:3172-3193 | wisdem/rotorse/parametrize_rotor.py:71-92 | wisdem/rotorse/rotor_elasticity.py:179-195 | wisdem/rotorse/rotor_elasticity.py:1300-1316 | wisdem/rotorse/rotor_structure.py:295-311 \u2014 there are 7 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:835\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/rotorse/blade_cost.py:3194\u0060 calls \u0060add_output\u0060 and \u0060wisdem/glue_code/gc_WT_DataStruc.py:851\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c50d9492f9a82aaa2664db27fb3aa21ce1c82f31718054e29e4dbd805c17aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): wisdem/drivetrainse/generator_models.py:1707-1728 | wisdem/drivetrainse/generator_models.py:2165-2184 | wisdem/drivetrainse/generator_models.py:3645-3666 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b2c4a4067a8412bb4c65791d4ae45d2312d4cb14dcc6c9f937c02998561992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): wisdem/rotorse/blade_cost.py:1023-1044 | wisdem/rotorse/blade_cost.py:1119-1139 | wisdem/rotorse/blade_cost.py:1220-1241 \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. 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3b69a549a1263484c01c00375ec8307052e48d1e2ef1959baf8e463e36c76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 5): wisdem/glue_code/gc_PoseOptimization.py:519-534 | wisdem/glue_code/gc_PoseOptimization.py:563-578 | wisdem/glue_code/gc_PoseOptimization.py:588-602 | wisdem/glue_code/gc_PoseOptimization.py:655-668 | wisdem/glue_code/gc_PoseOptimization.py:798-818 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_PoseOptimization.py:519\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/glue_code/gc_PoseOptimization.py:818\u0060 calls \u0060add_design_var\u0060 and \u0060wisdem/glue_code/gc_PoseOptimization.py:668\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2090c7fb1e32b2ced180c8ba1a194fcae02f348611a118a486fd98880324e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201321 lines \u00D7 4): wisdem/commonse/frustum.py:198-218 | wisdem/commonse/frustum.py:221-221 | wisdem/commonse/frustum.py:263-283 | wisdem/commonse/frustum.py:291-311 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/commonse/frustum.py:198\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/frustum.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf557a03fb2676f150f2fd8525fc37b4b3127f185003e3ed0919623c3979f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): wisdem/ccblade/ccblade_component.py:465-485 | wisdem/rotorse/rotor_power.py:342-362 \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 \u0060wisdem/ccblade/ccblade_component.py:465\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/ccblade/ccblade_component.py:464\u0060 calls \u0060zeros_like\u0060 and \u0060wisdem/rotorse/rotor_power.py:341\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cec56d54c291d61adfe357c29aada182a21e848a4ffe33bfdd22c741c9a29b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): wisdem/commonse/wind_wave_drag.py:519-537 | wisdem/commonse/wind_wave_drag.py:962-982 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82142ac721b7cfce4b678ec5f534c256516fa8b2a1aaadc22059658ec8afb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201337 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:1388-1420 | wisdem/drivetrainse/generator_models.py:1905-1941 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d45035f6ca7973cf784db8eaa1c1800c6ae27ff57caedb1f3c98aeabe92213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): wisdem/rotorse/rotor_elasticity.py:229-248 | wisdem/rotorse/rotor_elasticity.py:1350-1369 | wisdem/rotorse/rotor_structure.py:618-636 | wisdem/rotorse/rotor_structure.py:910-927 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/rotor_elasticity.py: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. 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":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f770a851cff7d223747570aef7bdd68c06262ef71283b9c9a9257db51af7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): wisdem/landbosse/model/CollectionCost.py:1252-1269 | wisdem/landbosse/model/FoundationCost.py:998-1017 | wisdem/landbosse/model/SitePreparationCost.py:937-954 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9a06bbca12a23a3ebda8359d1957c3a9d8bfb253052f9dbdb362b88e768768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1897-1917 | wisdem/commonse/cylinder_member.py:1980-2000 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/commonse/cylinder_member.py:2001\u0060 calls \u0060interp\u0060 and \u0060wisdem/commonse/cylinder_member.py:1918\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f3f358908827d1dcbc9dc1a6299eeae171172279c2548dddc58bab3bac3272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): wisdem/commonse/wind_wave_drag.py:309-325 | wisdem/commonse/wind_wave_drag.py:343-362 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2971a8898888150330850db3d8cc10405ffe82f31dcfb2f0a9a8de5fa13a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): wisdem/landbosse/model/DevelopmentCost.py:87-104 | wisdem/landbosse/model/ErectionCost.py:186-205 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"wisdem/landbosse/model/DevelopmentCost.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0fd7c3d9c4aa839da0dd76c2f2751e8d22e1a7598d9c5d2b78c38188bf9ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201319 lines \u00D7 8): wisdem/glue_code/gc_WT_DataStruc.py:831-847 | wisdem/glue_code/gc_WT_DataStruc.py:2976-2991 | wisdem/rotorse/blade_cost.py:3173-3191 | wisdem/rotorse/parametrize_rotor.py:72-89 | wisdem/rotorse/rotor_elasticity.py:150-161 | wisdem/rotorse/rotor_elasticity.py:176-191 | wisdem/rotorse/rotor_elasticity.py:1297-1312 | wisdem/rotorse/rotor_structure.py:291-307 \u2014 there are 8 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:831\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/glue_code/gc_WT_DataStruc.py:829\u0060 calls \u0060add_output\u0060, \u0060zeros\u0060 and \u0060wisdem/rotorse/parametrize_rotor.py:71\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed22116f84b019b3a67b208b916135d8ff11dd43b1c219bd86b6adb29df0ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 5): wisdem/glue_code/gc_WT_DataStruc.py:2795-2812 | wisdem/glue_code/gc_WT_DataStruc.py:2945-2961 | wisdem/glue_code/gc_WT_DataStruc.py:2993-3009 | wisdem/rotorse/rotor_elasticity.py:223-241 | wisdem/rotorse/rotor_elasticity.py:1344-1362 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:2795\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19f2e7fb313d3cd53d5b755e7c98c87ce251f510094c2d3261270bed25ca8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): wisdem/glue_code/gc_WT_DataStruc.py:1269-1287 | wisdem/glue_code/gc_WT_DataStruc.py:1470-1488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1269\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c87b7d81cd35b2faa18ebdca54eb1e7a29462c02ce03b679a9e63bd56e0143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): wisdem/landbosse/model/ErectionCost.py:246-264 | wisdem/landbosse/model/FoundationCost.py:914-935 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/ErectionCost.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"788367fb3d02be6b950877ee058de6daf266c71a149b8a311ddf4c5f74d8fa1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 2): wisdem/precomp/properties.py:587-600 | wisdem/precomp/properties.py:616-634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/precomp/properties.py:587\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/precomp/properties.py:585\u0060 calls \u0060abs\u0060 and \u0060wisdem/precomp/properties.py:615\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1cf236257b540404e52bcfeccb04ede2ad403667268c161050916a4cb8e700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): wisdem/wombat/wombat_api.py:264-282 | wisdem/wombat/wombat_api.py:503-520 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/wombat/wombat_api.py:264\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/wombat/wombat_api.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b95f09dae4f3d5582e6974f35360a57ed913d175c6a47edc5b26471ca7c5da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 5): wisdem/glue_code/gc_WT_DataStruc.py:839-854 | wisdem/glue_code/gc_WT_DataStruc.py:2989-3004 | wisdem/rotorse/parametrize_rotor.py:81-96 | wisdem/rotorse/rotor_elasticity.py:219-236 | wisdem/rotorse/rotor_elasticity.py:1340-1357 \u2014 before extracting anything, compare \u0060wisdem/glue_code/gc_WT_DataStruc.py\u0060 and \u0060wisdem/rotorse/parametrize_rotor.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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 \u0060wisdem/glue_code/gc_WT_DataStruc.py:839\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"1411219630f5a8c1e6d8b3e98676de4bdea915a5e30d4bdc1a4590c9d7e0969a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 5): wisdem/glue_code/gc_WT_DataStruc.py:916-933 | wisdem/rotorse/rotor_elasticity.py:233-248 | wisdem/rotorse/rotor_elasticity.py:1354-1369 | wisdem/rotorse/rotor_structure.py:616-633 | wisdem/rotorse/rotor_structure.py:911-926 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:916\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/rotorse/rotor_structure.py:905\u0060 calls \u0060add_discrete_input\u0060 and \u0060wisdem/rotorse/rotor_elasticity.py:229\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a595fb9fcfb58cb410de1d61c52073dce771975c783659acb6370eccce1c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): wisdem/landbosse/model/CollectionCost.py:815-833 | wisdem/landbosse/model/FoundationCost.py:583-601 | wisdem/landbosse/model/SitePreparationCost.py:411-430 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33263adc90e5d4aced6f1cc7adadb00024fa9bbc8e77f7ed403a20cab6abf8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201318 lines \u00D7 3): wisdem/glue_code/gc_LoadInputs.py:967-969 | wisdem/glue_code/gc_LoadInputs.py:1261-1278 | wisdem/glue_code/gc_LoadInputs.py:1319-1336 \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 \u0060wisdem/glue_code/gc_LoadInputs.py:1261\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"34aab1f490f46e116f344dfb5599fabb03e2d5803c3838454238187c881663a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 6): wisdem/landbosse/model/CollectionCost.py:1159-1175 | wisdem/landbosse/model/DevelopmentCost.py:70-84 | wisdem/landbosse/model/FoundationCost.py:938-954 | wisdem/landbosse/model/GridConnectionCost.py:121-135 | wisdem/landbosse/model/SitePreparationCost.py:879-895 | wisdem/landbosse/model/SubstationCost.py:109-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed93f809af7c4b20d3eb0010e3863e4330db42f159704daf754db1854fa4cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 5): wisdem/glue_code/gc_WT_DataStruc.py:2950-2962 | wisdem/rotorse/rotor_elasticity.py:228-244 | wisdem/rotorse/rotor_elasticity.py:1349-1365 | wisdem/rotorse/rotor_structure.py:618-634 | wisdem/rotorse/rotor_structure.py:913-927 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:2950\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83f691722c18348d94feb183e56ede95269090f52c7c2f111bf7605bdd04e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): wisdem/rotorse/blade_cost.py:2839-2855 | wisdem/rotorse/blade_cost.py:3039-3055 | wisdem/rotorse/rotor_elasticity.py:79-95 | wisdem/rotorse/rotor_structure.py:1021-1036 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/blade_cost.py:2839\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":2839}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c22caa9a70383e3b119b3e7bd5713d46d9f722e0612cb6c191f90de02542807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 3): wisdem/glue_code/gc_WT_InitModel.py:1201-1226 | wisdem/glue_code/gc_WT_InitModel.py:1227-1249 | wisdem/glue_code/gc_WT_InitModel.py:1252-1277 \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 \u0060wisdem/glue_code/gc_WT_InitModel.py:1227\u0060 it does not close everything it opens, so those exact 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":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6ccff7ef0f55f9b4d97c18546dbacdaa4dbc8e32ed84c33ac71116d95fccf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): wisdem/ccblade/Polar.py:1437-1453 | wisdem/ccblade/Polar.py:1460-1476 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/Polar.py"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b210a1d62e2301ddaa49cdcece033a9f89395820f89b0e4aa28dca5d945e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201317 lines \u00D7 3): wisdem/ccblade/ccblade_component.py:385-401 | wisdem/landbosse/landbosse_omdao/landbosse.py:102-104 | wisdem/rotorse/rotor_power.py:219-231 \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 \u0060wisdem/ccblade/ccblade_component.py:385\u0060 it does not close everything it opens, so those exact 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":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda1f1a6af10ba6ed87d8af883dc6f66f0d4d44f8e85e14bf82ec23b7b609b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201334 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:1442-1470 | wisdem/drivetrainse/generator_models.py:1966-1999 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"875b5aab4052a395b06235da83175c4584bb8bd287091dfd0967d1ae71d20b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): wisdem/floatingse/visualize.py:50-66 | wisdem/floatingse/visualize.py:100-116 \u2014 both copies are in the same file, so extract the block 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":"wisdem/floatingse/visualize.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec87a5b14554bf7e46420226f5246d8f5915ea564e080539aa66b66e4dec463c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): wisdem/rotorse/blade_cost.py:3054-3070 | wisdem/rotorse/rotor_elasticity.py:100-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/blade_cost.py:3054\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":3054}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f08a20b303a984fa8924cc86a14802c66c8697f6c959522d62b1f9794caa801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): wisdem/rotorse/rotor_power.py:523-539 | wisdem/rotorse/rotor_power.py:577-593 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/rotor_power.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a211412e203cf276f19dc070bfd5500002f826abc65dd1d93ea5db073c312ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): wisdem/glue_code/gc_WT_DataStruc.py:249-264 | wisdem/glue_code/gc_WT_DataStruc.py:2943-2958 | wisdem/glue_code/gc_WT_DataStruc.py:2991-3006 | wisdem/rotorse/parametrize_rotor.py:83-98 | wisdem/rotorse/rotor_elasticity.py:221-238 | wisdem/rotorse/rotor_elasticity.py:1342-1359 \u2014 before extracting anything, compare \u0060wisdem/glue_code/gc_WT_DataStruc.py\u0060 and \u0060wisdem/rotorse/parametrize_rotor.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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 \u0060wisdem/glue_code/gc_WT_DataStruc.py:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b031e49fe7dec7c0d8ba59dd28351bd4c3c333cd47278838888edf248acdcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 5): wisdem/drivetrainse/generator_models.py:1184-1196 | wisdem/drivetrainse/generator_models.py:1695-1708 | wisdem/drivetrainse/generator_models.py:2153-2165 | wisdem/drivetrainse/generator_models.py:2581-2596 | wisdem/drivetrainse/generator_models.py:3631-3645 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"73884d5049f70188da6bde8887217c82041f80fa7be1889093d7186eaceaaad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 3): wisdem/rotorse/blade_cost.py:605-615 | wisdem/rotorse/blade_cost.py:634-644 | wisdem/rotorse/blade_cost.py:664-679 \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 \u0060wisdem/rotorse/blade_cost.py:664\u0060 it does not close everything it opens, so those exact 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f05835c751352cf02f1d9b05efe4aa47fd7797021de0c463ed33e102a110d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): wisdem/commonse/utilities.py:454-469 | wisdem/commonse/utilities.py:555-568 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/utilities.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9c95b3f19e4539b038f168577c50f20ed731e7f9c6bd8b2c80411111e13eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wisdem/commonse/utilities.py:570-585 | wisdem/rotorse/geometry_tools/cubicspline.py:19-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea683f8accef4f4afe63e8580490d77137aa8de5283fe750f0f8da5f30e8d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:1022-1037 | wisdem/drivetrainse/generator_models.py:1122-1137 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0139c3676bea5539fdad18f8fc0602648652b4513de279cc88cbf2514647439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): wisdem/glue_code/gc_PoseOptimization.py:1074-1089 | wisdem/glue_code/gc_PoseOptimization.py:1130-1145 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"088ae38fe4bf45c50fdb394d2893c20ad7592ab45177d31cb607195012c57c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): wisdem/glue_code/gc_WT_DataStruc.py:2756-2771 | wisdem/rotorse/blade_cost.py:3063-3076 \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 \u0060wisdem/glue_code/gc_WT_DataStruc.py:2756\u0060 it does not close everything it opens, so those exact 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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2756}}}],"partialFingerprints":{"codehealthFindingId/v1":"2388c666d5a3bbff57e6eb51ff9ff7bc0f46a71e158191d26fab027b8083cfa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): wisdem/glue_code/gc_WT_DataStruc.py:70-84 | wisdem/glue_code/gc_WT_DataStruc.py:250-264 | wisdem/glue_code/gc_WT_DataStruc.py:2794-2809 | wisdem/glue_code/gc_WT_DataStruc.py:2944-2958 | wisdem/glue_code/gc_WT_DataStruc.py:2992-3006 | wisdem/rotorse/parametrize_rotor.py:84-98 | wisdem/rotorse/rotor_elasticity.py:222-238 | wisdem/rotorse/rotor_elasticity.py:1343-1359 \u2014 before extracting anything, compare \u0060wisdem/glue_code/gc_WT_DataStruc.py\u0060 and \u0060wisdem/rotorse/parametrize_rotor.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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 \u0060wisdem/glue_code/gc_WT_DataStruc.py: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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b591c12c45a5d14000ba8656cbbfab51c066391584174f4d6872c6215adcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 6): wisdem/glue_code/gc_WT_DataStruc.py:2763-2777 | wisdem/rotorse/rotor_elasticity.py:37-47 | wisdem/rotorse/rotor_elasticity.py:893-906 | wisdem/rotorse/rotor_structure.py:187-201 | wisdem/rotorse/rotor_structure.py:209-219 | wisdem/rotorse/rotor_structure.py:545-559 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 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 \u0060wisdem/glue_code/gc_WT_DataStruc.py:2763\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/rotorse/rotor_structure.py:183\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/glue_code/gc_WT_DataStruc.py:2761\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"83652d76b5b0b9cd7166d581c84cf8a69caf9ef12f914db55840b0f70dbab388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wisdem/commonse/cylinder_member.py:948-962 | wisdem/commonse/cylinder_member.py:1553-1567 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"998eb7e0603c22e5a9960396129cbe20aa7e16a8f9dcf66f5e8347332f6a5027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wisdem/precomp/properties.py:230-244 | wisdem/precomp/properties.py:331-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"891ad7381bbcd2660c92885654f788f35c2b9eacf78e9b380874bd8e59f78ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 7): wisdem/glue_code/gc_WT_DataStruc.py:2763-2776 | wisdem/rotorse/blade_cost.py:3082-3095 | wisdem/rotorse/rotor_elasticity.py:37-47 | wisdem/rotorse/rotor_elasticity.py:893-905 | wisdem/rotorse/rotor_structure.py:187-200 | wisdem/rotorse/rotor_structure.py:209-219 | wisdem/rotorse/rotor_structure.py:545-558 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:2763\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/rotorse/rotor_structure.py:183\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/glue_code/gc_WT_DataStruc.py:2761\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"4682294ea6e887318623301d8b1f236a2d6af88b664f9f37668d1f9800f4eb13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201314 lines \u00D7 11): wisdem/ccblade/ccblade_component.py:430-435 | wisdem/glue_code/gc_WT_DataStruc.py:828-841 | wisdem/rotorse/rotor_elasticity.py:148-148 | wisdem/rotorse/rotor_elasticity.py:149-159 | wisdem/rotorse/rotor_elasticity.py:163-164 | wisdem/rotorse/rotor_elasticity.py:167-173 | wisdem/rotorse/rotor_elasticity.py:175-185 | wisdem/rotorse/rotor_elasticity.py:1284-1285 | wisdem/rotorse/rotor_elasticity.py:1296-1306 | wisdem/rotorse/rotor_structure.py:114-119 | wisdem/rotorse/rotor_structure.py:288-301 \u2014 there are 11 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/ccblade/ccblade_component.py:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/ccblade/ccblade_component.py:435\u0060 calls \u0060add_output\u0060, \u0060zeros\u0060 and \u0060wisdem/rotorse/rotor_elasticity.py:148\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90920fa75d22034da1e84b5a45935ea4b198c9c62a96e36f0c5cd2cf5d9d193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): wisdem/rotorse/blade_cost.py:147-160 | wisdem/rotorse/blade_cost.py:162-175 | wisdem/rotorse/blade_cost.py:177-190 | wisdem/rotorse/blade_cost.py:192-205 | wisdem/rotorse/blade_cost.py:207-220 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/blade_cost.py:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da1caffe94a439ac107c531f8a06e497feed69fa585c2ebd23d90b566cb914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 4): wisdem/rotorse/rotor_elasticity.py:45-54 | wisdem/rotorse/rotor_power.py:190-199 | wisdem/rotorse/rotor_structure.py:180-193 | wisdem/rotorse/rotor_structure.py:217-226 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/rotor_elasticity.py: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. 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":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6434bacdf6807545a7cd30076a9a18339c8e3f1dfc736e543accbb9fec8a212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): wisdem/ccblade/ccblade.py:339-352 | wisdem/rotorse/rotor_power.py:1094-1106 \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":"wisdem/ccblade/ccblade.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9825da323ccfbc7e0d95b146ac754e90c4a748358f2111ea37568b076844e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1365-1378 | wisdem/commonse/cylinder_member.py:1386-1399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/commonse/cylinder_member.py:1365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"db111f2166cc8c3b652a9a2382d34fe0047ca6e1532f9297da4432a033537a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): wisdem/commonse/cylinder_member.py:2303-2324 | wisdem/commonse/cylinder_member.py:2474-2496 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34f585f8bc1098380804e6d3c2cd3ce9d04b1ddfd4f0858705ea5864e36ce9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:1004-1017 | wisdem/drivetrainse/generator_models.py:1099-1112 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"7572f8589f75ec5e798dd58d78037c8dfaafd3e2bdee6d121c0f18bca37d2114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:2543-2556 | wisdem/drivetrainse/generator_models.py:2993-3006 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7c9878276d4ef14048d301e9068a1872e1db1133f445871fb23b9b5daee0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): wisdem/fixed_bottomse/monopile.py:503-522 | wisdem/towerse/tower.py:296-315 \u2014 before extracting anything, compare \u0060wisdem/fixed_bottomse/monopile.py\u0060 and \u0060wisdem/towerse/tower.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b96154dfa1caad9d8ef78972aa0d10b95d841a2ab6b49c00bdad0599776c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wisdem/glue_code/gc_WT_DataStruc.py:1291-1304 | wisdem/glue_code/gc_WT_DataStruc.py:1496-1509 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f7c159b9cc37fc98ec4d0c60af91d4525a23f275ce82bead28a3a462923fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wisdem/rotorse/geometry_tools/distfunc.py:67-81 | wisdem/rotorse/geometry_tools/distfunc.py:120-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. 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":"wisdem/rotorse/geometry_tools/distfunc.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"66387fa08dc994f56a9cf2c6c37cba2d2d045b984cc067530ac5f016de316a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 6): wisdem/drivetrainse/generator_models.py:1185-1195 | wisdem/drivetrainse/generator_models.py:1696-1707 | wisdem/drivetrainse/generator_models.py:2154-2164 | wisdem/drivetrainse/generator_models.py:2582-2594 | wisdem/drivetrainse/generator_models.py:3031-3041 | wisdem/drivetrainse/generator_models.py:3632-3644 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2007d65e0cb23b1b9bc156995191406b6a27dcf695d5799954736ddf2c5091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201313 lines \u00D7 9): wisdem/glue_code/gc_WT_DataStruc.py:1007-1019 | wisdem/rotorse/rotor_elasticity.py:48-54 | wisdem/rotorse/rotor_structure.py:29-30 | wisdem/rotorse/rotor_structure.py:91-96 | wisdem/rotorse/rotor_structure.py:106-107 | wisdem/rotorse/rotor_structure.py:174-182 | wisdem/rotorse/rotor_structure.py:207-217 | wisdem/rotorse/rotor_structure.py:220-226 | wisdem/rotorse/rotor_structure.py:542-553 \u2014 there are 9 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1007\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/rotorse/rotor_structure.py:171\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/glue_code/gc_WT_DataStruc.py:1005\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5a54905ddc2125749ee1768b4a0eafcc95c63580d943772ecb0560b31ab747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201313 lines \u00D7 10): wisdem/rotorse/blade_cost.py:3068-3078 | wisdem/rotorse/rotor_elasticity.py:41-51 | wisdem/rotorse/rotor_power.py:185-196 | wisdem/rotorse/rotor_structure.py:28-29 | wisdem/rotorse/rotor_structure.py:90-94 | wisdem/rotorse/rotor_structure.py:105-106 | wisdem/rotorse/rotor_structure.py:176-188 | wisdem/rotorse/rotor_structure.py:197-205 | wisdem/rotorse/rotor_structure.py:213-223 | wisdem/rotorse/rotor_structure.py:540-541 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/blade_cost.py:3068\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/rotorse/rotor_structure.py:207\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/rotorse/rotor_structure.py:544\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2a1f5141816b5887c38d7c171b1ca71557c6dca1aeebe418d69493bc3f2cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): wisdem/rotorse/blade_cost.py:1026-1038 | wisdem/rotorse/blade_cost.py:1122-1134 | wisdem/rotorse/blade_cost.py:1223-1235 | wisdem/rotorse/blade_cost.py:1352-1364 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea03226a3d5a344344179be33fa2f0219bf6bc45259940d15c24b16b6182a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/commonse/utilities.py:471-483 | wisdem/commonse/utilities.py:589-601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e622ae5d7b96fd730271580bfcf3eb05ff316580c6ee5b37c5b9dc91fa2c0f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:973-983 | wisdem/drivetrainse/generator_models.py:1066-1078 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:973\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a9cbac534de827121f31d001896d4ca259c121b017eededb958562f1ffc73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:625-637 | wisdem/glue_code/gc_LoadInputs.py:642-654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_LoadInputs.py:625\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4d5df662d406434a408cd35a88081e2d06ac48d20f1cd3467f24cd791a8a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/glue_code/gc_PoseOptimization.py:1142-1154 | wisdem/glue_code/gc_PoseOptimization.py:1178-1190 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"736883b2dbedaee413900e4d03c2783cba44db3f2bc8a66cf0cc5c2fa7c30371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/rotorse/rotor_elasticity.py:555-567 | wisdem/rotorse/rotor_elasticity.py:569-581 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab38337ad532f83c19c6ed0c04c0d2d09d3333f339393224cc12a70b31d10979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/rotorse/rotor_power.py:488-500 | wisdem/rotorse/rotor_power.py:563-575 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_power.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ab970f3872793878cfa342e99f52f2bdc25fdb7fd48400ceec645e2d5a4249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): wisdem/glue_code/gc_WT_DataStruc.py:1010-1023 | wisdem/glue_code/gc_WT_DataStruc.py:2762-2775 | wisdem/rotorse/blade_cost.py:3081-3094 | wisdem/rotorse/rotor_elasticity.py:36-47 | wisdem/rotorse/rotor_elasticity.py:892-904 | wisdem/rotorse/rotor_structure.py:186-199 | wisdem/rotorse/rotor_structure.py:208-219 | wisdem/rotorse/rotor_structure.py:544-557 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1010\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/rotorse/rotor_elasticity.py:48\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/glue_code/gc_WT_DataStruc.py:2775\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dd062ac3fadc0cec90de137b06b1d7a1cf5639c98ef44faacf1e74fdccad89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): wisdem/glue_code/gc_WT_DataStruc.py:1460-1473 | wisdem/rotorse/blade_cost.py:2828-2841 | wisdem/rotorse/blade_cost.py:2844-2855 | wisdem/rotorse/blade_cost.py:3028-3041 | wisdem/rotorse/rotor_elasticity.py:84-97 | wisdem/rotorse/rotor_structure.py:1025-1036 \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 \u0060wisdem/glue_code/gc_WT_DataStruc.py:1460\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d36032f30a7d417473157973a21247ab734b83c1775d6b5aaa96c4c63cec62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): wisdem/fixed_bottomse/jacket.py:500-511 | wisdem/fixed_bottomse/monopile.py:619-630 | wisdem/floatingse/floating_frame.py:232-243 | wisdem/floatingse/floating_frame.py:472-483 | wisdem/towerse/tower.py:376-387 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/fixed_bottomse/jacket.py:500\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75b7cd8ac52c0affa38332b3899dc1b2dfec60c0ec99fecbfd33aacf68912c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 5): wisdem/landbosse/model/FoundationCost.py:1033-1043 | wisdem/landbosse/model/GridConnectionCost.py:186-195 | wisdem/landbosse/model/SitePreparationCost.py:963-972 | wisdem/landbosse/model/SubstationCost.py:144-155 | wisdem/landbosse/model/TurbineCost.py:124-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"61373b5782969d427300773366aec3598b5f7203fed9a60fa8456343234eb1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): wisdem/landbosse/model/FoundationCost.py:961-972 | wisdem/landbosse/model/GridConnectionCost.py:152-163 | wisdem/landbosse/model/SitePreparationCost.py:913-924 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded3f81501b44622ef4f93ba5a4869f81b309b8ef7007acf270f17b99df3e454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:359-370 | wisdem/drivetrainse/drive_structure.py:1005-1016 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/drive_structure.py: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":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6cba5acc078453108e7ee9a44795f93c463e4bb06884d201c5656a8f9fb8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:2500-2511 | wisdem/drivetrainse/generator_models.py:2949-2961 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b50a9774893e8f2b3b941a05a7afb3820c776a469db921944ece672cd2867bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wisdem/fixed_bottomse/jacket.py:448-459 | wisdem/towerse/tower.py:322-333 \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 \u0060wisdem/fixed_bottomse/jacket.py:448\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce2e77e5cfa7841b9361cad5df75e648e77c75a32dcaa5426dfa47cdc07909f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): wisdem/glue_code/gc_WT_InitModel.py:984-1017 | wisdem/glue_code/gc_WT_InitModel.py:1070-1103 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de7549e950fae5282b63057c8383eba2acd6dbc7d5d4889079c441375b28c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wisdem/postprocessing/compare_designs.py:308-319 | wisdem/postprocessing/compare_designs.py:329-340 \u2014 both copies are in the same file, so extract the block 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":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"63410053e0dd349f86b88239c3f8af54d726e02baadf4d905216ec047e5764d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wisdem/precomp/properties.py:573-584 | wisdem/precomp/properties.py:604-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/precomp/properties.py:585\u0060 calls \u0060abs\u0060 and \u0060wisdem/precomp/properties.py:616\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb21f00f4edc1b3b907e4df893d4380fe987fe7ad2fb395c7d36bf52b63c9dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): wisdem/rotorse/blade_cost.py:648-659 | wisdem/rotorse/blade_cost.py:683-693 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4e5fd9a1299277dc54cd3d27dd402d7fe7441d0c40dec09828321b26d7faff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/rotorse/blade_cost.py:3573-3585 | wisdem/rotorse/blade_cost.py:3594-3606 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eea6f62f515a773b2af898cc71817ba556f82a07fa7e3b7d5931fc6af3a8f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): wisdem/ccblade/ccblade.py:1569-1579 | wisdem/commonse/cylinder_member.py:2058-2070 | wisdem/drivetrainse/drivetrain.py:77-87 | wisdem/drivetrainse/generator_models.py:1283-1294 | wisdem/drivetrainse/generator_models.py:1801-1812 | wisdem/drivetrainse/generator_models.py:2240-2252 | wisdem/drivetrainse/generator_models.py:3149-3160 | wisdem/nrelcsm/nrel_csm_cost_2015.py:221-232 | wisdem/nrelcsm/nrel_csm_cost_2015.py:1228-1239 | wisdem/rotorse/rotor_structure.py:943-954 \u2014 there are 10 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart. 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":"wisdem/ccblade/ccblade.py"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd765daa50f9341bf3ffe64350d4ad4b2f181fb5505112c4a22720dc2ceacf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): wisdem/drivetrainse/generator_models.py:1684-1695 | wisdem/drivetrainse/generator_models.py:1704-1714 | wisdem/drivetrainse/generator_models.py:2547-2557 | wisdem/drivetrainse/generator_models.py:3609-3619 | wisdem/drivetrainse/generator_models.py:3640-3651 | wisdem/rotorse/blade_cost.py:3898-3908 | wisdem/rotorse/rotor_power.py:797-807 \u2014 there are 7 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa2d56ce090f201efc5b7ddcfb856ad47b15f6f549aa5dd26cb82dd7c7b5016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): wisdem/glue_code/gc_WT_DataStruc.py:1461-1473 | wisdem/rotorse/blade_cost.py:2829-2841 | wisdem/rotorse/blade_cost.py:3029-3041 | wisdem/rotorse/rotor_elasticity.py:70-81 | wisdem/rotorse/rotor_elasticity.py:85-97 | wisdem/rotorse/rotor_structure.py:1026-1036 \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 \u0060wisdem/glue_code/gc_WT_DataStruc.py:1461\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e896cd813247251784d999e7573d8cb0624c4549f5d2e01e39c4649b71b909b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): wisdem/drivetrainse/generator_models.py:1177-1186 | wisdem/drivetrainse/generator_models.py:1680-1690 | wisdem/drivetrainse/generator_models.py:2140-2149 | wisdem/drivetrainse/generator_models.py:3027-3036 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/drivetrainse/generator_models.py:3037\u0060 calls \u0060maximum\u0060 and \u0060wisdem/drivetrainse/generator_models.py:1187\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9145151325f986ce67317bede0a73d921b35975d8792a397ef6455791b1ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): wisdem/commonse/cylinder_member.py:1310-1320 | wisdem/commonse/cylinder_member.py:1579-1588 | wisdem/commonse/cylinder_member.py:1729-1739 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/commonse/cylinder_member.py:1726\u0060 calls \u0060make_float\u0060 and \u0060wisdem/commonse/cylinder_member.py:1577\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"456e60de41663961a5a477a30bf127defcc3e080bbc97ee771db9c5c0398b993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201311 lines \u00D7 13): wisdem/glue_code/gc_LoadInputs.py:1028-1031 | wisdem/glue_code/gc_LoadInputs.py:1036-1040 | wisdem/glue_code/gc_LoadInputs.py:1042-1050 | wisdem/glue_code/gc_LoadInputs.py:1066-1076 | wisdem/glue_code/gc_LoadInputs.py:1103-1111 | wisdem/glue_code/gc_LoadInputs.py:1153-1154 | wisdem/glue_code/gc_LoadInputs.py:1170-1171 | wisdem/glue_code/gc_LoadInputs.py:1172-1173 | wisdem/glue_code/gc_LoadInputs.py:1175-1176 | wisdem/glue_code/gc_LoadInputs.py:1178-1181 | wisdem/glue_code/gc_LoadInputs.py:1214-1215 | wisdem/glue_code/gc_LoadInputs.py:1237-1238 | wisdem/glue_code/gc_LoadInputs.py:1488-1489 \u2014 all 13 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 \u0060wisdem/glue_code/gc_LoadInputs.py:1036\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/glue_code/gc_LoadInputs.py:1041\u0060 calls \u0060tolist\u0060 and \u0060wisdem/glue_code/gc_LoadInputs.py:1032\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f1739b4d02571456c29f688741e46ff752d2507a19f137ebafb07940dde18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): wisdem/glue_code/gc_PoseOptimization.py:1084-1092 | wisdem/glue_code/gc_PoseOptimization.py:1140-1149 | wisdem/glue_code/gc_PoseOptimization.py:1229-1239 \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 \u0060wisdem/glue_code/gc_PoseOptimization.py:1140\u0060 it does not close everything it opens, so those exact 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa68dcf147652f48611915ec758cbe4978b6a2f31268102f46c61a375c33da95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): wisdem/glue_code/gc_PoseOptimization.py:1079-1089 | wisdem/glue_code/gc_PoseOptimization.py:1135-1145 | wisdem/glue_code/gc_PoseOptimization.py:1152-1162 \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 \u0060wisdem/glue_code/gc_PoseOptimization.py:1079\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff27e75182657dffab6b616a9ee3674774c847786f019f00069769418e6820e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/ccblade/Polar.py:1154-1164 | wisdem/ccblade/Polar.py:1165-1175 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/Polar.py"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f032d4cc3b607b8588b855e8020d2fa0c42a3fbf9eca6b5d07416c8d919269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/ccblade/ccblade.py:277-287 | wisdem/ccblade/ccblade.py:298-308 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/ccblade.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5248b6ea4cb4f3aac62a2dcd22de8f2fdf57862a49f7e1bca427348f1e9cd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): wisdem/ccblade/ccblade_component.py:114-133 | wisdem/ccblade/ccblade_component.py:644-663 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/ccblade/ccblade_component.py:643\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/ccblade/ccblade_component.py:113\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"573ae0e16dc7f15c39619a8d62eddeef6d38311eef2bef7c71475ca5c447058c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1951-1964 | wisdem/commonse/cylinder_member.py:2041-2054 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1170a9bb2c7f400f6ddcf579a41ffe0491450aca752605a8f3010ea5a7d723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:919-927 | wisdem/drivetrainse/generator_models.py:929-939 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:919\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea45db92c372d27aca684dd70eb6a076d68b254a5f57c93eac1735d583668a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:2398-2408 | wisdem/drivetrainse/generator_models.py:2829-2836 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59cc069ba3a629ebc3bf92dc791778a5f7c4b03e76869fed61b56038507c776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/fixed_bottomse/monopile.py:575-585 | wisdem/towerse/tower.py:348-358 \u2014 before extracting anything, compare \u0060wisdem/fixed_bottomse/monopile.py\u0060 and \u0060wisdem/towerse/tower.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"95296988eb03831be98454c9e270ec087b9c993a16e075cc18ebf31945b2b969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/floatingse/visualize.py:75-85 | wisdem/floatingse/visualize.py:116-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/floatingse/visualize.py:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/visualize.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"182b2c425a695fd781fef64d0b4dc83ecbb08e95c7bee6801e6fc42eb9711920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:254-264 | wisdem/glue_code/gc_LoadInputs.py: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 \u0060wisdem/glue_code/gc_LoadInputs.py:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"251af4f5ddad42eb1c0c55f7d2e317100409752d727415accb3af484f2f6e479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): wisdem/glue_code/gc_PoseOptimization.py:430-449 | wisdem/glue_code/gc_PoseOptimization.py:452-471 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_PoseOptimization.py:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b98abd527e465da3586bddab0be13b01614f702df0394bf848a872e7ceb1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 3): wisdem/glue_code/gc_PoseOptimization.py:951-961 | wisdem/glue_code/gc_PoseOptimization.py:963-973 | wisdem/glue_code/gc_PoseOptimization.py:974-977 \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. 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84d5f63405e606bf67fe7a1d214c7459b25e869c17a879b5a126f12ced64b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): wisdem/glue_code/gc_WT_InitModel.py:217-227 | wisdem/glue_code/gc_WT_InitModel.py:325-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c871c8388e6498915afc799c83013d8f46548d65bae6be11d8976faa84c9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/glue_code/gc_WT_InitModel.py:968-978 | wisdem/glue_code/gc_WT_InitModel.py:1057-1067 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fd97c211f306046eb942de9ac1f47c6255e654b756476705262c0931ef9f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): wisdem/glue_code/gc_WT_InitModel.py:1281-1290 | wisdem/glue_code/gc_WT_InitModel.py:1296-1306 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cce9b403d833bd039a967d48d4651ed66676e1167852fc20a209c078bc03c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): wisdem/landbosse/model/CollectionCost.py:806-816 | wisdem/landbosse/model/SitePreparationCost.py:405-412 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"8051bfd6d54d65f2d9463ac742496a967d3507d84b443cfc255e17e052282ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): wisdem/main.py:18-28 | wisdem/main.py:52-61 \u2014 both copies are in the same file, so extract the block 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":"wisdem/main.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be5d2299d3315e5685b4d64768b21c95c1ae49d552ac3fa0060ec8a169eebfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): wisdem/postprocessing/compare_designs.py:86-96 | wisdem/postprocessing/compare_designs.py:135-144 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/postprocessing/compare_designs.py: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":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c238ba5ac33b8ef6d101956aa2039a679697986978a7ae09039dfac6292538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/rotorse/rotor_power.py:469-479 | wisdem/rotorse/rotor_power.py:545-555 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/rotor_power.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ecf89ac4f9bd27e9875f708db53b23bad1e4eecd2b249984243862436e20ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 17): wisdem/rotorse/blade_cost.py:81-90 | wisdem/rotorse/blade_cost.py:95-104 | wisdem/rotorse/blade_cost.py:108-115 | wisdem/rotorse/blade_cost.py:120-128 | wisdem/rotorse/blade_cost.py:132-140 | wisdem/rotorse/blade_cost.py:144-152 | wisdem/rotorse/blade_cost.py:159-167 | wisdem/rotorse/blade_cost.py:174-182 | wisdem/rotorse/blade_cost.py:189-197 | wisdem/rotorse/blade_cost.py:204-212 | wisdem/rotorse/blade_cost.py:219-227 | wisdem/rotorse/blade_cost.py:236-244 | wisdem/rotorse/blade_cost.py:251-259 | wisdem/rotorse/blade_cost.py:264-273 | wisdem/rotorse/blade_cost.py:278-287 | wisdem/rotorse/blade_cost.py:294-302 | wisdem/rotorse/blade_cost.py:307-316 \u2014 all 17 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 \u0060wisdem/rotorse/blade_cost.py:81\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"355beb387982bf1e9074ff2d20f613bff2ae7815edcf7bea201e9bf0cb2637c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 13): wisdem/rotorse/blade_cost.py:70-78 | wisdem/rotorse/blade_cost.py:84-93 | wisdem/rotorse/blade_cost.py:98-106 | wisdem/rotorse/blade_cost.py:122-130 | wisdem/rotorse/blade_cost.py:146-154 | wisdem/rotorse/blade_cost.py:161-169 | wisdem/rotorse/blade_cost.py:176-184 | wisdem/rotorse/blade_cost.py:191-199 | wisdem/rotorse/blade_cost.py:206-214 | wisdem/rotorse/blade_cost.py:253-262 | wisdem/rotorse/blade_cost.py:267-276 | wisdem/rotorse/blade_cost.py:296-305 | wisdem/rotorse/blade_cost.py:310-319 \u2014 all 13 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 \u0060wisdem/rotorse/blade_cost.py: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. 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b342426d912a56da42ac2be5ca7162e837584a181d5ec2fb5890915b6dd9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): wisdem/glue_code/gc_WT_DataStruc.py:1435-1446 | wisdem/glue_code/gc_WT_DataStruc.py:1462-1473 | wisdem/rotorse/blade_cost.py:2830-2841 | wisdem/rotorse/blade_cost.py:3030-3041 | wisdem/rotorse/rotor_elasticity.py:70-81 | wisdem/rotorse/rotor_elasticity.py:86-97 | wisdem/rotorse/rotor_structure.py:1027-1036 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1435\u0060 it does not close everything it opens, so those exact 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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f6c71ddb61d8b961fcb5785356553ead032685da619f018e581d3883404e86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): wisdem/postprocessing/compare_designs.py:101-110 | wisdem/postprocessing/compare_designs.py:177-185 | wisdem/postprocessing/compare_designs.py:210-218 | wisdem/postprocessing/compare_designs.py:243-251 | wisdem/postprocessing/compare_designs.py:276-284 | wisdem/postprocessing/compare_designs.py:301-309 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"83128c9bbf4c317e3bdf7511df25d0f1647b50cf43a3d64ebc12ac2f1b50ac70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): wisdem/drivetrainse/generator_models.py:1271-1280 | wisdem/drivetrainse/generator_models.py:1789-1798 | wisdem/drivetrainse/generator_models.py:3137-3146 | wisdem/fixed_bottomse/jacket.py:604-613 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2246abecea695e2429bf107dc7ad5e4429944b00f56ba1d216b848173c42c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): wisdem/landbosse/model/CostModule.py:75-84 | wisdem/landbosse/model/FoundationCost.py:961-969 | wisdem/landbosse/model/GridConnectionCost.py:152-160 | wisdem/landbosse/model/SitePreparationCost.py:913-921 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CostModule.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"838db663c7729e953e5fe1a48260f1aac7cde4ff30f381678f5e3b95b762739d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): wisdem/rotorse/blade_cost.py:1090-1099 | wisdem/rotorse/blade_cost.py:1191-1200 | wisdem/rotorse/blade_cost.py:1283-1292 | wisdem/rotorse/blade_cost.py:1453-1462 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2cbc95864a33eaa3048673f1fb8955cd9dbb4d34f684e2ad90e560da8613af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1306-1315 | wisdem/commonse/cylinder_member.py:2124-2133 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7614d64c8e5a5f806424c74f9551b7be5c5ef64602958cd92bbcd5619e0efd0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:19-31 | wisdem/drivetrainse/layout.py:13-25 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4d6407d9c4c275f85d72873f0245a1d8af4d67aa67f31e2f2944b6b074e354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:859-865 | wisdem/drivetrainse/drive_structure.py:1240-1249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b0d930b08f3c6c2c5ff4fe81f3aa30d8d63e682f03a807760c2ff831a6f180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:831-840 | wisdem/drivetrainse/generator_models.py:1375-1384 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"398753439fc8cf0901db93eb8ca349e43e1f4b1f5fa946481680c5b20e93d78e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:2361-2370 | wisdem/drivetrainse/generator_models.py:2779-2790 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44b86ad2c993e928e6b0a8be36d76f1c8ee1fc75f5db8cc3f09f7f2b7e7068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wisdem/fixed_bottomse/monopile.py:792-801 | wisdem/towerse/tower.py:516-526 \u2014 before extracting anything, compare \u0060wisdem/fixed_bottomse/monopile.py\u0060 and \u0060wisdem/towerse/tower.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 187 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 \u0060wisdem/fixed_bottomse/monopile.py:792\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"677da04685b0aaac78710b9bf19414c25d1c0890d1af12ca38a2193ef80f9d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:694-705 | wisdem/glue_code/gc_LoadInputs.py:708-719 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"643b74c6b2dbe713f8e8910b3645e1122d85c9c9b6761007862d1b39ccea0eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201310 lines \u00D7 5): wisdem/glue_code/gc_LoadInputs.py:829-833 | wisdem/glue_code/gc_LoadInputs.py:838-843 | wisdem/glue_code/gc_LoadInputs.py:845-850 | wisdem/glue_code/gc_LoadInputs.py:1247-1253 | wisdem/glue_code/gc_LoadInputs.py:1302-1311 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_LoadInputs.py:829\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a07f17c164bbdc5b1dbd11efc70631a65290a4621107c3e3b6b96eb3bd1f6e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 18): wisdem/rotorse/blade_cost.py:69-76 | wisdem/rotorse/blade_cost.py:83-91 | wisdem/rotorse/blade_cost.py:97-105 | wisdem/rotorse/blade_cost.py:109-116 | wisdem/rotorse/blade_cost.py:121-129 | wisdem/rotorse/blade_cost.py:133-141 | wisdem/rotorse/blade_cost.py:145-153 | wisdem/rotorse/blade_cost.py:160-168 | wisdem/rotorse/blade_cost.py:175-183 | wisdem/rotorse/blade_cost.py:190-198 | wisdem/rotorse/blade_cost.py:205-213 | wisdem/rotorse/blade_cost.py:220-228 | wisdem/rotorse/blade_cost.py:237-245 | wisdem/rotorse/blade_cost.py:252-260 | wisdem/rotorse/blade_cost.py:266-274 | wisdem/rotorse/blade_cost.py:280-288 | wisdem/rotorse/blade_cost.py:295-303 | wisdem/rotorse/blade_cost.py:309-317 \u2014 all 18 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. 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3100d82cfb16b5a06325ed69cceec0d11158a01907b899829dd8ecf7d724f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): wisdem/ccblade/ccblade_component.py:216-224 | wisdem/ccblade/ccblade_component.py:450-458 | wisdem/ccblade/ccblade_component.py:709-717 | wisdem/ccblade/ccblade_component.py:787-795 | wisdem/rotorse/rotor_power.py:328-336 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e14c7f1c2622c4eebcfad834e109b349cba2b5668ed412df2420e67fbc7380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): wisdem/ccblade/ccblade_component.py:335-345 | wisdem/rotorse/rotor_elasticity.py:46-54 | wisdem/rotorse/rotor_power.py:191-199 | wisdem/rotorse/rotor_structure.py:181-193 | wisdem/rotorse/rotor_structure.py:218-226 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/ccblade/ccblade_component.py:335\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fafa18506e6bc8406e58b89689f8d4acda84d40c7a13fa8d2e8915fc2ff5c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): wisdem/drivetrainse/generator_models.py:1723-1730 | wisdem/drivetrainse/generator_models.py:2179-2186 | wisdem/drivetrainse/generator_models.py:2592-2600 | wisdem/drivetrainse/generator_models.py:3038-3045 | wisdem/drivetrainse/generator_models.py:3660-3668 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/drivetrainse/generator_models.py:2590\u0060 calls \u0060maximum\u0060 and \u0060wisdem/drivetrainse/generator_models.py:1720\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b1307fb89474fe79b9a978dfcb2dddae1bda225aae0d0cd44381820a240d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): wisdem/fixed_bottomse/monopile.py:989-997 | wisdem/glue_code/glue_code.py:159-168 | wisdem/rotorse/blade_cost.py:3988-3997 | wisdem/rotorse/blade_cost.py:4015-4024 | wisdem/rotorse/rotor.py:200-208 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/fixed_bottomse/monopile.py:989\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e63ae7f27a0254df53c601a3dcf916941f0ce256dc16ba9c18661a403282ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): wisdem/postprocessing/compare_designs.py:288-296 | wisdem/postprocessing/compare_designs.py:313-321 | wisdem/postprocessing/compare_designs.py:334-342 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/postprocessing/compare_designs.py:288\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"511bc333f77c414cc36a4563be519d68123d6b186dc60bbfdf98d75f73e699cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): wisdem/ccblade/ccblade.py:1495-1503 | wisdem/ccblade/ccblade.py:1520-1527 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/ccblade.py"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a90bff2368e3b2135af721c2722e98c8021cb959001d09a13730d32dbdf578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 4): wisdem/ccblade/ccblade_component.py:95-103 | wisdem/ccblade/ccblade_component.py:624-632 | wisdem/ccblade/ccblade_component.py:641-643 | wisdem/drivetrainse/generator_models.py:491-493 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/ccblade/ccblade_component.py:104\u0060 calls \u0060add_input\u0060 and \u0060wisdem/ccblade/ccblade_component.py:634\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8882201dc91e87f80ac3bc5e3588174c1be67909bbdfc007af99f60411abdd9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1629-1637 | wisdem/commonse/cylinder_member.py:1648-1656 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4f36a0ad4c4fe315259e88ac6a4a54282d44d9a5ca488aca6721bb78d73531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1923-1937 | wisdem/commonse/cylinder_member.py:2008-2022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/commonse/cylinder_member.py:2023\u0060 calls \u0060interp\u0060 and \u0060wisdem/commonse/cylinder_member.py:1938\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"917990b487c60417d6dc07c7b88dd5556f4c6b606cec5e1b12527741d3d0bae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:853-861 | wisdem/drivetrainse/drive_structure.py:1230-1238 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"6072c4f7e0fa1815ade2b5bf2f56531ff833a4508c9a47a181e4b9ba7dfe51b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wisdem/drivetrainse/gearbox.py:230-242 | wisdem/drivetrainse/gearbox.py:244-256 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/gearbox.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e2d7b4e0d9224cd3f59f3eb3d3a439c0b3819d0c7629b77799933d29a944dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:1609-1617 | wisdem/drivetrainse/generator_models.py:2006-2014 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:1609\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3a90dc32780649a803c233cdf26517efcf60bea4211239457599fd0b12aae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): wisdem/fixed_bottomse/jacket.py:223-230 | wisdem/fixed_bottomse/jacket.py:595-603 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9c65628446b10b15e426112acca23f96388fa987489da82ae9043e4d5b3c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/fixed_bottomse/monopile.py:689-697 | wisdem/towerse/tower.py:421-429 \u2014 before extracting anything, compare \u0060wisdem/fixed_bottomse/monopile.py\u0060 and \u0060wisdem/towerse/tower.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"13807b82305387769427faeb5afa68a7433a6b5bbe72b6ee27acac06d02143d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/fixed_bottomse/monopile.py:853-861 | wisdem/towerse/tower.py:641-649 \u2014 before extracting anything, compare \u0060wisdem/fixed_bottomse/monopile.py\u0060 and \u0060wisdem/towerse/tower.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b6a95237c5fca02d896a3ed28d5fba50cf8586443a7532727ab5791e927eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): wisdem/floatingse/floating_system.py:485-493 | wisdem/floatingse/floating_system.py:528-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. 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":"wisdem/floatingse/floating_system.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaa1c898d5437320bef438ef0c684cb91461373ddb6b86f172fcae046856837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/glue_code/gc_PoseOptimization.py:757-765 | wisdem/glue_code/gc_PoseOptimization.py:766-774 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a137e661fbcd89c0d2c2d8340b224ba5d184b5eb6c0812e2dcf1ceb4e91ff837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): wisdem/glue_code/glue_code.py:602-610 | wisdem/glue_code/glue_code.py:669-676 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/glue_code.py"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"330b77c5896d7af70179fc2de3d9d043abaa8079e7cc66c75e4d2286fceae8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/landbosse/model/ErectionCost.py:497-505 | wisdem/landbosse/model/ErectionCost.py:640-648 \u2014 both copies are in the same file, so extract the block 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":"wisdem/landbosse/model/ErectionCost.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ef1a8865f2c69dc44a845d49c26177c76e94d11dce26ed7ac25c5f76cba941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): wisdem/precomp/writer.py:81-86 | wisdem/precomp/writer.py:89-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/precomp/writer.py:89\u0060 it does not close everything it opens, so those exact 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":"wisdem/precomp/writer.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1f3d4126b081b7fc960ef8e992c9d28be3d6a94d22c6d07a092c2f98028a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 14): wisdem/commonse/wind_wave_drag.py:1119-1126 | wisdem/drivetrainse/drivetrain.py:256-263 | wisdem/fixed_bottomse/monopile.py:989-997 | wisdem/glue_code/gc_WT_DataStruc.py:731-739 | wisdem/glue_code/glue_code.py:121-129 | wisdem/glue_code/glue_code.py:159-168 | wisdem/glue_code/glue_code.py:185-192 | wisdem/glue_code/glue_code.py:354-361 | wisdem/glue_code/glue_code.py:840-847 | wisdem/rotorse/blade_cost.py:3988-3997 | wisdem/rotorse/blade_cost.py:4015-4024 | wisdem/rotorse/blade_cost.py:4041-4049 | wisdem/rotorse/rotor.py:200-208 | wisdem/rotorse/rotor_structure.py:1188-1207 \u2014 there are 14 copies across 8 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 14 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/fixed_bottomse/monopile.py:989\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/glue_code/gc_WT_DataStruc.py:729\u0060 calls \u0060add_subsystem\u0060, \u0060ParametrizeBladeAero\u0060 and \u0060wisdem/commonse/wind_wave_drag.py:1119\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dc13c85389d5e23a1cff0d0b2ef31a43418d26bf1a2c24db7ab3056a3a4876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): wisdem/landbosse/model/DevelopmentCost.py:95-105 | wisdem/landbosse/model/ErectionCost.py:199-206 | wisdem/landbosse/model/FoundationCost.py:1037-1044 | wisdem/landbosse/model/GridConnectionCost.py:188-196 | wisdem/landbosse/model/SitePreparationCost.py:966-973 | wisdem/landbosse/model/SubstationCost.py:147-156 | wisdem/landbosse/model/TurbineCost.py:126-135 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 7 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/DevelopmentCost.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"19239d8db79065743c4a2bdd95210ade3930d32777aa5ff023e604d0e78ba873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): wisdem/postprocessing/compare_designs.py:99-106 | wisdem/postprocessing/compare_designs.py:147-155 | wisdem/postprocessing/compare_designs.py:208-216 | wisdem/postprocessing/compare_designs.py:241-249 | wisdem/postprocessing/compare_designs.py:274-282 | wisdem/postprocessing/compare_designs.py:299-307 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb5590bdd056fb966f9dc3502bebceed47ac4becb13e56432df3cd48762d819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): wisdem/glue_code/gc_LoadInputs.py:879-890 | wisdem/glue_code/gc_LoadInputs.py:904-915 | wisdem/glue_code/gc_LoadInputs.py:930-941 | wisdem/glue_code/gc_LoadInputs.py:948-959 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3f7fd0ba9cf4821b78f2ef474ed2ee4a93ee049cef9ecefb5e92c4130c3f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): wisdem/glue_code/gc_PoseOptimization.py:1086-1093 | wisdem/glue_code/gc_PoseOptimization.py:1172-1179 | wisdem/glue_code/gc_PoseOptimization.py:1233-1240 | wisdem/glue_code/gc_PoseOptimization.py:1260-1267 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4045fd2c7e167700703ab8ed8140749aac13a6451af6cbd1e1d634608a7311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): wisdem/fixed_bottomse/monopile.py:576-583 | wisdem/rotorse/rotor_structure.py:469-475 | wisdem/towerse/tower.py:349-356 \u2014 before extracting anything, compare \u0060wisdem/fixed_bottomse/monopile.py\u0060 and \u0060wisdem/towerse/tower.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 187 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"eead756108265951b9698e2c382abd6a5aa0118a551a1850fa53f873c00bc9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): wisdem/fixed_bottomse/monopile.py:657-663 | wisdem/floatingse/floating_frame.py:509-516 | wisdem/towerse/tower.py:404-410 \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 \u0060wisdem/fixed_bottomse/monopile.py:657\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a0ee89ba5d658f2f27b73f4e438a5850ae9bca3284dddb1a4fe55fe502c0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): wisdem/glue_code/gc_LoadInputs.py:266-273 | wisdem/glue_code/gc_WT_InitModel.py:971-978 | wisdem/glue_code/gc_WT_InitModel.py:1060-1067 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dee252f66ff7aa8556037f5b159d59f01220e37afed7f492b8a46a2f2a257e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): wisdem/glue_code/gc_WT_DataStruc.py:128-136 | wisdem/glue_code/gc_WT_DataStruc.py:2072-2079 | wisdem/glue_code/gc_WT_DataStruc.py:2144-2151 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad75d768abd2459ee1bca38a8509cd714a6f64c5a168296b65fc3f4fa45180a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 4): wisdem/ccblade/ccblade_component.py:356-360 | wisdem/rotorse/blade_cost.py:2824-2831 | wisdem/rotorse/blade_cost.py:3024-3031 | wisdem/rotorse/rotor_elasticity.py:56-64 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/blade_cost.py:2824\u0060 it does not close everything it opens, so those exact 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":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b097ce97151e231183a2ad2777e6bbab884034808fac437f10e0ce148bac1c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/ccblade/Polar.py:944-951 | wisdem/ccblade/Polar.py:953-960 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/Polar.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b0aace7cccc8be1b7cf9498df0b6cfd04b4e841522b72533d3a58dbb2749a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/ccblade/ccblade.py:382-389 | wisdem/ccblade/ccblade.py:438-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"499cb53bf648d0284afe8bb046dc32c58f951bca3e2977e3104e2b819f389616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/ccblade/ccblade_component.py:840-847 | wisdem/ccblade/ccblade_component.py:992-999 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dcc3bb0174405daea12b246b6d83293f5fe12b6ff9e7b60d1a0266e1b08743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 3): wisdem/commonse/cylinder_member.py:1185-1189 | wisdem/commonse/cylinder_member.py:2260-2267 | wisdem/commonse/cylinder_member.py:2433-2440 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/commonse/cylinder_member.py:2430\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/commonse/cylinder_member.py:2257\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad883421299a5fd49862d3a9787833867c3026408ee9de0fa0a8e3f281b6186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/commonse/wind_wave_drag.py:298-306 | wisdem/commonse/wind_wave_drag.py:450-458 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b1d129c44c4eb136b241ab606760821dcafafd228510538c03925d94c7129b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:839-846 | wisdem/drivetrainse/drive_structure.py:1215-1222 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2a88e08076178ca707da24324fc48cd84e1ee9537660641040fa326c80a19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:1644-1651 | wisdem/drivetrainse/generator_models.py:2089-2096 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"65caa88033bfaeafb011568d0c68b453bb36a3e270934214f702fd92774e2109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:302-310 | wisdem/glue_code/gc_LoadInputs.py:350-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 \u0060wisdem/glue_code/gc_LoadInputs.py:302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a81fd3f9a166b7b331ede3eae258245d190b553738676f423328ea4f3a11e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:434-441 | wisdem/glue_code/gc_LoadInputs.py:488-493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_LoadInputs.py:434\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25820d71d99ab1648362344c9c4fb041e59a05de656bbdc9b9d113a7813f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): wisdem/glue_code/gc_WT_DataStruc.py:1606-1613 | wisdem/glue_code/gc_WT_DataStruc.py:1616-1621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1606\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb6cde653e1bd33a615f95f11e70c3cd9ec76470264cd31584c2f6146b6a69c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): wisdem/glue_code/gc_WT_DataStruc.py:2200-2206 | wisdem/glue_code/gc_WT_InitModel.py:1195-1202 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fce501ec332f452a7ff688ab1ff3aed8c59826a5ad092a8c46b4dbf3495741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/landbosse/model/CollectionCost.py:802-809 | wisdem/landbosse/model/ErectionCost.py:557-564 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f2816910a5c622debeab5da81858382f5e608962f26ae001d8dcb8f4c052f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/landbosse/model/ErectionCost.py:546-553 | wisdem/landbosse/model/ErectionCost.py:671-678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/landbosse/model/ErectionCost.py:546\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/ErectionCost.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cc97e75cbfd7ba91919560cc1d5a22f035a98274397624ed49891a5f59982f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/precomp/composite_section.py:72-80 | wisdem/precomp/composite_section.py:85-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/composite_section.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81c14d36e30466dba2f6c6c465d1960b351994ac62418a9b7209aba3a9a92b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): wisdem/glue_code/glue_code.py:306-312 | wisdem/glue_code/glue_code.py:520-526 | wisdem/glue_code/glue_code.py:556-562 | wisdem/glue_code/glue_code.py:571-577 | wisdem/glue_code/glue_code.py:622-628 | wisdem/glue_code/glue_code.py:635-641 | wisdem/glue_code/glue_code.py:645-651 | wisdem/glue_code/glue_code.py:815-821 | wisdem/glue_code/glue_code.py:838-845 | wisdem/glue_code/glue_code.py:1021-1027 | wisdem/glue_code/glue_code.py:1058-1064 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/glue_code/glue_code.py:518\u0060 calls \u0060connect\u0060 and \u0060wisdem/glue_code/glue_code.py:835\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/glue_code.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b5aef109bf6c17ff6bf6fb9749920430db7863e48973ea0341385030e7fcd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): wisdem/glue_code/gc_PoseOptimization.py:1086-1092 | wisdem/glue_code/gc_PoseOptimization.py:1142-1150 | wisdem/glue_code/gc_PoseOptimization.py:1175-1181 | wisdem/glue_code/gc_PoseOptimization.py:1231-1239 | wisdem/glue_code/gc_PoseOptimization.py:1260-1266 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_PoseOptimization.py:1142\u0060 it does not close everything it opens, so those exact 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"607d8d39135f91143ba479e6fd657f6fc2faecf16ae3c65bef402c2f3a81a84b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): wisdem/ccblade/ccblade_component.py:187-193 | wisdem/ccblade/ccblade_component.py:679-685 | wisdem/ccblade/ccblade_component.py:757-763 | wisdem/rotorse/blade_cost.py:3334-3341 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba100d56f83472d6db9d5b9c4a3c9aa5ef8b4cc2be00049bcf3947c7581e9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): wisdem/drivetrainse/drive_structure.py:858-865 | wisdem/drivetrainse/drive_structure.py:1239-1246 | wisdem/drivetrainse/layout.py:267-273 | wisdem/drivetrainse/layout.py:527-534 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/drivetrainse/layout.py:525\u0060 calls \u0060deg2rad\u0060 and \u0060wisdem/drivetrainse/layout.py:266\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"8478bb2b8933145ba91fbfd5f120e1e73427e91f55fff8aa53520f449bc58de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): wisdem/glue_code/gc_LoadInputs.py:854-859 | wisdem/glue_code/gc_LoadInputs.py:1132-1138 | wisdem/glue_code/gc_LoadInputs.py:1257-1262 | wisdem/glue_code/gc_LoadInputs.py:1315-1320 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_LoadInputs.py:1132\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"a242b08604d72dbda4a1934483e04c83453b9b891e5c1b9b25ef3010c9d5eada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): wisdem/drivetrainse/drive_structure.py:367-375 | wisdem/drivetrainse/drive_structure.py:620-628 | wisdem/drivetrainse/drive_structure.py:1013-1021 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15335274b767f5c536eecf946c4f66d08c6c78f26b4db6859f606a1609e204d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): wisdem/fixed_bottomse/monopile.py:454-460 | wisdem/floatingse/floating_frame.py:408-419 | wisdem/towerse/tower.py:281-287 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95516f8c202c09169d75a5a8229d84959e3cbfc81c35a957643d5ea710e7299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): wisdem/rotorse/blade_cost.py:1894-1900 | wisdem/rotorse/blade_cost.py:2105-2111 | wisdem/rotorse/blade_cost.py:2167-2173 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb06c04321062b434dd97eef343d3ed9aa0556895f97fc06be119eb23d46fd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): wisdem/rotorse/blade_cost.py:2559-2564 | wisdem/rotorse/blade_cost.py:2568-2573 | wisdem/rotorse/blade_cost.py:2588-2594 \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 \u0060wisdem/rotorse/blade_cost.py:2559\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/rotorse/blade_cost.py:2565\u0060 calls \u0060sum\u0060 and \u0060wisdem/rotorse/blade_cost.py:2574\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c262ca0c3671460581e580e91abb8fbe5e1188c9114d74030428a5553a155e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): setup.py:56-62 | setup.py:69-75 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060setup.py:55\u0060 calls \u0060makedirs\u0060 and \u0060setup.py:68\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"setup.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"632b038159977c2d245eef1dae9f8a4eda41244a6146e301bc09778b3b07d2b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/ccblade/ccblade_component.py:956-962 | wisdem/ccblade/ccblade_component.py:1108-1114 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa1e49091614c3a50be2633516d69dfc3b3c124e75cbc74178c7e5eaa88e484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/commonse/cross_sections.py:303-309 | wisdem/commonse/cross_sections.py:356-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/commonse/cross_sections.py:303\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/commonse/cross_sections.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b23f92a348aed40959878337c06b4ec4f730e8a64c9b7276b317c683950f079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1689-1695 | wisdem/commonse/cylinder_member.py:1844-1850 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1595dfe97af35a9a0467dfcb39f91c290e1145a3735b972b2a8e23834eeeda28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): wisdem/commonse/cylinder_member.py:2249-2259 | wisdem/commonse/cylinder_member.py:2421-2431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/commonse/cylinder_member.py:2433\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/commonse/cylinder_member.py:2261\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7312db9094c7f3fe62a1fe9ea114ce1590007cc0a3e69aebaa48c3bcd06677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/commonse/wind_wave_drag.py:290-296 | wisdem/commonse/wind_wave_drag.py:440-446 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e1cb54200e42e3337ec9a06dc7918e32b4a37cba7509a15b6e1a798c7cd653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/commonse/wind_wave_drag.py:636-642 | wisdem/commonse/wind_wave_drag.py:853-859 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"b495b12a5f2d9f0c0486b93649b63a786a3180d45d2bcfe50cff2446302e6497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/drivetrainse/drive_components.py:395-401 | wisdem/drivetrainse/drive_components.py:468-474 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b4344ceea7f9986b24bc169cbb53c3a6d3a25a98ab81038263a953a9d5dd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:2038-2044 | wisdem/drivetrainse/generator_models.py:3506-3512 \u2014 both copies are in the same file, so extract the block 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":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d1f42c72848748a2caff82fd8639885bf92d54e43fd3c3201e2912775a6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:3480-3486 | wisdem/drivetrainse/generator_models.py:3531-3537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:3480\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e61602f7e4d78212d0298b2f7455e81a46da5e622fd902d98c8f7beb7e95d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): wisdem/fixed_bottomse/monopile.py:336-342 | wisdem/floatingse/floating_frame.py:382-385 | wisdem/towerse/tower.py:240-246 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/towerse/tower.py:246\u0060 calls \u0060add_output\u0060 and \u0060wisdem/floatingse/floating_frame.py:385\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"899aaf7d0cbd9e7fb13a10160ab12c47e57749372488e8310a4a1dbf97e8abe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): wisdem/fixed_bottomse/jacket.py:258-261 | wisdem/floatingse/floating_frame.py:394-400 | wisdem/towerse/tower.py:267-273 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29b2ac0e3569ffd3824427d307cae8d0a10bf91436548561ed61f49910dbe49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:398-404 | wisdem/glue_code/gc_LoadInputs.py:405-411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b23e279d1adfca7688117715b5223bae0e0e76eeebb3bcb9457682a9a277dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:617-623 | wisdem/glue_code/gc_LoadInputs.py:635-640 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ee0242fabfabf951ff0237475663316281dab3f7ef692e05d51a0d4bf5982b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:971-977 | wisdem/glue_code/gc_LoadInputs.py:1282-1287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea2fba2888c74fee8b3160cd2648d135d460657a2ff3492b342eb5fd3ddba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:1289-1294 | wisdem/glue_code/gc_LoadInputs.py:1345-1351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_LoadInputs.py:1289\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e8a40539af9c861c5e60777c16c027f5e7747b4f326ea1ac211f4c28b8cd2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:1284-1290 | wisdem/glue_code/gc_LoadInputs.py:1296-1302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_LoadInputs.py:1284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"99208e4f950b6bfd3319e4217a73cc24debfe634a8d7b70999f29c62f9d421ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/precomp/properties.py:137-143 | wisdem/precomp/properties.py:145-151 \u2014 both copies are in the same file, so extract the block 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":"wisdem/precomp/properties.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2c4fd55b1dd170918298d438232ef05c3584cf9f60b637f2d2b6187f5e109e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/rotorse/blade_cost.py:2812-2818 | wisdem/rotorse/blade_cost.py:3011-3017 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2653d57517dd596de1aed5fbab66546c06504605e8918b858af0e8ffc56eb705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/rotorse/blade_cost.py:3730-3736 | wisdem/rotorse/blade_cost.py:3738-3744 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"512e11d655f0eb424f1a2cfc2f831870c6085f5f88789bd34668cb48648392fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/rotorse/blade_cost.py:3976-3982 | wisdem/rotorse/rotor.py:188-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/rotorse/blade_cost.py:3976\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":3976}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1161dbcfa747b213e85d3aea53c7a6d5026888e1e8a63f2e41fc0cede079bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): wisdem/ccblade/ccblade_component.py:861-866 | wisdem/ccblade/ccblade_component.py:880-885 | wisdem/ccblade/ccblade_component.py:899-904 | wisdem/ccblade/ccblade_component.py:918-923 | wisdem/ccblade/ccblade_component.py:937-942 | wisdem/ccblade/ccblade_component.py:1013-1018 | wisdem/ccblade/ccblade_component.py:1032-1037 | wisdem/ccblade/ccblade_component.py:1051-1056 | wisdem/ccblade/ccblade_component.py:1070-1075 | wisdem/ccblade/ccblade_component.py:1089-1094 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7fe3e66749d213629ca53216d3636b6b0f836877c8f3c1447050022c68778b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): wisdem/postprocessing/compare_designs.py:89-97 | wisdem/postprocessing/compare_designs.py:138-145 | wisdem/postprocessing/compare_designs.py:167-173 | wisdem/postprocessing/compare_designs.py:201-206 | wisdem/postprocessing/compare_designs.py:234-239 | wisdem/postprocessing/compare_designs.py:291-297 | wisdem/postprocessing/compare_designs.py:316-322 | wisdem/postprocessing/compare_designs.py:337-343 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/postprocessing/compare_designs.py: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":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebd49c62e08c3a4a7ff3c554b27e456da405d433cb5afa17761c707d7ac5e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): wisdem/postprocessing/compare_designs.py:99-104 | wisdem/postprocessing/compare_designs.py:147-152 | wisdem/postprocessing/compare_designs.py:208-213 | wisdem/postprocessing/compare_designs.py:241-246 | wisdem/postprocessing/compare_designs.py:274-279 | wisdem/postprocessing/compare_designs.py:299-304 | wisdem/postprocessing/compare_designs.py:345-350 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"433ec3d6987539abcbb85e5becc08eb6d9d019f382193dd7c0754eb1a0f6cefd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): wisdem/rotorse/blade_cost.py:2541-2546 | wisdem/rotorse/blade_cost.py:2558-2563 | wisdem/rotorse/blade_cost.py:2567-2572 | wisdem/rotorse/blade_cost.py:2587-2592 | wisdem/rotorse/blade_cost.py:2596-2601 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":2541}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c64ecd19834d9ae9d5130115cfa73d965c60db724f11c7148965c7c8e6a134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): wisdem/drivetrainse/drive_components.py:153-158 | wisdem/drivetrainse/drive_components.py:394-399 | wisdem/drivetrainse/drive_components.py:467-472 | wisdem/drivetrainse/drive_components.py:578-583 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/drivetrainse/drive_components.py:400\u0060 calls \u0060add_output\u0060, \u0060zeros\u0060 and \u0060wisdem/drivetrainse/drive_components.py:159\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"67be1ad23807c70b9faf90ba048bae61a8c4cecfc6ba0603f50a98ec9ea08adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/ccblade/ccblade_component.py:840-845 | wisdem/ccblade/ccblade_component.py:973-978 | wisdem/ccblade/ccblade_component.py:992-997 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce18a20ebfe7a8e5f66e566a4dc003aea3dc0218f86ffb47a0353d1b4c53b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 10): wisdem/commonse/cylinder_member.py:1200-1203 | wisdem/commonse/cylinder_member.py:1226-1229 | wisdem/commonse/cylinder_member.py:2265-2270 | wisdem/commonse/cylinder_member.py:2438-2443 | wisdem/drivetrainse/drive_components.py:590-593 | wisdem/drivetrainse/drive_components.py:868-871 | wisdem/floatingse/mooring.py:134-136 | wisdem/glue_code/gc_WT_DataStruc.py:227-230 | wisdem/glue_code/gc_WT_DataStruc.py:1844-1849 | wisdem/glue_code/gc_WT_DataStruc.py:2255-2260 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:1844\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/commonse/cylinder_member.py:1203\u0060 calls \u0060add_output\u0060, \u0060zeros\u0060 and \u0060wisdem/commonse/cylinder_member.py:2270\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"494a29a5e2f0252daafe8f8a358ec49d75d333135df144335dac68b355f99aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/drivetrainse/drive_structure.py:519-524 | wisdem/drivetrainse/drive_structure.py:853-858 | wisdem/drivetrainse/drive_structure.py:1230-1235 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"3348b055d5d977f28cbd5f8e0acf4f1257e341cc378a891fa625b7cf6d4d7bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/drivetrainse/drive_structure.py:838-843 | wisdem/drivetrainse/drive_structure.py:1214-1219 | wisdem/drivetrainse/hub.py:503-508 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaabca9a7e5ffb3e675de704290166ccb2e845ad9e7917a28ff152b19d833b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/glue_code/gc_LoadInputs.py:437-442 | wisdem/glue_code/gc_LoadInputs.py:456-461 | wisdem/glue_code/gc_LoadInputs.py:489-494 \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 \u0060wisdem/glue_code/gc_LoadInputs.py:437\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b79b3111653aff595e95d29b95ea133181271951400ad65f05cd586d024f501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/glue_code/gc_PoseOptimization.py:979-984 | wisdem/glue_code/gc_PoseOptimization.py:994-999 | wisdem/glue_code/gc_PoseOptimization.py:1108-1115 \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 \u0060wisdem/glue_code/gc_PoseOptimization.py:1108\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1ac02e641d3b7fa9c793c1afcb1583c2f1b7b031ba356b6956a72ec781a851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/glue_code/gc_WT_DataStruc.py:41-46 | wisdem/glue_code/gc_WT_DataStruc.py:2067-2072 | wisdem/glue_code/gc_WT_DataStruc.py:2139-2144 \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 \u0060wisdem/glue_code/gc_WT_DataStruc.py: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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/glue_code/gc_WT_DataStruc.py:46\u0060 calls \u0060add_output\u0060 and \u0060wisdem/glue_code/gc_WT_DataStruc.py:2072\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7297ee8f685338d84a4eb7c512f1768a7c4a8075da9b458e462441764d12c8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/ccblade/ccblade_component.py:508-514 | wisdem/ccblade/ccblade_component.py:516-522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/ccblade/ccblade_component.py:508\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18b43b1159a25042c7ce2c03d0dcfe5e12caf81381c2925fc227560e4e5b77d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:2072-2077 | wisdem/drivetrainse/generator_models.py:3536-3541 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:2072\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fb954a6bac637685eb484c5fe03d3b5a7f78be105c7340e3ee78469efea9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/drivetrainse/generator_models.py:2228-2233 | wisdem/drivetrainse/generator_models.py:2643-2648 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/drivetrainse/generator_models.py:2227\u0060 calls \u0060add_input\u0060 and \u0060wisdem/drivetrainse/generator_models.py:2642\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ca234cb05e6e931195940003cb32c1856eaa24f7d75f7d152d5c7e4483c84d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/glue_code/gc_PoseOptimization.py:1006-1011 | wisdem/glue_code/gc_PoseOptimization.py:1023-1028 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_PoseOptimization.py:1006\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf06cd399553154a5c40dda2f987be14c3d768bf6138ee2a13ddb687e4b51ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/precomp/properties.py:167-173 | wisdem/precomp/properties.py:175-181 \u2014 both copies are in the same file, so extract the block 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":"wisdem/precomp/properties.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"026fb623dab0b805108a0cd7afb2ef98f040d55fff405953290e4d708a1d2b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): wisdem/rotorse/geometry_tools/distfunc.py:88-104 | wisdem/rotorse/geometry_tools/distfunc.py:141-157 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/geometry_tools/distfunc.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d090fab24a6aea293e7c62ea64d3626d7d0bdb7e2ba8380dbcee73f3039bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/rotorse/rotor_elasticity.py:1433-1438 | wisdem/rotorse/rotor_elasticity.py:1472-1478 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/rotor_elasticity.py"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"057e5292f598c80790fe5f1deb7a592e5d75bc12a4762d834a068c90a8889105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): wisdem/ccblade/ccblade_component.py:857-864 | wisdem/ccblade/ccblade_component.py:876-883 | wisdem/ccblade/ccblade_component.py:895-902 | wisdem/ccblade/ccblade_component.py:914-921 | wisdem/ccblade/ccblade_component.py:933-940 | wisdem/ccblade/ccblade_component.py:952-959 | wisdem/ccblade/ccblade_component.py:1009-1016 | wisdem/ccblade/ccblade_component.py:1028-1035 | wisdem/ccblade/ccblade_component.py:1047-1054 | wisdem/ccblade/ccblade_component.py:1066-1073 | wisdem/ccblade/ccblade_component.py:1085-1092 | wisdem/ccblade/ccblade_component.py:1104-1111 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f57ba92c0b7aecaabb3f59dcccc79f8c502b3d51a6a0d91256e87b6197b908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): wisdem/postprocessing/compare_designs.py:96-102 | wisdem/postprocessing/compare_designs.py:144-150 | wisdem/postprocessing/compare_designs.py:205-211 | wisdem/postprocessing/compare_designs.py:238-244 | wisdem/postprocessing/compare_designs.py:271-277 | wisdem/postprocessing/compare_designs.py:296-302 | wisdem/postprocessing/compare_designs.py:321-327 | wisdem/postprocessing/compare_designs.py:342-348 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/postprocessing/compare_designs.py:268\u0060 calls \u0060set_ylim\u0060 and \u0060wisdem/postprocessing/compare_designs.py:92\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4776bd4f9249a6810fbd655a9c5c7309d25fa60a3a4710f3a77ed1939cfe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 11): wisdem/commonse/cylinder_member.py:791-795 | wisdem/commonse/cylinder_member.py:1192-1197 | wisdem/drivetrainse/drive_components.py:291-293 | wisdem/drivetrainse/generator_models.py:1256-1260 | wisdem/drivetrainse/generator_models.py:1770-1774 | wisdem/drivetrainse/hub.py:104-109 | wisdem/drivetrainse/hub.py:247-252 | wisdem/drivetrainse/hub.py:495-497 | wisdem/drivetrainse/layout.py:160-162 | wisdem/fixed_bottomse/monopile.py:139-143 | wisdem/glue_code/gc_WT_DataStruc.py:1689-1691 \u2014 there are 11 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/fixed_bottomse/monopile.py:136\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/commonse/cylinder_member.py:790\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ab568f8b08251e36392ce42a5234587b329ed8d9b9325b91268fbcae837948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): wisdem/glue_code/gc_WT_DataStruc.py:44-48 | wisdem/glue_code/gc_WT_DataStruc.py:146-152 | wisdem/glue_code/gc_WT_DataStruc.py:425-429 | wisdem/glue_code/gc_WT_DataStruc.py:1705-1711 | wisdem/glue_code/gc_WT_DataStruc.py:2071-2075 | wisdem/glue_code/gc_WT_DataStruc.py:2143-2147 | wisdem/rotorse/rotor_elasticity.py:839-843 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_WT_DataStruc.py:2071\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/glue_code/gc_WT_DataStruc.py:49\u0060 calls \u0060add_output\u0060 and \u0060wisdem/glue_code/gc_WT_DataStruc.py:1711\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1435463795136ef5fb6e021f9a61f475ce014ed6db89c8231b639d57af45eb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 15): wisdem/commonse/cylinder_member.py:2431-2432 | wisdem/commonse/cylinder_member.py:2619-2620 | wisdem/commonse/wind_wave_drag.py:181-185 | wisdem/commonse/wind_wave_drag.py:186-188 | wisdem/commonse/wind_wave_drag.py:190-191 | wisdem/commonse/wind_wave_drag.py:192-193 | wisdem/commonse/wind_wave_drag.py:275-280 | wisdem/commonse/wind_wave_drag.py:424-429 | wisdem/commonse/wind_wave_drag.py:618-623 | wisdem/commonse/wind_wave_drag.py:624-627 | wisdem/commonse/wind_wave_drag.py:832-837 | wisdem/commonse/wind_wave_drag.py:839-842 | wisdem/fixed_bottomse/jacket.py:563-564 | wisdem/fixed_bottomse/jacket.py:674-676 | wisdem/fixed_bottomse/monopile.py:296-297 \u2014 there are 15 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 15 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/commonse/wind_wave_drag.py:188\u0060 calls \u0060add_input\u0060 and \u0060wisdem/commonse/cylinder_member.py:2432\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b7fcb7defc383d613a42c4afeba040c5ae3ee0e96e01c9155ec5e78466c3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): wisdem/drivetrainse/generator_models.py:1255-1259 | wisdem/drivetrainse/generator_models.py:1769-1773 | wisdem/drivetrainse/hub.py:246-251 | wisdem/drivetrainse/hub.py:401-406 | wisdem/fixed_bottomse/monopile.py:138-142 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"281c1815056c9ec1814f2e659fe860348eb8919fc2b6d7f471bb6fb0411cf92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): wisdem/drivetrainse/generator_models.py:1254-1258 | wisdem/drivetrainse/generator_models.py:1768-1772 | wisdem/drivetrainse/hub.py:245-250 | wisdem/drivetrainse/hub.py:400-405 | wisdem/towerse/tower.py:40-44 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f03c0c08f382bce6dc7d68c793634d345fb7c1513cc211ec149ad516237f1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): wisdem/drivetrainse/generator_models.py:1629-1633 | wisdem/drivetrainse/generator_models.py:2031-2035 | wisdem/drivetrainse/generator_models.py:2102-2106 | wisdem/drivetrainse/generator_models.py:3499-3503 | wisdem/drivetrainse/generator_models.py:3554-3558 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"55465b7be40eecb710c3a97625c2318222d41994645663879f61e9f255b81508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): wisdem/glue_code/gc_LoadInputs.py:872-877 | wisdem/glue_code/gc_LoadInputs.py:891-896 | wisdem/glue_code/gc_LoadInputs.py:916-921 | wisdem/glue_code/gc_LoadInputs.py:1270-1275 | wisdem/glue_code/gc_LoadInputs.py:1328-1333 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0be02380949e3fb209ffd0ab559268dc5c5a9af43d001f7071ffbd8b4ef1c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): wisdem/ccblade/ccblade_component.py:826-830 | wisdem/ccblade/ccblade_component.py:959-963 | wisdem/ccblade/ccblade_component.py:978-982 | wisdem/ccblade/ccblade_component.py:1111-1115 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f9eee9a281ae99e726fcd2500233d4011a5b1ff8b56007bb25bdf876db35c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): wisdem/ccblade/ccblade_component.py:838-843 | wisdem/ccblade/ccblade_component.py:971-976 | wisdem/ccblade/ccblade_component.py:990-995 | wisdem/ccblade/ccblade_component.py:1123-1128 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade_component.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cf72237a3abd90bdf99fbc312a04bad08516ab844f03a0bc0b296291636b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): wisdem/drivetrainse/generator.py:282-287 | wisdem/drivetrainse/generator_models.py:1254-1258 | wisdem/drivetrainse/generator_models.py:1768-1772 | wisdem/drivetrainse/hub.py:245-250 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc77e217e7b1c65a9c11fc22b5082937b925d1190da548ddb67aef38c4dd5d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): wisdem/drivetrainse/generator_models.py:1613-1617 | wisdem/drivetrainse/generator_models.py:2010-2014 | wisdem/drivetrainse/generator_models.py:3482-3486 | wisdem/drivetrainse/generator_models.py:3533-3537 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:1613\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22c0fa0b908b084f21f6c39b19072a76b1fdfb21855ca5a62bf3acb40bd4d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): wisdem/drivetrainse/drive_structure.py:153-157 | wisdem/drivetrainse/drive_structure.py:792-796 | wisdem/drivetrainse/drive_structure.py:1179-1183 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc127e089f2ab4bfbed1c292217c4ce04c6747aebb27af6724f424ff2c7bb358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): wisdem/drivetrainse/drive_structure.py:269-273 | wisdem/drivetrainse/drive_structure.py:544-548 | wisdem/drivetrainse/drive_structure.py:891-895 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7a102f1bb3b4764d2274d330fd0f9f98f159c4873d5dfb57886a59aeffb18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): wisdem/drivetrainse/generator_models.py:1616-1620 | wisdem/drivetrainse/generator_models.py:2072-2076 | wisdem/drivetrainse/generator_models.py:3536-3540 \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 \u0060wisdem/drivetrainse/generator_models.py:1616\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/drivetrainse/generator_models.py:2069\u0060 calls \u0060sqrt\u0060 and \u0060wisdem/drivetrainse/generator_models.py:1613\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38d32a9da7d5f0b9aa6a27f259a4561cd606ed3139fd69f1befbc400f0c8cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20135 lines \u00D7 7): wisdem/drivetrainse/generator_models.py:1635-1639 | wisdem/drivetrainse/generator_models.py:2036-2036 | wisdem/drivetrainse/generator_models.py:2037-2037 | wisdem/drivetrainse/generator_models.py:2108-2112 | wisdem/drivetrainse/generator_models.py:3504-3504 | wisdem/drivetrainse/generator_models.py:3505-3505 | wisdem/drivetrainse/generator_models.py:3560-3564 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:1635\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/drivetrainse/generator_models.py:2036\u0060 calls \u0060sin\u0060, \u0060tan\u0060 and \u0060wisdem/drivetrainse/generator_models.py:1639\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"28716baec3ad9aafe029651a8399a8d8b85ecdbcb91c8e2c97a1bea57653cde6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): wisdem/drivetrainse/generator_models.py:2515-2518 | wisdem/drivetrainse/generator_models.py:2520-2524 | wisdem/drivetrainse/generator_models.py:2968-2972 | wisdem/drivetrainse/generator_models.py:2974-2978 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/generator_models.py:2515\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"52de55f7ac483c6bfe46d7e30864178a1d8171b0928b8a9e51dfee450408b57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): wisdem/fixed_bottomse/jacket.py:144-148 | wisdem/fixed_bottomse/jacket.py:222-226 | wisdem/fixed_bottomse/jacket.py:594-598 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"221559db3ee8c7465fc80b3fc2e1654a862346716a4ddf93034f54b6985c6383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/glue_code/gc_LoadInputs.py:569-574 | wisdem/glue_code/gc_LoadInputs.py:621-626 | wisdem/glue_code/gc_LoadInputs.py:638-643 \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. 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2710e68ff2e0e1052291568574991a487c3cb0fa23971f0cee22a13edf180ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): wisdem/landbosse/model/CollectionCost.py:1283-1287 | wisdem/landbosse/model/FoundationCost.py:1033-1039 | wisdem/landbosse/model/SitePreparationCost.py:963-968 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/landbosse/model/CollectionCost.py:1288\u0060 calls \u0060create_layout_for_opex\u0060 and \u0060wisdem/landbosse/model/FoundationCost.py:1040\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f4b4f19779895ce4f1285335b1c646e9609000c6c8a33247fb54ce695cda3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/precomp/properties.py:417-422 | wisdem/precomp/properties.py:424-429 | wisdem/precomp/properties.py:430-435 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/properties.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c735c382439b6153bc56b16873fb1a94cad102346eae4829123017d5fa8fa846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/commonse/cross_sections.py:318-326 | wisdem/commonse/cross_sections.py:369-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/commonse/cross_sections.py:318\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cross_sections.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"716d182700880dd24789e011eabc1b09fa491fc68f51d15cc9289ba5713332d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/commonse/cross_sections.py:328-333 | wisdem/commonse/cross_sections.py:379-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/commonse/cross_sections.py:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cross_sections.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"45662f2afd831334a72b56e671bc91b254a3bad1c0b8702651f99ad58772574e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/commonse/cylinder_member.py:1597-1601 | wisdem/commonse/cylinder_member.py:1775-1779 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09cce12c04642b7e27f28a549af444cfc7d23b07ec3acc362160bb74b9d15e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/commonse/cylinder_member.py:2338-2342 | wisdem/commonse/cylinder_member.py:2515-2519 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1132c6cb7e2a13dceba4eabd0102836523905f7bab003b4c5d20131653a8ed1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/commonse/environment.py:264-269 | wisdem/commonse/environment.py:278-283 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/environment.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d97776907f5b277182b9939fe504ceb95f730363703c7d96bf406899c62cef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): wisdem/commonse/fileIO.py:12-16 | wisdem/commonse/fileIO.py:19-23 | wisdem/commonse/fileIO.py:30-37 \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. 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":"wisdem/commonse/fileIO.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b639b58eb5b91511196bd4ae131e3dca5486f9bca519b9f8483aef9e94078f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): wisdem/commonse/wind_wave_drag.py:644-652 | wisdem/commonse/wind_wave_drag.py:861-869 \u2014 both copies are in the same file, so extract the block 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":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"962831655b8cc60624cd7a561fc6907d2ec7b93a4225eaace0c213d647628090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:987-994 | wisdem/drivetrainse/drive_structure.py:1378-1385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"005f3d91a43aecb1101be1f4325f78387bf8882f12e17a03ae968bf172f35a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:999-1005 | wisdem/drivetrainse/drive_structure.py:1389-1395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/drivetrainse/drive_structure.py:999\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9732d3a5d8f1d247ab54a7fbaff40a9981291f0d20422ead3f87e90e4b2300c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/fixed_bottomse/jacket.py:171-175 | wisdem/fixed_bottomse/monopile.py:321-325 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c42f1f8d2b36dd15e90b47f4db5c1f6418c8775c4a3266831f8764333c1b4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/fixed_bottomse/monopile.py:539-544 | wisdem/fixed_bottomse/monopile.py:557-562 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/fixed_bottomse/monopile.py:539\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/monopile.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbd2ca648e6fffc20864d4bb88cf0f4263d5f134ecb0b94a7e60de98b19c250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/floatingse/mooring.py:174-178 | wisdem/floatingse/mooring.py:343-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/mooring.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6f3c568374e818857997328aa39a483da5e3f15c53f48ffbb88f5bf3c5755c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:213-219 | wisdem/glue_code/gc_LoadInputs.py:223-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b85f7122cf74a555dfc295a34d2972eede48f8cc80d60c3d9f271ea88ca491c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 6): wisdem/glue_code/gc_LoadInputs.py:879-880 | wisdem/glue_code/gc_LoadInputs.py:900-904 | wisdem/glue_code/gc_LoadInputs.py:924-927 | wisdem/glue_code/gc_LoadInputs.py:930-931 | wisdem/glue_code/gc_LoadInputs.py:944-948 | wisdem/glue_code/gc_LoadInputs.py:961-964 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060wisdem/glue_code/gc_LoadInputs.py:900\u0060 it begins part-way through the construct above it, so those exact 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd629157eb3c1a5d5d0a7089eaf6f4e7f18f052fc5adeda48af24d8291985de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/glue_code/gc_LoadInputs.py:1343-1348 | wisdem/glue_code/gc_LoadInputs.py:1355-1360 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f18fb84f090d8efeb9333f883fb718c9dd58b52247e155cd2d78ccc5c874475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/glue_code/gc_PoseOptimization.py:1337-1342 | wisdem/glue_code/gc_PoseOptimization.py:1344-1349 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14fdcbd5eb4cdf041193d56e26ef494ec7c3d81f5a058a227fc437fa1c85277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wisdem/glue_code/gc_WT_DataStruc.py:1538-1545 | wisdem/glue_code/gc_WT_DataStruc.py:1575-1582 \u2014 both copies are in the same file, so extract the block 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":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30f7a6e94632c58388ba62ba58bf66cd366d4cb2d995e31ffb57e87fb604ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/precomp/precomp.py:291-295 | wisdem/precomp/precomp.py:298-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/precomp.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c914ae4d4c166afb77f6baf692bb6b33b9687ae24f8241809d1a3d7bf9c060ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): wisdem/landbosse/model/CollectionCost.py:701-712 | wisdem/landbosse/model/FoundationCost.py:608-638 | wisdem/landbosse/model/SitePreparationCost.py:437-452 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"117f2f1f93b3897157c49a50a660e2e766c6cdaa814a3de6c382d64a65359022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): wisdem/commonse/cylinder_member.py:53-72 | wisdem/commonse/wind_wave_drag.py:102-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0113fc4b0f5855038e0eb639ef1e96ae21562e47a753ea3f807a652dade14e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/ccblade/Polar.py:1497-1501 | wisdem/ccblade/Polar.py:1510-1514 \u2014 both copies are in the same file, so extract the block 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":"wisdem/ccblade/Polar.py"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c8e09e12bd54c1811d48be6b92b1cc779981f105bb8136c00d3508d35250bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/commonse/turbine_constraints.py:61-66 | wisdem/rotorse/rotor_structure.py:972-977 \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":"wisdem/commonse/turbine_constraints.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfb59c9bed60be6732b1b61fd1a2213c6f486d67c131316cb0be8059f50115f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): wisdem/commonse/wind_wave_drag.py:434-438 | wisdem/commonse/wind_wave_drag.py:629-633 | wisdem/commonse/wind_wave_drag.py:846-850 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/commonse/wind_wave_drag.py:844\u0060 calls \u0060add_input\u0060, \u0060ones\u0060 and \u0060wisdem/commonse/wind_wave_drag.py:433\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a115bfa1483da3fa999290ba3e10b6681af630423f339bd9e0bf37a422eca877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): wisdem/drivetrainse/drive_components.py:811-815 | wisdem/drivetrainse/drive_components.py:848-852 | wisdem/drivetrainse/drive_structure.py:777-781 | wisdem/drivetrainse/drive_structure.py:1161-1165 | wisdem/floatingse/floating_system.py:411-415 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/drivetrainse/drive_components.py:853\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/drivetrainse/drive_components.py:816\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe3bcf58f769e234a83e40a80ce2c2b1097b4196ceda164ccd16f3b050f3840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/drivetrainse/drive_structure.py:143-147 | wisdem/drivetrainse/drive_structure.py:483-487 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wisdem/drivetrainse/drive_structure.py:148\u0060 calls \u0060add_input\u0060, \u0060zeros\u0060 and \u0060wisdem/drivetrainse/drive_structure.py:488\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b7ecd913d793907784e4196f1a641efa16732d608df6626d7d8472d24ef501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/fixed_bottomse/jacket.py:527-532 | wisdem/floatingse/floating_frame.py:284-289 \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":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e69c5f33b691c0a50ebfea1583daeec46050a6677358861f48270a696eb0902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/floatingse/floating_system.py:132-136 | wisdem/floatingse/floating_system.py:316-320 \u2014 both copies are in the same file, so extract the block 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":"wisdem/floatingse/floating_system.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bdff473c842c7b0021d14e26dac3bf519c5aaa44938cf4791095275bf6ee27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/floatingse/visualize.py:318-322 | wisdem/floatingse/visualize.py:329-333 \u2014 both copies are in the same file, so extract the block 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":"wisdem/floatingse/visualize.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6929d726118c51b7e0d0b6c33d61ef072a4bd0082ff0c50d97952ccc7ed5f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wisdem/nrelcsm/nrel_csm_orig.py:1739-1744 | wisdem/nrelcsm/nrel_csm_orig.py:1765-1770 \u2014 both copies are in the same file, so extract the block 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":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddf04d88f2cfb04cb51269934fea29b00109b2ce9dedbbb3fd8fc1175ccfa1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/rotorse/blade_cost.py:1841-1845 | wisdem/rotorse/blade_cost.py:1958-1962 \u2014 both copies are in the same file, so extract the block 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":"wisdem/rotorse/blade_cost.py"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8f98d786ac62c3db05c5cd5781b17eaebb8275ee9a3c21e0324e6efd1524c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): wisdem/rotorse/rotor_structure.py:739-744 | wisdem/rotorse/rotor_structure.py:750-755 | wisdem/rotorse/rotor_structure.py:762-767 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wisdem/rotorse/rotor_structure.py:738\u0060 calls \u0060zeros\u0060 and \u0060wisdem/rotorse/rotor_structure.py:749\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_structure.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fa6c2cbf11db312dfd40205991d94b04a93c8a3b09bc43747a34adae128409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wisdem/wombat/wombat_api.py:762-766 | wisdem/wombat/wombat_api.py:896-900 \u2014 both copies are in the same file, so extract the block 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":"wisdem/wombat/wombat_api.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f1f640ac87f61915cc84b40cc0d650b97104b2b2bcd01dfa505cf40a69b80b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NSGA2Driver (LCOM4 4): NSGA2Driver\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2_driver.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1b7804eaebf3901d7bc666d78659b7b4933867093c2278aa797ef1fbac11f6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: text-unidecode: \u0060text-unidecode\u0060 1.3 is published on PyPI under \u0060GPL-2.0-or-later\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85b792ddfe32801c013ee8ebcbb674d3f6d61cfd12a7d8f517aaeecfab7ee72e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: wisdem/drivetrainse/drive_structure.py, wisdem/fixed_bottomse/monopile.py, wisdem/postprocessing/wisdem_get.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0f1c711ff4c39fc94506c967f946861e97d7596ac5e65a0826b2280af7dbc5ca"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: wisdem/ccblade/ccblade_component.py, wisdem/drivetrainse/converter.py, wisdem/rotorse/parametrize_rotor.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bed4904a2f1e984391ad1753e4b46b8b8aed8211a0f00c0f2098f67557fdcfd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should the random seed or generator be provided to the interface? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/wombat/wombat_api.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c084f6bed13280ff57c942f407e5681d67aefbebcf3007cb930a090251ff68c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: determine if additional  turbines should be allowed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/wombat/wombat_api.py"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"486aab22ca4df6e788edf0a7bef065924430ec6fa33502a5bbe12438a2f65a8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # two load cases.  TODO: use a case iterator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/test/test_towerse/test_tower.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f72296144686539b71f1480cbd834af437c35e2ca04009eea0d9e449e6d75f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # two load cases.  TODO: use a case iterator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/test/test_fixed_bottomse/test_monopile.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb130152e3caa80ecc1d0e8e6e29008da5254dcc7897bbc73a95702a05ff248e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # two load cases.  TODO: use a case iterator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/05_tower_monopile/monopile_direct.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d1587fe41b36b6136f64f18dbc7858eb099d8372eda519485f8e66a2a785b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # two load cases.  TODO: use a case iterator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/05_tower_monopile/tower_direct.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd439b26a716aa8a24d3b1dd01368148df1d6b34b222dd38714cd6957e45997"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Refactor the parts of the filenames to the top of the file. Do not hardcode. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/test/test_landbosse/test_ManagementCost.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"149705b7953094042ffb974b1e74423bd279d0f9c45bbafaedbd4f295c7abbbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO YL: move it back when constr is available for user defined blade elastic properties \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e162d913a62770fbe85318071119a6a9d92841571c3ba1bababb2102098530a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO verify if this is correct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_structure.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffb68ec506b592018f49afb3bde588e2a68eca999dc90d3e4f795af7ec41c73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Can update with rotor_elasticity later TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_structure.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6400895850f0f406f296f3c5eabd525254ab8b89f028db24b24841af771227"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Can update with rotor_elasticity later TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_structure.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e6e3649efdc320b8355e0e167a71116604a9502f35ed8b5e74131a253f7676"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO YL: no constr component, remove the above conditional when the constr component is enabled for user defined blade \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/rotor_structure.py"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd12c1d5ff0a938be4709b05c6e517c90014d53eb6eaa22836964270ae2481f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: copy materials (for now it never changes so I\u0027m not looking at it) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/composite_section.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f269152ac0a29bca92fd6f44ceb52f3ec051884b6cab1ac36dc2699b3c25a197"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: lower surface may be the compression one \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/precomp/precomp.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2911adb39262526559125b032cc60bb5308514467f1311bb0f19b41d1f91020"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: is this necessary??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2_driver.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"af50986efc1e7ee50d669f40f7ee7e3b7b989ad565fd5392688930c7b2496d7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2_driver.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aaa8a00f929bbbb97a04b46008d0e637f2ff6194cc2c45bb5b120e9d6aec4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: delete? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2_driver.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edfd3a4811e3e0fe383a047918ed252c2c5b0586268fba95e69df793e9a48bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: figure out how to pass the map object and still have it work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/algo_nsga2.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fb24edec9f8ca48959313b7e7370f4e872011b8fd5989a1dfd8b21e72fb871"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: no variable speed mass; ignore for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_mass_2015.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"199cc31f9caaab70e133aa906e562737c5b6597de5d4c6d4bca01c9fa264ffd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: ignoring controls and electronics mass for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_mass_2015.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4720ec5d4eed96f599f98fc3d2d6b89d7c2c8a72ee1be4943246de2e9026f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: there is no base hardware mass model in the old model. Cost is not dependent on mass. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_mass_2015.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"3973723c7c1b6a4b9b61406783c806dbc37345f5e2952c0a942aab62ccae416b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # *= self.multiplier  # TODO: add to gradients \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b6b764cd4b604f04b095fb630ee31132b89ac4eed2e9a7fb17e94e9fd5a436"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add to gradients \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf54cbc41c42c84e4bada9d92db3aa8c654c033a5c3482486a5a23c1890c95a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: transition and deep water options if applicable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1583ad35462789218d4602e56ecd56fc5e7f903fac0f6c382d412f8e1c5606"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: transition and deep water options if applicable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e28dcab23e91681e1d23028ae512c1971ac5afc83280d45cbdc2d76d1bfe21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ### TODO: Examples \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/nrelcsm/nrel_csm_orig.py"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f8aac45b2abda40bdbabe0dd5c2c6b4b4de1fdcd4bd182b11a1ded751bd1f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Verify eqn is correct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a99f169d05585ee993f0bc6246fdefe28a10bf0402b3f69ad657693692958e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: change length_to_substation calculation as a user defined input? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8fe9e33fecee301434739fa32dae59b9053499d30152d6b22374fa2613c776"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add parameter info in docstrings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/CollectionCost.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4632319f2f6f3e55f458c29026a9bcab12318cec11b450f3881bcb9dd0c1af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: consider removing equipment name and crane capacity from crane_specs tab (I believe these data are unused here and they get overwritten later with equip information from equip tab) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/ErectionCost.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"065c43c006f69c245932c9d0f058ba324f398ea1d97bc09c555b29988df336f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: add to process diagram \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4dce1ce37bc96e0637a9070025fda5c97ea3c0ec95f08a1304b5c4df213fcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: add to process diagram \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02b4ad59cc71c09965d3bcdf7840e09f3bbd4db8f52f4a4f4bf9e447180451e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: add f_lat (drag force) to output csv \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d7903b52297c21dd8be977411c8368c17fd862a0cf5b5aadbd2ec7257f4ddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: still updating/fine-tuning foundation size equations for small DW (Parangat - Feb 27, 2020) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f01db5e54befe44f22ef676b338d55c51a9a23e003e38e13c296560828c8bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # backfill); TODO: Add to sphinx -\u003E (volume excavated = pi*(r_pick \u002B .5m)^2 this assumes vertical sides which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc11fade98c166ad1e6f74a44f949b0356bb3161dffcb0597649cd9e9e5e155"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: we add a separate tab in the output file for costs (all costs will be the same format but it\u0027s a different format than other data) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/FoundationCost.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1581a9922e42c1beefc6ce3c643e9238a0adf5c0a474ee805b6239d847f605"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: add relationship to site-specific interface with public infrastructure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/ManagementCost.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a13f00e2442c7ead7c8cb424fcd8d42063160463006c9e166cfaf51a7867c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Projects less than 30 MW for met masts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/ManagementCost.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"143d0df68c86e267f00ca0e7e91f29793ed279e78076a0456f8b475130a96d33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: replace with actual crane path width from erection module \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e140aaf79db6d631a6ef7fe2ebeedf153e94628ad8bfb32c772f427f1daf5d9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: output_dict material volume \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0217e38c92be3823c3e1670aa21c320e4e437e1e7fb9642cfc29fcfbb7c78f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Figure out where \u0027construct_duration\u0027 gets read in. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bcc089c11a3646563c70e78d87ea43539f097b5fbf6777ce5ba6bfb71ce8f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # fraction of new roads that will be built (default assumes 33% new). TODO: Change to user input. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"009fb1260d183092faf23e6e85d4ded5b03768151e4ff42285d11650627e8ad1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # is a non-dimensional representation of road quality. Default assumes 0.6, which is representative of average road conditions. TODO: Change to user input. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd24ef656048ac5be02d603bb926373e8afceea4a2c600427dfa69f54a80b17e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Annika can you confirm if this is correct. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a82c9a301b207be83d6a442518e7aef3c31e35b4f81a1074d748a35ad26952"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Rename variable to: crane_path_width_ft \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/SitePreparationCost.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f200812d50ca3672cafb251b1c0f949b3ab1ae43a805ff85d7b33e60759879f"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # XXX assume int() truncates! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/gui.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9217d23c7b5ff76c9933e6349fb2080b38fac487f05d167a5dd6f26f5607993"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO : Compute Reynolds here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb871d91856672d68ed1d00ce2bfec65078bbfee260d3f5d18b1b2b8dc6b1c5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: AggregatedJoints hasn\u0027t included rectangular yet, so no connection now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2306}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad4bf661520941a3e74e2efeaf715436fee1d087a7a595b5d7e14a43a519223"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This can be cleaned by generalizing the variables, set variables as options and loop all required variables to interpolate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92f525f7b6c3c299c0f43886def449836094cf904776db080bbcab082edc195"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This cm isn\u0022t right.  OpenFAST CM is measured from rotor apex.  WISDEM CM is measured from hub flange. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0350a5e8160f47b9a10268e58aefaa508317977e026b1ba1900516402280e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Need better ways to condition \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e712dfe33c2c1973eb4c3eed9b6eae0dee5fa947fb2413913af79bfe5bd2af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Use Mooring stiffness (TODO Hydro_K too) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/floating_frame.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de90e7622562c155421de39683be44babc5289c6493bf5d31b17bf651a02f5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/mooring.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f31d17c10332bba325659fb49f04430691fd81926a0b177629dfd50fc6eee2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/polar_file.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"109b328c7d19d6a146d27ef18ff41f4cdce7410461cd07c31226936a5c335b0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Is there an \u0022outfitting\u0022 factor for jackets.  Seems like it would be much smaller than monopiles \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/fixed_bottomse/jacket.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"012285ba777f3a79fc9925c9166e39c463bbd0add5983ba0591cbbbc7de33f12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # elif btype == \u0027RB\u0027:  # factors depend on ratio Fa/C0, C0 depends on bearing... TODO: add this functionality \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_components.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bdd95bf129cb23a311518e4ac8a7d392ceccfacf485377ede794c3c8122ff6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Adds y_bd twice? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/generator_models.py"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c86aba24415af42d899253aaebf19c4ac9cc7226e5106f68d647a710759c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # we simplify by assuming lumped point mass.  TODO: Find a good way to check this?  Torus shell? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/layout.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3287d8fcfc1d1862fee81e93cf297f0232d67cf89be3fb48bb6d4f79a57cdf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Needed for OpenFAST , TODO: what does openfast need from rectangular member? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d8770f385b1929732e2fe43b70396de327dee61c3c714f77beb9b9ac4598a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use reference axis and curvature, s, instead of assuming everything is vertical on z \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d921c4a97614e553a3c2852d4d27a1d701b2bedb612a25467685815f18502330"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use reference axis and curvature, s, instead of assuming everything is vertical on z \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc811f29d44c3170c9738626867fee1b2d2c3cf1aaf77b10f85cd870266cb81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Put these somewhere \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"1353af6637f120869410709b3a62d53cbbcbe672b633968d7f9fe48aa857087f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this nodes_r really should belong somewhere else, it does not fit into discretization purpose. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf54ff68be01370d080085609e3ff2322f007ac43dc71f4f12f786a680e698da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: double check if using the longer side for rectangular is reasonble, although this likely is only used by tower and monopile so unlikely to be called \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"864b613cb649c915829afb4492cc2c9a64c873d3c8fc2b649577ede14ca734f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: what if s_ghost2 is smaller than s_ballat? Does it mean that we fill the whole member? Should raise warning or error? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bea937c5c200527ecd728e782fe7b89f5032d9080ada3b36a4c086f502be886"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: what if s_ghost2 is smaller than s_ballat? Does it mean that we fill the whole member? Should raise warning or error? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6293c367bf06b6ff57386bfe517e4baecbeac57447e40d047429d5efefa6c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: does it assemble to a matrix for py3Dframe? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ebfa372d580b417124cc26a5716e44974288aa5b608f1e984c7a1402a8fa37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: does it assemble to a matrix for py3Dframe? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b48ccef2c4bb310968c3083bb605fd7c848315c8a3642ca551ccc2123d9a6a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: we might need to consider ballast along the member in the future when the rectangular member is placed horizontally, which is most common case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"2325ce6579dbd6cd6f7733dd5d55201543513d48de1107400df065c5c92faf71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Axial added mass needs better calculation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bbfca50198e35e447379ef2aa5b26dbfe8710def33cdb4a720920ce200aeca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: geometricconstraint hasn\u0027t considered rectangular member yet, so no connection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/cylinder_member.py"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac40e995089ce20cb666272ed23036f0426d488faac5548273e8985185d6baf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO CHECK \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/environment.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3240dff728a74b7e66ac4402c5220e159b978162d5a6df8d767e897455aace00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO still missing several partials? This is what was in the original code though... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/environment.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba71d35c33a1f3489b4813638da4c9c57f2a813857050906635269685c2bc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: put in Fortran to speed up \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa2f925a262631aca91f65b4b2ccf7708924c933d182b35b7f318fdf7aa8737"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: What should be the geometric contraint for rectangular members? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilization_constraints.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca0983347e3faa14d2360b88e3917fe1085cb3b513569cbe5e508ac68869011"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: where does this come from? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilization_constraints.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9696f58d6864634ee68a1adabc49b15e71c349e7ef17a178492a5afacd2e57e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: the following is non-smooth, although in general its probably OK \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilization_eurocode.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ffffc038a43c855f87d45027dba022981a01ca7d881d4c8e4fcb9ac894066a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This is wrong for now. The force can be simply decomposed to two direction. The cd depends on beta \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a552a0e0f0d2d2153d164e43449d1d066df9cfb2d79139f4b31ed827a43abbc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add the correct internal calculation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"171947da8e92df8700f014bfa7cc8db8e3cb14a09bc95b61dbdde2645bf8898f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add the correct internal calculation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caf73a632300e3f858724deb266a027390cbe0231fc8c9971ef5be99de1a9ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add the correct internal calculation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb92eafde81d05832232dc8f3d7df15f8114bc5177bf04a354b80c71af1bb8ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add the correct internal calculation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/wind_wave_drag.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"52913f8cec0fee22ff44ed5452b213fbb207711a8ff6045d6417007628228f4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO lock _alpha0 and cl_alpha \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"250e7471aea37e4a8ff2f2b797d411b5ebe27dfd7204f4a81b86a4c30ba5fd22"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO we need a trigger if cl_inv provided, we should get alpha0 and slope from it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"456cce12efe07f9c7aff1df1d639d52267f84b7ad46c3d37ecce672d6df2a429"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO consider removing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e62c51f643fff72cd3da0726a960417a3632594804dfc231135ee02ae8446a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #     ADpol[\u0027Re\u0027] = Re # TODO UNKNOWN \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc5d59e7e38c1ba32ca98e415a983b4d108c4ca1166bef9a1f8dcc40c6ad7da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #         ADpol[\u0027alpha1\u0027]    = np.around(alpha1, 4) # TODO approximate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e3d72131aa3de248913f086a57750f171a17db926b26f842331dab466847f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #         ADpol[\u0027alpha2\u0027]    = np.around(alpha2, 4) # TODO approximate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"678cdac6a0255c33b2df30a5079b0b40e272fbc6caba71420d2ad72bca231c78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #         ADpol[\u0027Cn1\u0027]       = np.around(cn1, 4)    # TODO verify \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa6a996bbb29fc263295b552dd36163e43aacfd73e84f2998904634a708a538"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO harmonize with cl_fully_separated maybe? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"859062764b16e1e51ed718e5d50b43888490a962990f451feba7b26807849a3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # wrapper function to return degrees or radians # TODO this should be a function of self._radians \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fad55b4888bd581da074e87ccef8a93eea2f3c5dffc39a24e3cc50cf4a912de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # finding alpha0 # TODO TODO TODO THIS IS NOT NECESSARY \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d306d559d3a2855ce287dd4545d6693a500c414e72a42aa53d13acf33de9d23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO tan approx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf466bb0e9ba62b20b87822d5263c133b712ac4b714ed14b90fb42c4c604c0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Code commenting and RST parallel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/09_floating/tlp_example.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be8e804f808dad60aeaa497680174d9bd0472dcda5af6a0b1c94661821d96f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO : need to set these options correctly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/conf.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4797d30b1964ac7a5858649e00d2d05ccc0c67f60617da0c6c7e3129797cb06"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # hack to fix citations that use the name right before \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/latex-fix.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a60d424a9b4181b5d245caee2df9e249487a6d65ebd0d48677e5b26b4692be"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060pyproject.toml\u0060 makes this repository a deployable product (line 107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f93f7a2c78f190233679ac8202a9f8e691d2305d697b777ee579589e9c4bff1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15fcd511b1529b8d28dc52ac491a7bb476628030beb88789d0b78f0a473cd67f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e15e4b3f18f5cc4e244c3300fbab4f8f56f93a1dc923e9661832b69816d1583c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"381e51a61b42e3e3bf2e9e080f169a05a918135432ed67b5b51309da555a83e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d20f23e40454a4e4f4d562bac010d959efcb382d38542d110eef152b08f8d3b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b433bc9dd52fb04956ea4a83d8bd749235c230e919ef562aa0581ee9dcbe0b53"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a846ad196c53e97ead3b0d9f816a7e0fcdab365e47dcb2db81497f4e910357e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3949e30b6004d36a192cf07878875f0f133d9ac9ca7de557efc0ab6ed39cc585"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be528b5f8d6198300ce30327617cd3f2f8d01a7b5fe295663c38be747a38322f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d171a53f0283f0f672305cb49c7905e6c4bab1b3e4cc2ae5e0c6cc6e059b96fd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b913ef573b21ef24aca8155789288cf29854844f0062bb880732277435cbad4b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e2d73ecd0c9c4aaa14ac9c6fbc61640b6449d6bf1da9b9b64c79367e9bd5d10"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc6afed8b8d4b4c23d26518094c89b18edefe188af03831343b76f2fc4394e1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"743a1184ade5fe14ce0ba7f07ce0e62f236588ee0374bf428af54b75b8703eb5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f9e1b82af1cb20785a615aa1ff6deb0757cff1b82f85ab53533f1f430b7be67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f34183192443dc48ccb60fc6985363b1863f85542a2894b346fec3a06102e018"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63bf64b2632d334ec02fb3c8214e92157521a2f53e30c6778f006c5086cd6206"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad8a809b32aa8af2ce2255d31db49d8e5f365870a74a9c93871022eabb3d2f97"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbf81e02beb754d04c13ae5fe6450c7eed3e7253905dddd1b3c9c0d25be92c47"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32e2446811982a73a09e09b1747e66b969b9f870ae451587dc9be809246a1171"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d4ee814bddf493b65e560c890674c44b858ad4f1106fb1baf73f1653bfa29f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7d80a6247ccc290702089c66efddc888a87c3ee59f9f959ced9129afa029b30"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6afbbde38e013514733ff0959a736d0e143436a18b2a872229095f41cfb77ec"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae428f6eadb3332a493112a15bcc84a392e24e6b650a68e4edeb88ee37fd40bd"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9fe1a462f094b5bd87ff02709ce25309d8f791137fb41e7a8952b6434a8e81b"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88d5e9ae2b63199ac6b84c080f6b9197ea41b76e00a368d99f40d0e43083f977"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd00c01600ec04e2787e501cf0fe951f54e5cd0c7be79271acd1b2bbc319167c"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45e907ff433c53a76c92b65b3f9381f81dea7c0f7f33a299aab3e53c40530115"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43aedf9faf5bebae5b61ab2cc92ad8c07cf6e3fe3987e6220ef1dc87765dbed9"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97ca12b0e69bb8ee80321ddd9db08cbced89daa6c6b02be459668904d34b476d"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9a6fa115d6342dd3da9418c4654e61627bd66d93961cc3a62347cef8c15de550"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/wombat/wombat_api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"835b09996a34368b8a4f64238bc1483bcc317fb8fbf6eda5126c6d3c79febe82"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 2 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: wisdem/optimization_drivers/dakota_driver.py, wisdem/optimization_drivers/nsga2/fast_nondom_sort.py (3 orphaned of 96 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 96 of the 129 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/dakota_driver.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac02762f719dcbf6fb6f6e7817c5df2b861a4cfb9beac177d80081f2adfbc83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/optimization_drivers/nsga2/fast_nondom_sort.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d505c1d82f95a59ed81766f4c364ce3b9db842d4842f8096102e5eda2479f610"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: drive_structure.py \u2194 layout.py: \u0060wisdem/drivetrainse/drive_structure.py\u0060 and \u0060wisdem/drivetrainse/layout.py\u0060 change together 54% of the time (25 of the 46 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 25 shared commits counted here, the most recent 3 are \u006069b53dcf\u0060 Revert \u0022leaving numpy\u003C2 behind and trying to fix RTD errors\u0022; \u0060dd5aabe4\u0060 leaving numpy\u003C2 behind and trying to fix RTD errors; \u006048e56828\u0060 accommodate last of numpy v1 installations too \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/drivetrainse/drive_structure.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a76a8ee9b205c2efbbbc22696b4c4759fa6825b7b8b02acedffdffe8945e5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gc_RunTools.py \u2194 runWISDEM.py: \u0060wisdem/glue_code/gc_RunTools.py\u0060 and \u0060wisdem/glue_code/runWISDEM.py\u0060 change together 52% of the time (14 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u00608db25c96\u0060 reduce messages on screen; \u0060f22f87cd\u0060 fix bugs when calling OF; \u00604c3e6ec2\u0060 tests passing warnings addressed \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_RunTools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b99f2f0e162980d8b35f662a813fe2ad027a3345ef2723933354c32bb5d6a6"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a051b62eaec9b47e082837ded2e3d53b6424091d0b3a9eb442726527fd98ff49"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed9a66ca4d73c565b58b009e3bab5d16a554219b1ee97ab57529c2e50047bc53"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/CI_WISDEM.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060pyproject.toml\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb10b4cecf1ff8954b4572fe00acd990e1e486a213ddb60c937a99b3b59c61"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modeling_options[\u0022user_elastic\u0022][\u0022hub\u0022] or modeling_options[\u0022user_elastic\u0022][\u0022drivetrain\u0022]\u0060 appears character-identically in 2 files \u2014 wisdem/glue_code/gc_WT_DataStruc.py, wisdem/glue_code/gc_WT_InitModel.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_DataStruc.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4ee59d6ec2ab6bc5b175e74badbd0345300ce16327122e4dd5cf3e3c4b6c95"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060remove_numpy\u0060 is public and takes \u0060fst_vt: dict\u0060 from its caller, and it calls itself at line 336 (\u0060remove_numpy\u0060) with a piece of \u0060fst_vt\u0060 \u2014 and nowhere in \u0060remove_numpy\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060remove_numpy\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/validation.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a85e6b9cd2d625d9d4f2038c59826fcdbf679e2b506b7c9dea49b37bc831ea1"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060_run_program\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the process working directory (changed at line 318, put back at line 324) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception raised in between: the process then keeps the overwritten value for the rest of its life, and every later relative path, \u0060subprocess\u0060 launch, \u0060os.environ\u0060 read or \u0060print\u0060 in ANY module sees it. That failure is silent and remote from its cause \u2014 the function that breaks is not the function that moved the value. The window is not private while it is open either: the working directory, the environment, the umask and \u0060sys.stdout\u0060 are per-process, not per-thread, so a concurrent thread sees the moved value too. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 the \u0060cwd=\u0060 and \u0060env=\u0060 arguments of \u0060subprocess.run\u0060/\u0060Popen\u0060 scope both to the CHILD, absolute paths built with \u0060os.path.join\u0060 or \u0060pathlib\u0060 need no working directory, and a stream handed to the code that writes needs no \u0060sys.stdout\u0060. Where the global genuinely must move, \u0060contextlib.chdir\u0060 (3.11\u002B), \u0060contextlib.redirect_stdout\u0060 or a \u0060try\u0060/\u0060finally\u0060 makes the restore run on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/gui.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8510803e095449284061fb6cf378dd61f26787ed1916742a430ffe9d39750c09"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/rotorse/geometry_tools/geom_tools.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04922f5ffa0ff440a69479f738006f8116c5388f92b98b0190220cae7ebe81f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/postprocessing/compare_designs.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c73c0dbd2a0d8ba48a2dc27819e093c551af9242e5887d76e802cb2cc263fb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/inputs/gui.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"984f2f2a53135eb6336d7f1d7c565c18709555f1df9c793f2884ea773d188c97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_LoadInputs.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae749595a995844f6ef5dc6d46efa8a74f41fed3285e86018cc5975c5587894"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_PoseOptimization.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d16b30fe2bfa3a0ea431f2810dacf930e0588e4b9202b934fc323c059c1492"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/floating_frame.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"845fed15b9929cd216b29492331b1bbd46d801d0842d254445012ffeb83c0a40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/fileIO.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8784f3118c53ce7b63bd4d8fdd77b533b1350df0cf371a301e1708f3a8b3c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilization_api.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad89e2443121e62ad380fec585117e12edd6ea3240ccfe30dbe129889633e42b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilization_api.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c190b7449abef35a6c53cdce9a9c3b519cab8b0c41c88afdc6e701a0738a42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/Polar.py"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dc67243a70036f459db35c53d804ffd848c213b7a4e96d958859056766c193"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/ccblade/ccblade.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac730b30797c7b95273e55b69081b26018cba4bf97333f191d61eacd4cb20cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1468 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/glue_code/gc_WT_InitModel.py"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c98a60f78abec7ed33dfeb6740a83a6f3e007d2855e4753aadeafe053767f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 513 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/floatingse/floating_system.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb85a9a533d15b7b6647b8cd45238d2e391149437956b2d34a61579c91809e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe38306e7d5ff06fd40c4af44631ae37167cb61541cd01cf92b54a98e94978e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23280da007769155a07357d191f6c32cfd560a0de551967207aec9861e2307d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2d3c11f7d96fe68d4ee3002279a15619f558648af9519c683fea935be71d3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/commonse/utilities.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52c6a66fdae9366a3074bf427c6d8d69fb48f0c4de7681ee17d38d3c6a6a3a9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060run_module\u0060 swallows every exception into \u0060return 1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wisdem/landbosse/model/WeatherDelay.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e5fa4c27d001027165c86686d9b6dbeb24f1506acb5668ec9bd1182fed198"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-676","guid":"550e6fab-2881-3252-8a05-c688a6b19c14","name":"Use of Potentially Dangerous Function","shortDescription":{"text":"Use of Potentially Dangerous Function"},"helpUri":"https://cwe.mitre.org/data/definitions/676.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":35,"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."]}]}