{"$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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"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":"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":"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":"CompositionEntry.parse_composition (cyclomatic 36): CompositionEntry.parse_composition has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/data/materials/CompositionEntry.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c1f8c3656ac2754fac360fd8321d8983c775e1857dd0f99e9ac1d053350936"}},{"ruleId":"D1","level":"warning","message":{"text":"ActiveLearning.search (cyclomatic 32): ActiveLearning.search has cyclomatic complexity 32 (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":"chemml/optimization/active.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"991d75ae5df77390918d9bec51b934cc8eb02e41a970c11c5e101b95f34715d8"}},{"ruleId":"D1","level":"warning","message":{"text":"feature_cleaning.RemoveInvFeatures (cyclomatic 30): feature_cleaning.RemoveInvFeatures 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":"chemml/preprocessing/feature_cleaning.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e6ab1192e83fd05583a29599edf4de69667ca5ac6c2cd8e623d043b3811b7d"}},{"ruleId":"D1","level":"warning","message":{"text":"GA.fit (cyclomatic 30): GA.fit has cyclomatic complexity 30 (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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"900febc285892bbfd0f846f75200117ea58c52823ac6e67db63dfea00d854366"}},{"ruleId":"D1","level":"warning","message":{"text":"visualize.plot_shap_local (cyclomatic 29): visualize.plot_shap_local has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/explain/visualize.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cf1145b2436568f0c0fc2def212e1803654e0f68dc83088705b1594b51e5ae"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneticAlgorithm.search (cyclomatic 25): GeneticAlgorithm.search 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":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7c737fe2a29ed96ed0031e5b68dd90323372d4d8ac8ff4aa5fc7187bd8f2dc"}},{"ruleId":"D1","level":"warning","message":{"text":"Evaluator._reg_evaluation_params (cyclomatic 23): Evaluator._reg_evaluation_params 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":"chemml/wrapper/sklearn_skl/syntax.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b084030adc4dcdc0e8f45a86d71b4de98b4603d67e0e0b827c792138c6f3db5"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneticAlgorithm.__init__ (cyclomatic 22): GeneticAlgorithm.__init__ 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":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0954fb509acc3d41cc44c3ae6c538be36cc30717c6c1543595d084ebbcd0c379"}},{"ruleId":"D1","level":"warning","message":{"text":"VoronoiFace.compute_intersection (cyclomatic 21): VoronoiFace.compute_intersection 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":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"08640287777045e20f34eb8c8b0e686224ac28c68342a1badb57b743a87c1f77"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelScreener.screen_models (cyclomatic 19): ModelScreener.screen_models 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":"chemml/autoML/model_screener.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a003d4401bc2e53a48a10f560f24c56b429f667e1deb2bff4dc03e7b7844cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementalPropertyAttributeGenerator.generate_features (cyclomatic 19): ElementalPropertyAttributeGenerator.generate_features 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":"chemml/chem/magpie_python/attributes/generators/composition/ElementalPropertyAttributeGenerator.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c4fa0fc1adc82ad40eeb60609d2e8b5643cd41e0e8810a0fcdeed5de582651"}},{"ruleId":"D1","level":"warning","message":{"text":"Molecule._to_xyz_rdkit (cyclomatic 18): Molecule._to_xyz_rdkit 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":"chemml/chem/molecule.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38de17c68f4d25bc795110cb99e94ce22431c84fb5aaf44b43a01775fe14983"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneticAlgorithm._validate_feature_bias_inputs (cyclomatic 18): GeneticAlgorithm._validate_feature_bias_inputs 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":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5430d61fdad2b6efc01ee271ca2007ed32043ef905dfc7b583258fa14022f93c"}},{"ruleId":"D1","level":"warning","message":{"text":"CoulombMatrix._represent (cyclomatic 17): CoulombMatrix._represent has cyclomatic complexity 17 (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":"chemml/chem/CoulMat.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c789a05beda193b7f3c5e76f101e88f6da7ed3e48175a04d2c24d62a190bf63"}},{"ruleId":"D1","level":"warning","message":{"text":"local_features.tensorise_molecules_singlecore (cyclomatic 17): local_features.tensorise_molecules_singlecore has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/local_features.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0eadb7b5ed319b6d177d192e290cb347df2b7e520a143fac1b8397c0ed3f25"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeDependentAttributeGenerator.generate_features (cyclomatic 17): ChargeDependentAttributeGenerator.generate_features has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/attributes/generators/composition/ChargeDependentAttributeGenerator.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3394f3f25533c45b9a2dd106fa4ba4e51faaf33f0acd3561f3b06d98a2a7414d"}},{"ruleId":"D1","level":"warning","message":{"text":"ActiveLearning._fit (cyclomatic 17): ActiveLearning._fit has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/active.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f001c53c035eaa8d94ab1e38344e293f693460a06483955104ca1ca719fdb4bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ChemMLNotebook.custom_function_IO_w (cyclomatic 17): ChemMLNotebook.custom_function_IO_w has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aaa5766482898ba4cb190e3d60fc12d81431bf782d7dfa492ba34b00361191"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelScreener.__init__ (cyclomatic 16): ModelScreener.__init__ 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":"chemml/autoML/model_screener.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9124375538e2737179ce0cadc99599fd0b4db5ef1d4a6d63139a998d0b9f21"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementPairPropertyAttributeGenerator.generate_features (cyclomatic 16): ElementPairPropertyAttributeGenerator.generate_features has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/attributes/generators/composition/ElementPairPropertyAttributeGenerator.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3518f9428f2e63e8ae6b64cebdac4ae0c1997761a7454d5e7b21020250cbda56"}},{"ruleId":"D1","level":"warning","message":{"text":"CrystalStructureEntry.__cmp__ (cyclomatic 16): CrystalStructureEntry.__cmp__ 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":"chemml/chem/magpie_python/data/materials/CrystalStructureEntry.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0180e473f31b79fa03af2176319ca433de284cbd1ca2140dd7ed92cdbf728913"}},{"ruleId":"D1","level":"warning","message":{"text":"Molecule._load_pybel (cyclomatic 16): Molecule._load_pybel 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":"chemml/chem/molecule.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95949399e2014e2de01b3b64a1652f6be6ed4b636e72de1cba0b6cbf48ef1b7"}},{"ruleId":"D1","level":"warning","message":{"text":"interfaces.evaluate_inputs (cyclomatic 16): interfaces.evaluate_inputs 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":"chemml/wrapper/interfaces.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95f64105783e2466a9d83f2e3cb7a131a81dea3fee140e2dd14ec6155728d43"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositionEntry.parse_composition (cognitive 56): CompositionEntry.parse_composition has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (28 pts), ternaries 7 (12 pts), boolean chains 10, loops 3 (6 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":"chemml/chem/magpie_python/data/materials/CompositionEntry.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3880dddd4dde077fc2d745a8c4494c013466bbf2ac5576f6f53b4c8db72cf8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneticAlgorithm.search (cognitive 53): GeneticAlgorithm.search has cognitive complexity 53 (threshold 15). Drivers by points: if/else 18 (42 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1ce5cef65308404bd1a2b19499dcb80ddcc2b2f253b7af8da1e55a60351618"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveLearning.deposit (cognitive 45): ActiveLearning.deposit has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (43 pts), loops 1 (2 pts) (nesting depth added 26). 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":"chemml/optimization/active.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"50033e62edb2d79e6b327a2b8c6a4aa3a7ac0dd4edef5d5496a9dff3da2e007d"}},{"ruleId":"D2","level":"warning","message":{"text":"visualize.plot_shap_local (cognitive 44): visualize.plot_shap_local has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (32 pts), boolean chains 5, loops 5, ternaries 2 (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":"chemml/explain/visualize.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c18300192fc4aace5e42a4427023be33ec3e0d343e6f41b56f33a7ebc2490a"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementalPropertyAttributeGenerator.generate_features (cognitive 43): ElementalPropertyAttributeGenerator.generate_features has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 7 (16 pts), boolean chains 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":"chemml/chem/magpie_python/attributes/generators/composition/ElementalPropertyAttributeGenerator.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbdb3b886f24bed1e8fa8e09285e7db36485c2f8628375ba09f5222db522757"}},{"ruleId":"D2","level":"warning","message":{"text":"feature_cleaning.RemoveInvFeatures (cognitive 40): feature_cleaning.RemoveInvFeatures has cognitive complexity 40 (threshold 15). Drivers by points: if/else 25 (36 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/preprocessing/feature_cleaning.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0490b6033668309bdf733247d1058fcd600d2fef49469e7c750177db1e4e5251"}},{"ruleId":"D2","level":"warning","message":{"text":"Molecule._to_xyz_rdkit (cognitive 38): Molecule._to_xyz_rdkit has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (28 pts), error handling 5 (10 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":"chemml/chem/molecule.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d47c34c6a740f91518f89908c2b56b5e0c8b6c239b2472e2df8e7b56ac0604"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveLearning.search (cognitive 38): ActiveLearning.search has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24 (31 pts), loops 4, boolean chains 3 (nesting depth added 7). 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":"chemml/optimization/active.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f32ad741beec29f506c0eadc26c6b4d0e719f986deba07a95ce4100373d791"}},{"ruleId":"D2","level":"warning","message":{"text":"CrystalStructureEntry.__cmp__ (cognitive 37): CrystalStructureEntry.__cmp__ has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 4 (10 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/data/materials/CrystalStructureEntry.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8f1055025b2b0be911b35b3d5dbc2b84431fe60c6e1ee4bc6fc23d7506a930"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneticAlgorithm.__init__ (cognitive 37): GeneticAlgorithm.__init__ has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de8733bf0b84e46c22cae22c6830e1660db078d6b8205727f58a3a3d276596e"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneticAlgorithm.blend (cognitive 37): GeneticAlgorithm.blend has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaafe6e1b40036a667f8722d2224654b16c4380b803c797f119436ee5034f96"}},{"ruleId":"D2","level":"warning","message":{"text":"ChemMLNotebook.configurer (cognitive 36): ChemMLNotebook.configurer has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 5 (11 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"091cd81f851534de41ca494774a7d6477587e9195bb57788425e842d87c38a36"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeDependentAttributeGenerator.generate_features (cognitive 35): ChargeDependentAttributeGenerator.generate_features has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 6 (13 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":"chemml/chem/magpie_python/attributes/generators/composition/ChargeDependentAttributeGenerator.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda67f716252eb37ac4407593e3513b5d5627b5c1c72f80ad53f50b1c250f0a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Molecule._load_pybel (cognitive 34): Molecule._load_pybel has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/molecule.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"de62c7b034778430444666b48798593cdd0f116ade6134824e7864ed9d797565"}},{"ruleId":"D2","level":"warning","message":{"text":"Wrapper.call (cognitive 33): Wrapper.call has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 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":"chemml/wrapper/engine.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44dfe32e806f57670e9ec5fcba4e14a1870de6d2fc817fd8cf05601a9c280a2"}},{"ruleId":"D2","level":"warning","message":{"text":"foss_descriptors.normalize_input (cognitive 32): foss_descriptors.normalize_input has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (24 pts), error handling 1 (4 pts), loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/foss_descriptors.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e28c0c1186753c7d0af7de41211fd3d05fec2689d492b2bab13676ef9d6701d"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiFace.compute_intersection (cognitive 32): VoronoiFace.compute_intersection has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 5 (8 pts), loops 5 (6 pts), boolean chains 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":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0f3552709399216d879f5677ceea724714623b5b32763aa7a104cdc957ac6b"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneticAlgorithm.custom_mutate (cognitive 32): GeneticAlgorithm.custom_mutate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2 (5 pts), error handling 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce49ce44316fee184f55e191df8942eb7f27296004622b6bea0e3fd83eedfcd5"}},{"ruleId":"D2","level":"warning","message":{"text":"Evaluator._reg_evaluation_params (cognitive 32): Evaluator._reg_evaluation_params has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 6 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/sklearn_skl/syntax.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8819de6b628fca4c53b955cf8c35cd8680506b15873effdbdff6aa71b12093d"}},{"ruleId":"D2","level":"warning","message":{"text":"BagofBonds._represent (cognitive 31): BagofBonds._represent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 4 (8 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/CoulMat.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b54bd716334d6bfb93efab87bfd64c85fb40f3efb4dcec32888d8dea4ce452"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScreener.__init__ (cognitive 30): ModelScreener.__init__ has cognitive complexity 30 (threshold 15). Drivers by points: if/else 25 (30 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/autoML/model_screener.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"62370becf31ccc8c6fc8a4ef8a6a30dcff645d9616026fd637c83cde2b958722"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScreener.screen_models (cognitive 30): ModelScreener.screen_models has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (22 pts), error handling 1 (4 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/autoML/model_screener.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cab95845069578a59b0f22b0d982745730968e5ed6ae5ede54a56386480985"}},{"ruleId":"D2","level":"warning","message":{"text":"PhaseDiagramCompositionEntryGenerator.generate_crystal_compositions (cognitive 29): PhaseDiagramCompositionEntryGenerator.generate_crystal_compositions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 5 (14 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/data/utilities/generators/PhaseDiagramCompositionEntryGenerator.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ce8aafc81c30e584d803b88672d8e54bd5aa22f9d85754596209f3e1fc2e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"Explain.plot (cognitive 28): Explain.plot has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 2 (6 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/explain/explain.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43a060e1521c9bf8457c5c8bb96bda5d0c3c3999d36c3d9ed2eeb191802da3b"}},{"ruleId":"D2","level":"warning","message":{"text":"interfaces.evaluate_inputs (cognitive 28): interfaces.evaluate_inputs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/interfaces.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6260b1dde75cf32909b7f41a545e817e7f79d80ee58820def9c5e592088207f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChemMLNotebook.custom_function_IO_w (cognitive 28): ChemMLNotebook.custom_function_IO_w has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 8 (13 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d21b6cd92f801ba6f35c6e44f09b18c306c98a1fee338eccbd940fc65281bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementPairPropertyAttributeGenerator.generate_features (cognitive 27): ElementPairPropertyAttributeGenerator.generate_features has cognitive complexity 27 (threshold 15). Drivers by points: loops 9 (21 pts), if/else 4 (5 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":"chemml/chem/magpie_python/attributes/generators/composition/ElementPairPropertyAttributeGenerator.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afb3f809a6994ebdc90259f7b06b2c7707e0ffd4de9c8fc75c92323282f3f88"}},{"ruleId":"D2","level":"warning","message":{"text":"local_features.tensorise_molecules_singlecore (cognitive 25): local_features.tensorise_molecules_singlecore has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (7 pts), boolean chains 6, error handling 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/local_features.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dba3ba09adc3aa68644b5a9870ad4e120d1cde5ca18f3622d777ebcc87ad5de"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiCellBasedAnalysis.get_neighbor_ordering_parameters (cognitive 25): VoronoiCellBasedAnalysis.get_neighbor_ordering_parameters has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 4 (11 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/analysis/VoronoiCellBasedAnalysis.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca7ac5c47ebfe46909603d29f81c8d777c2dab6a1d001d166424d356c2d1ac"}},{"ruleId":"D2","level":"warning","message":{"text":"BASE.Receive (cognitive 25): BASE.Receive has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 2, 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":"chemml/wrapper/base.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f54c8d00a6e5395408da70b986ef90ccac3c958f04f693b485e363033b3644d"}},{"ruleId":"D2","level":"warning","message":{"text":"XYZreader.read (cognitive 24): XYZreader.read has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (8 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/initialization/initialization.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f126767f40bd61df6e99f630356f9a819da011dc5260140910182931f87111e"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser._parameters (cognitive 24): Parser._parameters has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/engine.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a818381ca555c9bb7666ebd3fd27437c24c35b12f76aa2fac89a1503c91c0d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChemMLNotebook._parameters (cognitive 24): ChemMLNotebook._parameters has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da9c5e18f846934e85fe5a0c249ea50e40c944bb0ba35bca25adcd1e7807cdf"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneticAlgorithm._validate_feature_bias_inputs (cognitive 23): GeneticAlgorithm._validate_feature_bias_inputs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"071add4244c466e50b7af93716ffd880ebe5af64514cb7d08b899f61583d3f55"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorCombinationComputer.get_all_vectors (cognitive 22): VectorCombinationComputer.get_all_vectors has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/util/VectorCombinationComputer.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9070be8f8a885365bc7e602814b2959ae6d04c58cf3fea23c01a0c7d10a2ce11"}},{"ruleId":"D2","level":"warning","message":{"text":"utilities.classification_metrics (cognitive 22): utilities.classification_metrics has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/utils/utilities.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a12434cfd653b4744a0696396f17cd4d6c4ae17918a8be4ac393eea860c4a24"}},{"ruleId":"D2","level":"warning","message":{"text":"Cell.merge_like_types (cognitive 21): Cell.merge_like_types has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/data/Cell.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf4a9e5e6ceffd684c92bc3d1241f41d72c859d3b05c94c45659b3a83a2145f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChemMLNotebook._options (cognitive 21): ChemMLNotebook._options has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bc58a39dee88f320afd556770093f06f8ba28f231203ee8a43a6ac17c0e3e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScreener._represent_smiles (cognitive 20): ModelScreener._represent_smiles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (6 pts), loops 3 (4 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":"chemml/autoML/model_screener.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d7ba12de1c132512a0ced46d48df8bdf69ec5a31138142d2cddfb6065fd36"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiCell.get_neighbor_shells (cognitive 20): VoronoiCell.get_neighbor_shells has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiCell.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"043515f5297fe22292ce4d67b069f319e89c69bf9aa4497cd541c6b192f9dd76"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiCell.get_neighbors_by_walks (cognitive 20): VoronoiCell.get_neighbors_by_walks has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 3 (7 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":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiCell.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dd1d9488f61ce3899514dfc9f264c02b87d8b02f69668f249c2752970c4a2f"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveLearning.random_search (cognitive 20): ActiveLearning.random_search has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (8 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":"chemml/optimization/active.py"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca1e7cf6438ed3ea594c8dd0986bda21c7abee9812691d0072a937b8392586e"}},{"ruleId":"D2","level":"warning","message":{"text":"GA.fit (cognitive 20): GA.fit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 6, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"100b12272b20e3b4c889c34e19b94b01c77dd01f8875fa3352ba86e1b6259b83"}},{"ruleId":"D2","level":"warning","message":{"text":"CoulombMatrix._represent (cognitive 19): CoulombMatrix._represent has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (13 pts), boolean chains 5, if/else 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/CoulMat.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"02749a37d33f99ee837b07351f2dccffcd9ec914047325a87a54ec448e7fbcae"}},{"ruleId":"D2","level":"warning","message":{"text":"APEAttributeGenerator.find_efficiently_packed_clusters (cognitive 19): APEAttributeGenerator.find_efficiently_packed_clusters has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 5 (9 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/attributes/generators/composition/APEAttributeGenerator.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0928389d0368654aec7a2307de262057337a391372a7701039a6066bee6b8c62"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositionEntry.__cmp__ (cognitive 19): CompositionEntry.__cmp__ has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 3 (6 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/data/materials/CompositionEntry.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b34884990ef2542ab39244eedcfc7323fbb4b090bedac21d6e7203908871622"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositionEntry.__lt__ (cognitive 19): CompositionEntry.__lt__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/data/materials/CompositionEntry.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"42362243f99de7d17580b0fdbd19ea041e9b684cdab9f3de73f8ca28a5cea397"}},{"ruleId":"D2","level":"warning","message":{"text":"MLP.get_model (cognitive 19): MLP.get_model has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/mlp.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d550ff3949077026156f0efa7ec83a5c5737ac5ed9dc2ef442c27f91bc70a052"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveLearning._fit (cognitive 19): ActiveLearning._fit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (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":"chemml/optimization/active.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd384e1c92cf08d43a948bb22dbf200776b8043467622101259ec27421c0a260"}},{"ruleId":"D2","level":"warning","message":{"text":"RDKitFingerprint.fit (cognitive 19): RDKitFingerprint.fit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2 (3 pts), error handling 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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"749014b72ab2c728a8bb06cbc726accb593e74caed991455888461e290e2ffb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser._print_out (cognitive 19): Parser._print_out has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 6 (9 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/engine.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfff4d469418af0fd74786161f80c96a39f7bf611cb5793db7f28bd3b905399"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelScreener.export_best_model (cognitive 18): ModelScreener.export_best_model has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/autoML/model_screener.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"1beca1dd37f095e63d66ceb6b1ad8169178b88c9ba18617392af1c55d7c5c2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"GCLPAttributeGenerator.generate_features (cognitive 18): GCLPAttributeGenerator.generate_features has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 6 (8 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/attributes/generators/composition/GCLPAttributeGenerator.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2056e4abfb0bdd4597418b57c9ba5878f5f5438602b457cae6ba1217936429"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositionEntry.parse_element_amounts (cognitive 18): CompositionEntry.parse_element_amounts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/data/materials/CompositionEntry.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c07085d2c714dc12fb735228ee2b9c328e68996fa47e2e656de59c91c4c77b"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiEdge.find_next_edge (cognitive 18): VoronoiEdge.find_next_edge has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiEdge.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e741d1d32006abb1ba0631c50eecbc59478043252083826e43b2f0f20fad26e7"}},{"ruleId":"D2","level":"warning","message":{"text":"NeuralGraphFingerprint._build_tensorflow (cognitive 18): NeuralGraphFingerprint._build_tensorflow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/graphconvnetwork.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fecc43d60c4974bbd8ad6f48e0165ef04552cf7e805cf021038711eee17b46"}},{"ruleId":"D2","level":"warning","message":{"text":"NeuralGraphFingerprint._fit_pytorch (cognitive 18): NeuralGraphFingerprint._fit_pytorch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 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":"chemml/models/graphconvnetwork.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f73b7a781e8c1bac5def3f230a79f13b375ae16097ee9911bc82412f9cef19"}},{"ruleId":"D2","level":"warning","message":{"text":"MLP._initialize_tensorflow (cognitive 18): MLP._initialize_tensorflow has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/mlp.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc80951d8d6d80c374a5a5d75193531f320f5298371c38bbd72811eea6a360b"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveLearning._dsa_y_dist (cognitive 18): ActiveLearning._dsa_y_dist has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (6 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":"chemml/optimization/active.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ef761bd4e85f8e9e1206edcaf307716981ec8f4983f3e13e5eca2bd748c9f4"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneticAlgorithm._fit_eval (cognitive 18): GeneticAlgorithm._fit_eval has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ca480742bfe1e09af6919666f886877de16a88703b54b27e2130277f17c886"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.transform (cognitive 18): Parser.transform has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (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":"chemml/wrapper/engine.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fea945a0592730e071ea7a22b430731e423ef1eed92564f85aa87c6e710344"}},{"ruleId":"D2","level":"warning","message":{"text":"APEAttributeGenerator.generate_features (cognitive 17): APEAttributeGenerator.generate_features has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/attributes/generators/composition/APEAttributeGenerator.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8575cf94b4958c84e8bdf6aeaa713afa2eb909d63c7c1d609d111c865ef116"}},{"ruleId":"D2","level":"warning","message":{"text":"YangOmegaAttributeGenerator.generate_features (cognitive 17): YangOmegaAttributeGenerator.generate_features has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (12 pts), ternaries 1 (3 pts), boolean chains 1, if/else 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/attributes/generators/composition/YangOmegaAttributeGenerator.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f4316ad4a7024cf30073f54b284491c7a72b8c0d9c4af7f1f5533eae4c8c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"PairDistanceAnalysis.compute_PRDF (cognitive 17): PairDistanceAnalysis.compute_PRDF has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 2 (5 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/analysis/PairDistanceAnalysis.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"271242fbefbb2b40dd13f4a0071249049545be7e0d9e1eba7a53ca6b86d81a62"}},{"ruleId":"D2","level":"warning","message":{"text":"Cell.__eq__ (cognitive 17): Cell.__eq__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/data/Cell.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"730e279b76c8d72eb8add02b17dc21dea7c348e9b144bbcb189b9f795e2186d1"}},{"ruleId":"D2","level":"warning","message":{"text":"VASP5IO.parse_file (cognitive 17): VASP5IO.parse_file has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 4 (6 pts), error handling 4, 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":"chemml/chem/magpie_python/vassal/io/VASP5IO.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ead7f00ce6815cecf26f5f96cdc5dbd7bfc02d842e48d96ed4c55cbba71ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"_NeuralGraphNetworkPT.__init__ (cognitive 17): _NeuralGraphNetworkPT.__init__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/graphconvlayers_torch.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"798054c81b3d7f77283bf95a0f80e08d6b42886dc06da700595e2031df3452ee"}},{"ruleId":"D2","level":"warning","message":{"text":"MLP.__init__ (cognitive 17): MLP.__init__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/mlp.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd1a4651ba60b72fb6b8ac6a980b2f5d60a489b514cfcaeba0eab7490fc1658"}},{"ruleId":"D2","level":"warning","message":{"text":"CoulombMatrix.__cal_coul_mat (cognitive 16): CoulombMatrix.__cal_coul_mat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/CoulMat.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a5eec365742880c29aacb361392ae6941210f06a618cc6383517e15c6a63a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Dragon._script_wizard (cognitive 16): Dragon._script_wizard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 3 (4 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":"chemml/chem/Dragon.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"49323179d9b901a56c217b9ef9b08d93ed4c51b53a8ac670d652aa4139c4c0fa"}},{"ruleId":"D2","level":"warning","message":{"text":"OxidationStateGuesser.get_possible_states (cognitive 16): OxidationStateGuesser.get_possible_states has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 4). 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":"chemml/chem/magpie_python/utility/tools/OxidationStateGuesser.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a7af22225b0bbd4e3dbb1f1ebab6657f15705488a5affa5bdfaed4d77cfd1d"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiCell.compute_intersection (cognitive 16): VoronoiCell.compute_intersection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 5 (7 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiCell.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"6085cff44ef38a17852d1b3d8142bd3a0c4b96fc025e4cc7b118c07e25219c86"}},{"ruleId":"D2","level":"warning","message":{"text":"Cell.set_basis (cognitive 16): Cell.set_basis has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, loops 2 (3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/data/Cell.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03166965762828e4678813e786bf3e3c61fe4f27d52030abf24eedae205112c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chemml_cml/chemml_wrapper.py: FileTooLong \u2014 1594 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1094 over it, 3.19\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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0ed41fb54043c3523ceea878e482e2d5c21c906f356b679ae8b80459346ef7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/sklearn_db.py: FileTooLong \u2014 1206 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 706 over it, 2.41\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":"chemml/wrapper/database/sklearn_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"608c9f0afbb342b934fd81239dc13c0d6c257c9367a1961ff32b81740f3020e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/chemml_db.py: FileTooLong \u2014 1117 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 617 over it, 2.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":"chemml/wrapper/database/chemml_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf5170c4e2bfa6a558a337ce393b44722f50194feed1329a1da29e61f4b08da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: optimization/active.py: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 268 over it, 1.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":"chemml/optimization/active.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc1209de676361cb3a247f18f6f5ca422b9dfaf5a401aeb471a5464edb678c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: autoML/model_screener.py: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 141 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":"chemml/autoML/model_screener.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74775e121d338ca3440f6b797b0962712eaeb40627dded0e403df149dce5b6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VoronoiFace: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6290f8a4d16c3a2d72e0cb388191197a70c8ff4bb7081d900d964c1ea482f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cell: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/data/Cell.py"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0711cb8c36e30f76377f70965fe098e3464f5c65012c7bb54f76edd0041a6594"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (38 members, 8 shared lines): chemml/wrapper/chemml_cml/chemml_wrapper.py:14-35 | chemml/wrapper/chemml_cml/chemml_wrapper.py:39-58 | chemml/wrapper/chemml_cml/chemml_wrapper.py:62-85 | chemml/wrapper/chemml_cml/chemml_wrapper.py:89-108 | chemml/wrapper/chemml_cml/chemml_wrapper.py:112-131 | chemml/wrapper/chemml_cml/chemml_wrapper.py:135-151 | chemml/wrapper/chemml_cml/chemml_wrapper.py:186-217 | chemml/wrapper/chemml_cml/chemml_wrapper.py:222-245 | chemml/wrapper/chemml_cml/chemml_wrapper.py:250-273 | chemml/wrapper/chemml_cml/chemml_wrapper.py:458-481 | chemml/wrapper/chemml_cml/chemml_wrapper.py:485-509 | chemml/wrapper/chemml_cml/chemml_wrapper.py:537-569 | chemml/wrapper/chemml_cml/chemml_wrapper.py:573-596 | chemml/wrapper/chemml_cml/chemml_wrapper.py:600-627 | chemml/wrapper/chemml_cml/chemml_wrapper.py:631-654 | chemml/wrapper/chemml_cml/chemml_wrapper.py:658-685 | chemml/wrapper/chemml_cml/chemml_wrapper.py:689-721 | chemml/wrapper/chemml_cml/chemml_wrapper.py:725-751 | chemml/wrapper/chemml_cml/chemml_wrapper.py:755-778 | chemml/wrapper/chemml_cml/chemml_wrapper.py:782-805 | chemml/wrapper/chemml_cml/chemml_wrapper.py:809-835 | chemml/wrapper/chemml_cml/chemml_wrapper.py:839-862 | chemml/wrapper/chemml_cml/chemml_wrapper.py:866-889 | chemml/wrapper/chemml_cml/chemml_wrapper.py:893-929 | chemml/wrapper/chemml_cml/chemml_wrapper.py:933-965 | chemml/wrapper/chemml_cml/chemml_wrapper.py:969-992 | chemml/wrapper/chemml_cml/chemml_wrapper.py:996-1024 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1028-1051 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1055-1078 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1082-1111 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1115-1144 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1148-1171 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1175-1207 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1211-1234 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1241-1260 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1267-1286 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1294-1339 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1531-1566 \u2014 These 38 members are variants of one another: a block of 8 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 38 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 38 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1d3e32e0ab07315b4fd0830907bc02ed57bc2448875ec076351d943ac94d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (23 members, 15 shared lines): chemml/wrapper/chemml_cml/chemml_wrapper.py:537-569 | chemml/wrapper/chemml_cml/chemml_wrapper.py:573-596 | chemml/wrapper/chemml_cml/chemml_wrapper.py:600-627 | chemml/wrapper/chemml_cml/chemml_wrapper.py:631-654 | chemml/wrapper/chemml_cml/chemml_wrapper.py:658-685 | chemml/wrapper/chemml_cml/chemml_wrapper.py:689-721 | chemml/wrapper/chemml_cml/chemml_wrapper.py:725-751 | chemml/wrapper/chemml_cml/chemml_wrapper.py:755-778 | chemml/wrapper/chemml_cml/chemml_wrapper.py:782-805 | chemml/wrapper/chemml_cml/chemml_wrapper.py:809-835 | chemml/wrapper/chemml_cml/chemml_wrapper.py:839-862 | chemml/wrapper/chemml_cml/chemml_wrapper.py:866-889 | chemml/wrapper/chemml_cml/chemml_wrapper.py:893-929 | chemml/wrapper/chemml_cml/chemml_wrapper.py:933-965 | chemml/wrapper/chemml_cml/chemml_wrapper.py:969-992 | chemml/wrapper/chemml_cml/chemml_wrapper.py:996-1024 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1028-1051 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1055-1078 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1082-1111 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1115-1144 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1148-1171 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1175-1207 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1211-1234 \u2014 These 23 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 23 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 23 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"003aedac6dd76d8ce0c69d676af4def21515020d2c84289cce789fe08cf1eb7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 14 shared lines): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:376-422 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:427-468 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:473-537 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:545-583 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:589-632 \u2014 These 5 members are variants of one another: a block of 14 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 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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9de6bbf287a936b195048ffe2a9ff7ae97c1910bcb978c6cb0abbeee004420"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 12 shared lines): chemml/wrapper/chemml_cml/chemml_wrapper.py:1294-1339 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1344-1397 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1402-1452 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1577-1626 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1631-1680 \u2014 These 5 members are variants of one another: a block of 12 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 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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47f52c4ccd00083d52986e553927494f2d47827ec0bea8a88fa5a731ffbbc8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (28 shared lines): chemml/optimization/active.py:1203-1274 | chemml/optimization/active.py:1277-1347 \u2014 These two members are variants of one another: 28 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":"chemml/optimization/active.py"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a3992b3fe434965d42ffafa2e305fa7a4c55994536e010a02f713da6ebb866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): chemml/models/graphconvnetwork.py:513-592 | chemml/models/graphconvnetwork.py:595-664 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/graphconvnetwork.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53d13b7a8218a410dbaca2e811566a4ffcfe780bc7f362d61a26b5b3d3bedf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:99-136 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:309-371 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:376-422 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:427-468 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:473-537 \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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7c13ca4aa6113b48fcc2d76f337195305bf8344acec3f13311bb4654eda3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chemml/wrapper/notebook/main.py:138-919 | chemml/wrapper/notebook/main.py:922-1063 | chemml/wrapper/notebook/main.py:1171-1463 | chemml/wrapper/notebook/main.py:1600-1662 \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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174a451526a35fe57d3fed25b8e2f140d7363dd855c52367ea90275becd9dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): chemml/wrapper/base.py:167-228 | chemml/wrapper/sklearn_skl/syntax.py:248-318 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/base.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b97442b91af4080e2e035346240de28cf29f5eaeeb247aea11ab1fd80accbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): chemml/chem/CoulMat.py:120-202 | chemml/chem/CoulMat.py:333-399 \u2014 These two members are one piece of code written twice and then edited apart: 67 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":"chemml/chem/CoulMat.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"669d410b9140674a0e2cfeb814a95875b449f78d4565da39398276e800d5c491"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): chemml/wrapper/engine.py:85-117 | chemml/wrapper/notebook/main.py:1729-1764 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/engine.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa02aada17143aed4630c27baba3c33f9a21fbd4f6aa1d803cc26b5114c08223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chemml/wrapper/notebook/main.py:1158-1168 | chemml/wrapper/notebook/main.py:1704-1717 \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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c0496800b690954fca4484163de07656997097e883d8841e57a97d32ac9fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): chemml/wrapper/pandas_pd/pandas_wrapper.py:15-42 | chemml/wrapper/pandas_pd/pandas_wrapper.py:189-222 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"chemml/wrapper/pandas_pd/pandas_wrapper.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"067d97d05ee1e1575cc2254773c27fe4d52fd576798bd9ffe386a57cb4d90aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): chemml/chem/RDKFP.py:139-155 | chemml/chem/RDKFP.py:171-189 | chemml/chem/RDKFP.py:192-207 | chemml/chem/RDKFP.py:210-226 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 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":"chemml/chem/RDKFP.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"67813f9115515908b51ccfeeb50a06c4c0c7f605a4a4df856d9b98464040d67a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chemml/wrapper/chemml_cml/chemml_wrapper.py:277-293 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1840-1886 \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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"132834d8c81eeebe72c35087d2cc24883ff1a29717250c383b29f5a913af72e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): chemml/models/graphconvlayers.py:219-268 | chemml/models/graphconvlayers.py:418-453 \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":"chemml/models/graphconvlayers.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41b975b92d96828dd0b5ab433687fba269390508a1a4ca2028e25ce859c23b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 61\u002B corresponding lines): chemml/chem/magpie_python/attributes/generators/crystal/CoordinationNumberAttributeGenerator.py:11-71 | chemml/chem/magpie_python/attributes/generators/crystal/EffectiveCoordinationNumberAttributeGenerator.py:65-130 | chemml/chem/magpie_python/attributes/generators/crystal/LatticeSimilarityAttributeGenerator.py:29-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 61 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":"chemml/chem/magpie_python/attributes/generators/crystal/CoordinationNumberAttributeGenerator.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"969fbcb6b89944773e1a61325cfe024f44173a6274308cfdde670afd6ae758e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chemml/models/graphconvlayers.py:156-183 | chemml/models/graphconvlayers.py:367-391 \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":"chemml/models/graphconvlayers.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f899597a36590c8999b624398d47a6c37d6c70e3f250f9ccdaa418878a987c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): chemml/chem/magpie_python/data/materials/CompositionEntry.py:419-446 | chemml/chem/magpie_python/data/materials/CompositionEntry.py:493-521 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"chemml/chem/magpie_python/data/materials/CompositionEntry.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b4ec65c77805041e17a5b8de337b5a0db858f155f21f001f849ed79b5a3c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): chemml/chem/magpie_python/attributes/generators/crystal/ChemicalOrderingAttributeGenerator.py:84-139 | chemml/chem/magpie_python/attributes/generators/crystal/PackingEfficiencyAttributeGenerator.py:22-73 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"chemml/chem/magpie_python/attributes/generators/crystal/ChemicalOrderingAttributeGenerator.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fd25caacbdcde7c93602edb33e6686d7ad1511c18cb6af94f92af16aeaa7dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:35-49 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:69-85 \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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f30455da116c032057632a584279b477a64ee6297b434cfbc2ae3d607b15be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): chemml/wrapper/preprocessing/miscellaneous.py:100-129 | chemml/wrapper/preprocessing/miscellaneous.py:156-180 | chemml/wrapper/preprocessing/miscellaneous.py:207-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/preprocessing/miscellaneous.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"74122811cefdb80d6e3954e85d60d1bbefba7fbf2659d8b017f5b3fd56ce7521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chemml/wrapper/engine.py:49-73 | chemml/wrapper/notebook/main.py:1676-1701 \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":"chemml/wrapper/engine.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2103beee4bc63b8d7ce0cff49c4a7a2278d835f735a723888e1485c263c38150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chemml/optimization/genetic_algorithm.py:298-305 | chemml/optimization/genetic_algorithm.py:308-315 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc4b78c5303538bd5da40d135e07fdfd587b4c10033f283dca61d51a949cc30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): chemml/chem/molecule.py:603-635 | chemml/chem/molecule.py:640-668 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/molecule.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb752ab40d2632bb6e6f495e644cf5741791f7ea6d85e17ddc39d7f48b381a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chemml/chem/magpie_python/vassal/analysis/VoronoiCellBasedAnalysis.py:601-614 | chemml/chem/magpie_python/vassal/analysis/VoronoiCellBasedAnalysis.py:617-637 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/magpie_python/vassal/analysis/VoronoiCellBasedAnalysis.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef6037a66d20cbd4ed46bd1b177f8d9f230fef1515c58262f1972eb67600b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chemml/wrapper/sklearn_skl/KFold_wrapper.py:9-20 | chemml/wrapper/sklearn_skl/LeaveOneOut.py:10-19 \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":"chemml/wrapper/sklearn_skl/KFold_wrapper.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33d1cc28c3436799b1a815b7c22ef7b47b4c62722a4e3f11379d5e0670d23cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): chemml/chem/CoulMat.py:161-201 | chemml/chem/CoulMat.py:358-398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/CoulMat.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c2d5a0a56e1c3ce023be7a471ab15fb77c328ae9f0a28bc4fc76b3dbc17174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): chemml/chem/magpie_python/attributes/generators/crystal/CoordinationNumberAttributeGenerator.py:11-51 | chemml/chem/magpie_python/attributes/generators/crystal/StructuralHeterogeneityAttributeGenerator.py:36-75 \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":"chemml/chem/magpie_python/attributes/generators/crystal/CoordinationNumberAttributeGenerator.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c401e729fa97f612f7cd016a1ae351a19b787b2f29496f9071fc165197302a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): chemml/chem/magpie_python/attributes/generators/composition/IonicityAttributeGenerator.py:31-69 | chemml/chem/magpie_python/attributes/generators/composition/MeredigAttributeGenerator.py:26-64 \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":"chemml/chem/magpie_python/attributes/generators/composition/IonicityAttributeGenerator.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a63fd39d6b2c51649096b7b69703649c4354018b02da2a32fbd27d064fc52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): chemml/chem/magpie_python/attributes/generators/crystal/EffectiveCoordinationNumberAttributeGenerator.py:65-103 | chemml/chem/magpie_python/attributes/generators/crystal/LatticeSimilarityAttributeGenerator.py:29-66 \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":"chemml/chem/magpie_python/attributes/generators/crystal/EffectiveCoordinationNumberAttributeGenerator.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8a2f7a98997dd60c228f3db0ed13f075431103eb58dc0e4128a0bc243e56cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): chemml/datasets/base.py:13-48 | chemml/datasets/base.py:54-89 \u2014 both copies are in the same file, so extract the block 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":"chemml/datasets/base.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bc56b27b580035b5f71b96ebdc65411d73d19480ceddaae7ff1e1f771d0969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201336 lines \u00D7 3): chemml/models/graphconvnetwork.py:456-459 | chemml/models/graphconvnetwork.py:549-584 | chemml/models/graphconvnetwork.py:624-656 \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":"chemml/models/graphconvnetwork.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c45d6eef4151fa20d2bf063f7f2f8c08a646085661c35d84cd82d47001e03db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201333 lines \u00D7 2): chemml/chem/CoulMat.py:120-152 | chemml/chem/CoulMat.py:333-359 \u2014 both copies are in the same file, so extract the block 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":"chemml/chem/CoulMat.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f489e0814786ffdab25635791323fc3e394b0e4020ad697a8106a02b9cc2e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): chemml/wrapper/notebook/main.py:1486-1511 | chemml/wrapper/notebook/main.py:1529-1555 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/notebook/main.py:1486\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"510b9c5c101e53f882b719e495ce21810b6c2a1b21b318f3c6d6d41bcb0596d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chemml/explain/visualize.py:195-218 | chemml/explain/visualize.py:231-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/explain/visualize.py:195\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/explain/visualize.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76a3056fb49e2cad96eecd73008282f95abfea98557b5d20658150de7a8af1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:401-422 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:447-468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:401\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3451fce76c2b645a6178a1de0105cd4d766dd71a0dd8c604f1ce9f84a3cc0e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 5): chemml/wrapper/notebook/main.py:291-311 | chemml/wrapper/notebook/main.py:491-510 | chemml/wrapper/notebook/main.py:594-613 | chemml/wrapper/notebook/main.py:654-672 | chemml/wrapper/notebook/main.py:805-823 \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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"48726f9c1c785f5ec7480da02f8cde068a1f1847cd8165f989223cdfa160e9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201319 lines \u00D7 17): chemml/wrapper/notebook/main.py:168-186 | chemml/wrapper/notebook/main.py:216-234 | chemml/wrapper/notebook/main.py:264-282 | chemml/wrapper/notebook/main.py:320-338 | chemml/wrapper/notebook/main.py:368-386 | chemml/wrapper/notebook/main.py:416-434 | chemml/wrapper/notebook/main.py:464-482 | chemml/wrapper/notebook/main.py:519-537 | chemml/wrapper/notebook/main.py:567-585 | chemml/wrapper/notebook/main.py:627-645 | chemml/wrapper/notebook/main.py:681-699 | chemml/wrapper/notebook/main.py:730-748 | chemml/wrapper/notebook/main.py:778-796 | chemml/wrapper/notebook/main.py:832-850 | chemml/wrapper/notebook/main.py:948-966 | chemml/wrapper/notebook/main.py:1256-1259 | chemml/wrapper/notebook/main.py:1612-1615 \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. 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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4626251b1188a2fe00e3104b9eee374f1c5303f2e482a0528eacb75bc2ce407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): chemml/wrapper/engine.py:98-112 | chemml/wrapper/notebook/main.py:1742-1759 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chemml/wrapper/engine.py:113\u0060 calls \u0060IOError\u0060 and \u0060chemml/wrapper/notebook/main.py:1761\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":"chemml/wrapper/engine.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14dd9f307dd5fb1f19580901590202281dfd92f2ec10d2e73496eb8120e9a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py:684-699 | chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py:800-815 \u2014 both copies are in the same file, so extract the block 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":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a75df684ec1b83300805d04a6ef21b14a143788e9e879d1adc2cbbf78390ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chemml/wrapper/engine.py:201-216 | chemml/wrapper/notebook/main.py:1817-1832 \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 \u0060chemml/wrapper/engine.py:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/engine.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"46708c7a0b6e0b7233a5ca6d59ab2f0312e45875535aa560b780ace390beb356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 8): chemml/wrapper/notebook/main.py:194-207 | chemml/wrapper/notebook/main.py:242-255 | chemml/wrapper/notebook/main.py:346-359 | chemml/wrapper/notebook/main.py:394-407 | chemml/wrapper/notebook/main.py:442-455 | chemml/wrapper/notebook/main.py:545-558 | chemml/wrapper/notebook/main.py:707-721 | chemml/wrapper/notebook/main.py:756-769 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c441c756237382f583bb13e40ed5a72a08039e602062bddb0ae813b24cdeda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): chemml/chem/magpie_python/attributes/generators/crystal/EffectiveCoordinationNumberAttributeGenerator.py:102-114 | chemml/chem/magpie_python/attributes/generators/crystal/LatticeSimilarityAttributeGenerator.py:64-76 | chemml/chem/magpie_python/attributes/generators/crystal/StructuralHeterogeneityAttributeGenerator.py:77-91 \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 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":"chemml/chem/magpie_python/attributes/generators/crystal/EffectiveCoordinationNumberAttributeGenerator.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"80667af2993ced4d81bad30823d2d1521cc7ed3ee2fb2b8f355c5301da2ad7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): chemml/models/graphconvlayers.py:219-230 | chemml/models/graphconvlayers.py:418-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/graphconvlayers.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37f45424efed24aec3c085e4df28d8caf42ff37705284bf10fc7e0edb96482e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201314 lines \u00D7 17): chemml/wrapper/notebook/main.py:190-203 | chemml/wrapper/notebook/main.py:238-251 | chemml/wrapper/notebook/main.py:286-299 | chemml/wrapper/notebook/main.py:342-355 | chemml/wrapper/notebook/main.py:390-403 | chemml/wrapper/notebook/main.py:438-451 | chemml/wrapper/notebook/main.py:486-499 | chemml/wrapper/notebook/main.py:541-554 | chemml/wrapper/notebook/main.py:589-602 | chemml/wrapper/notebook/main.py:649-662 | chemml/wrapper/notebook/main.py:703-716 | chemml/wrapper/notebook/main.py:752-765 | chemml/wrapper/notebook/main.py:800-813 | chemml/wrapper/notebook/main.py:854-867 | chemml/wrapper/notebook/main.py:969-970 | chemml/wrapper/notebook/main.py:1261-1262 | chemml/wrapper/notebook/main.py:1617-1618 \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. 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, \u0060chemml/wrapper/notebook/main.py:190\u0060 calls \u0060Image\u0060, \u0060pipe\u0060 and \u0060chemml/wrapper/notebook/main.py:969\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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"81528c0d3561f4c91f9f8104b7caeb240feaf4390266ad4e9c4eedcd0cc87127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py:666-679 | chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py:782-795 \u2014 both copies are in the same file, so extract the block 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":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5961ce6788a549e65f890a19a61a760880eb389dfee197d4995c24f7665ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:310-323 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:428-440 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d28517fcfc3106a5fd46e3c129f83d6a2199b5e12b9f695950bc394ede90d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:140-176 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:180-216 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:220-256 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:260-296 \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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b208910c870d605fde08c4d7968ca6e33e527c84c364682526af62a1b9973c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): chemml/utils/utilities.py:610-622 | chemml/utils/utilities.py:633-644 \u2014 both copies are in the same file, so extract the block 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":"chemml/utils/utilities.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c468d2cb55899e748f91041ce72b411c2bf019672cb7a7dc471dd367c1658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chemml/wrapper/pandas_pd/pandas_wrapper.py:20-32 | chemml/wrapper/pandas_pd/pandas_wrapper.py:200-212 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/pandas_pd/pandas_wrapper.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8a07256aeb3eca1d66bf63a84029a607034ed018491ae0457f3bd21d423737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 5): chemml/published/RI/lorentz_lorenz.py:148-151 | chemml/published/RI/lorentz_lorenz.py:167-170 | chemml/published/RI/lorentz_lorenz.py:179-189 | chemml/published/RI/lorentz_lorenz.py:199-210 | chemml/published/RI/lorentz_lorenz.py:248-251 \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 \u0060chemml/published/RI/lorentz_lorenz.py:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/published/RI/lorentz_lorenz.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c206c8b211ba45f47f455ea8bdf4dc8821d2bcf629738d8063b986cdfcdd357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chemml/wrapper/engine.py:85-96 | chemml/wrapper/notebook/main.py:1729-1740 \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":"chemml/wrapper/engine.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3b6588dd3c6304b3eae974def8247c9a8782307def965f3ead1821265e24d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chemml/wrapper/engine.py:146-157 | chemml/wrapper/engine.py:172-183 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/engine.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020779e536715953831615ba8b5ef3041cc1efa9aa9187117be49a80fb43771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chemml/wrapper/notebook/main.py:1207-1218 | chemml/wrapper/notebook/main.py:1306-1317 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ee4d469252e6952292908f7a2b5750f44f83901886c0458fa0555357b75179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chemml/wrapper/notebook/main.py:1354-1365 | chemml/wrapper/notebook/main.py:1413-1424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/notebook/main.py:1354\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9f39ae1ddd25c17551b434f40f52227b4e3be30d98bc8fd4d27d1eb85cb4aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): chemml/wrapper/notebook/main.py:1514-1524 | chemml/wrapper/notebook/main.py:1559-1570 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"f854b034becc09e3cdfdca669abdf0f584f17cb3b7df60816a810f2e1ba06609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:309-319 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:427-436 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:473-483 \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 after the matched lines, \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:485\u0060 calls \u0060eval\u0060 and \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:322\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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4136575c60ad060c733369a1ac41efc844fe58d35e75f2d056c3fc482257276a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chemml/visualization/visualization.py:188-198 | chemml/visualization/visualization.py:254-264 \u2014 both copies are in the same file, so extract the block 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":"chemml/visualization/visualization.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3625dacc77ccce40d75a53fcbb0cd8735d0bcec3e19d5e55ccb70f9d76c63ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chemml/wrapper/chemml_cml/chemml_wrapper.py:1382-1392 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1437-1447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:1382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0763cc8a69b7a5075f85c140cbbd410e0beeec65d79e0f920dd0fa96e0d31f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chemml/wrapper/chemml_cml/chemml_wrapper.py:1957-1967 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1984-1994 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"330580611597659db401ac9e355c5c6467840e21221605e1bd691c09532a0bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 50): chemml/wrapper/chemml_cml/chemml_wrapper.py:22-29 | chemml/wrapper/chemml_cml/chemml_wrapper.py:46-53 | chemml/wrapper/chemml_cml/chemml_wrapper.py:69-76 | chemml/wrapper/chemml_cml/chemml_wrapper.py:96-103 | chemml/wrapper/chemml_cml/chemml_wrapper.py:119-126 | chemml/wrapper/chemml_cml/chemml_wrapper.py:142-149 | chemml/wrapper/chemml_cml/chemml_wrapper.py:173-180 | chemml/wrapper/chemml_cml/chemml_wrapper.py:209-216 | chemml/wrapper/chemml_cml/chemml_wrapper.py:237-244 | chemml/wrapper/chemml_cml/chemml_wrapper.py:265-272 | chemml/wrapper/chemml_cml/chemml_wrapper.py:473-480 | chemml/wrapper/chemml_cml/chemml_wrapper.py:496-503 | chemml/wrapper/chemml_cml/chemml_wrapper.py:558-567 | chemml/wrapper/chemml_cml/chemml_wrapper.py:585-594 | chemml/wrapper/chemml_cml/chemml_wrapper.py:616-625 | chemml/wrapper/chemml_cml/chemml_wrapper.py:643-652 | chemml/wrapper/chemml_cml/chemml_wrapper.py:674-683 | chemml/wrapper/chemml_cml/chemml_wrapper.py:710-719 | chemml/wrapper/chemml_cml/chemml_wrapper.py:740-749 | chemml/wrapper/chemml_cml/chemml_wrapper.py:767-776 | chemml/wrapper/chemml_cml/chemml_wrapper.py:794-803 | chemml/wrapper/chemml_cml/chemml_wrapper.py:824-833 | chemml/wrapper/chemml_cml/chemml_wrapper.py:851-860 | chemml/wrapper/chemml_cml/chemml_wrapper.py:878-887 | chemml/wrapper/chemml_cml/chemml_wrapper.py:918-927 | chemml/wrapper/chemml_cml/chemml_wrapper.py:954-963 | chemml/wrapper/chemml_cml/chemml_wrapper.py:981-990 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1013-1022 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1040-1049 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1067-1076 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1100-1109 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1133-1142 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1160-1169 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1196-1205 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1223-1232 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1249-1258 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1275-1284 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1326-1333 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1378-1385 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1433-1440 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1552-1559 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1612-1619 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1666-1673 | chemml/wrapper/chemml_cml/chemml_wrapper.py:2099-2106 | chemml/wrapper/pandas_pd/pandas_wrapper.py:31-38 | chemml/wrapper/pandas_pd/pandas_wrapper.py:69-76 | chemml/wrapper/pandas_pd/pandas_wrapper.py:109-116 | chemml/wrapper/pandas_pd/pandas_wrapper.py:141-148 | chemml/wrapper/pandas_pd/pandas_wrapper.py:172-179 | chemml/wrapper/pandas_pd/pandas_wrapper.py:211-218 \u2014 there are 50 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 50 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:558\u0060 it begins part-way through the construct above it, so those exact 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, \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:1372\u0060 calls \u0060str\u0060 and \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:19\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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3465800777d24b61995ce396e71e0df9e43fb5d6d18abebaf40597d00ea6b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): chemml/optimization/active.py:1223-1231 | chemml/optimization/active.py:1243-1252 | chemml/optimization/active.py:1263-1272 | chemml/optimization/active.py:1298-1306 | chemml/optimization/active.py:1318-1327 | chemml/optimization/active.py:1337-1345 \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 \u0060chemml/optimization/active.py:1223\u0060 it begins part-way through the construct above it, so those exact 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, \u0060chemml/optimization/active.py:1296\u0060 calls \u0060sum\u0060, \u0060distplot\u0060, \u0060reshape\u0060 and \u0060chemml/optimization/active.py:1318\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":"chemml/optimization/active.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a598d3c0eae376019a36c51a8f3897407110a3cb1f176725e71c8f3aa0b9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): chemml/wrapper/chemml_cml/chemml_wrapper.py:1965-1974 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1977-1988 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1992-2005 | chemml/wrapper/chemml_cml/chemml_wrapper.py:2008-2020 \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 \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:1965\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"663a191dd5a21c90eb5f2e19225ae54a28acf77ed225738b04a966f9cccaee4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chemml/models/mlp.py:230-239 | chemml/models/mlp.py:275-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/models/mlp.py:230\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/models/mlp.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6c2879f510d496aae5574b789c4b8af7e7aa56cb3926b036dd77fd6acc7389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chemml/models/mlp.py:539-548 | chemml/models/mlp.py:632-641 \u2014 both copies are in the same file, so extract the block 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":"chemml/models/mlp.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b0e38bb96b6b092ab49c982b9f32400d7eadf387579fe66b0731dcdda4545e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): chemml/wrapper/notebook/main.py:1205-1213 | chemml/wrapper/notebook/main.py:1305-1312 | chemml/wrapper/notebook/main.py:1372-1379 \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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16ad09d131d90719e7051a9ccb56a53250d28d12bc20feb3a5c56218b3c5408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chemml/wrapper/chemml_cml/chemml_wrapper.py:1088-1096 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1121-1129 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"071972185444c943424f407fabcd570ea484ae865d059f39179bead13c2eaf8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): chemml/wrapper/preprocessing/miscellaneous.py:118-126 | chemml/wrapper/preprocessing/miscellaneous.py:221-228 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/preprocessing/miscellaneous.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d339d5bc9c962b8e7393556731d2a4771b0b41353836d4c9e0ac7db13a22dade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:501-509 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:619-627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e0aa9536f94c60e1bad8029a6abff9ed31975d1ba3e60dccdd5da372d7ebae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): chemml/wrapper/chemml_cml/chemml_wrapper.py:317-323 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:413-420 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:459-466 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:530-537 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:576-583 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:626-632 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f069bd902b360ad4f47fc71f3fb82ba608474eea554d3d7a673d5b2eccb1a01a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): chemml/wrapper/preprocessing/miscellaneous.py:119-126 | chemml/wrapper/preprocessing/miscellaneous.py:170-176 | chemml/wrapper/preprocessing/miscellaneous.py:222-228 \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, \u0060chemml/wrapper/preprocessing/miscellaneous.py:218\u0060 calls \u0060array\u0060 and \u0060chemml/wrapper/preprocessing/miscellaneous.py:165\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":"chemml/wrapper/preprocessing/miscellaneous.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd2f05be28a9932f316ed9ad0d91bd9c8a1863d48692ef97e2bd67f03371ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chemml/wrapper/sklearn_skl/syntax.py:274-281 | chemml/wrapper/sklearn_skl/syntax.py:283-290 | chemml/wrapper/sklearn_skl/syntax.py:302-309 \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":"chemml/wrapper/sklearn_skl/syntax.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9650cf2ded0a3d99490a086f9b5989449c289d24c6d859d2b244a78330b46f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chemml/wrapper/notebook/main.py:1174-1181 | chemml/wrapper/notebook/main.py:1183-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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a9a6de40529a439849788fdc1222895ae86d7c1e9a79e8fd4d8aa577516dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chemml/wrapper/notebook/main.py:1198-1205 | chemml/wrapper/notebook/main.py:1235-1242 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9720d635a5751c1417f1293d434de5043dcaad87e0b3ec60060e75c30b0ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:405-411 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:451-457 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:500-506 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:552-558 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:618-624 \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 \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:405\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71ed1efa8cfc6948dd2ffb6345783ee5d48d6cee986dbbfac3e516c779332ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): chemml/chem/RDKFP.py:143-149 | chemml/chem/RDKFP.py:196-202 | chemml/chem/RDKFP.py:214-220 \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. 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, \u0060chemml/chem/RDKFP.py:221\u0060 calls \u0060GetTopologicalTorsionGenerator\u0060 and \u0060chemml/chem/RDKFP.py:203\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":"chemml/chem/RDKFP.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba07632a9a4c2529fd26daa8f3e4aee50592dcc62abc705de180ef4a561de39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 4): chemml/wrapper/base.py:193-199 | chemml/wrapper/base.py:201-207 | chemml/wrapper/base.py:208-212 | chemml/wrapper/base.py:219-225 \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":"chemml/wrapper/base.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1f6e88a7a9a46f0f490274d9f2f0f759327b7c6d51390b942b75380f1241e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): chemml/wrapper/chemml_cml/chemml_wrapper.py:910-916 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1092-1098 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1125-1131 \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 \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:910\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cb6b3b0781b4db8bb4358435c7b1d4c56b94583e577fc469df0404cf1b5f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): chemml/wrapper/chemml_cml/chemml_wrapper.py:1590-1626 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1644-1680 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:1590\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de4c4ea1132ff250fec3c5b714327f89c7ec99e083964f8fc31f8e2ab64ad45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chemml/wrapper/engine.py:76-82 | chemml/wrapper/notebook/main.py:1720-1726 \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":"chemml/wrapper/engine.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"436da125a6d0c981f55383a3ad997a14f1171ea9a28cc90005fc21c274e0adeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): chemml/published/RI/lorentz_lorenz.py:159-164 | chemml/published/RI/lorentz_lorenz.py:178-183 | chemml/published/RI/lorentz_lorenz.py:198-203 | chemml/published/RI/lorentz_lorenz.py:219-224 \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 \u0060chemml/published/RI/lorentz_lorenz.py:159\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/published/RI/lorentz_lorenz.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89cb71c49f0751a26edf9a66d09fff0390f610b915ff513beebc427c9e95064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chemml/chem/CoulMat.py:223-228 | chemml/chem/CoulMat.py:248-253 \u2014 both copies are in the same file, so extract the block 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":"chemml/chem/CoulMat.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"29185cc78463614dd3c7d7e0cffa79392a92d02368e6b01098553ddce6860e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chemml/wrapper/notebook/main.py:1268-1277 | chemml/wrapper/notebook/main.py:1283-1292 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0300e0e19522821c0bdecaaa70436cbbf980f57662da4a632a7396fbacff3b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chemml/wrapper/notebook/main.py:1389-1394 | chemml/wrapper/notebook/main.py:1443-1448 \u2014 both copies are in the same file, so extract the block 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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec2782956c93199a51bcddb0469bd2dfb9bd58eaa67e63ae7d64ed721f83434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 55): chemml/wrapper/chemml_cml/chemml_wrapper.py:22-26 | chemml/wrapper/chemml_cml/chemml_wrapper.py:46-50 | chemml/wrapper/chemml_cml/chemml_wrapper.py:69-73 | chemml/wrapper/chemml_cml/chemml_wrapper.py:96-100 | chemml/wrapper/chemml_cml/chemml_wrapper.py:119-123 | chemml/wrapper/chemml_cml/chemml_wrapper.py:142-146 | chemml/wrapper/chemml_cml/chemml_wrapper.py:173-177 | chemml/wrapper/chemml_cml/chemml_wrapper.py:209-213 | chemml/wrapper/chemml_cml/chemml_wrapper.py:237-241 | chemml/wrapper/chemml_cml/chemml_wrapper.py:265-269 | chemml/wrapper/chemml_cml/chemml_wrapper.py:391-395 | chemml/wrapper/chemml_cml/chemml_wrapper.py:440-444 | chemml/wrapper/chemml_cml/chemml_wrapper.py:473-477 | chemml/wrapper/chemml_cml/chemml_wrapper.py:496-500 | chemml/wrapper/chemml_cml/chemml_wrapper.py:523-527 | chemml/wrapper/chemml_cml/chemml_wrapper.py:558-564 | chemml/wrapper/chemml_cml/chemml_wrapper.py:585-591 | chemml/wrapper/chemml_cml/chemml_wrapper.py:616-622 | chemml/wrapper/chemml_cml/chemml_wrapper.py:643-649 | chemml/wrapper/chemml_cml/chemml_wrapper.py:674-680 | chemml/wrapper/chemml_cml/chemml_wrapper.py:710-716 | chemml/wrapper/chemml_cml/chemml_wrapper.py:740-746 | chemml/wrapper/chemml_cml/chemml_wrapper.py:767-773 | chemml/wrapper/chemml_cml/chemml_wrapper.py:794-800 | chemml/wrapper/chemml_cml/chemml_wrapper.py:824-830 | chemml/wrapper/chemml_cml/chemml_wrapper.py:851-857 | chemml/wrapper/chemml_cml/chemml_wrapper.py:878-884 | chemml/wrapper/chemml_cml/chemml_wrapper.py:918-924 | chemml/wrapper/chemml_cml/chemml_wrapper.py:954-960 | chemml/wrapper/chemml_cml/chemml_wrapper.py:981-987 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1013-1019 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1040-1046 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1067-1073 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1100-1106 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1133-1139 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1160-1166 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1196-1202 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1223-1229 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1249-1255 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1275-1281 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1326-1330 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1378-1382 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1433-1437 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1552-1556 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1612-1616 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1666-1670 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1876-1880 | chemml/wrapper/chemml_cml/chemml_wrapper.py:2099-2103 | chemml/wrapper/pandas_pd/pandas_wrapper.py:31-35 | chemml/wrapper/pandas_pd/pandas_wrapper.py:69-73 | chemml/wrapper/pandas_pd/pandas_wrapper.py:109-113 | chemml/wrapper/pandas_pd/pandas_wrapper.py:141-145 | chemml/wrapper/pandas_pd/pandas_wrapper.py:172-176 | chemml/wrapper/pandas_pd/pandas_wrapper.py:211-215 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:345-349 \u2014 there are 55 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 55 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:558\u0060 it begins part-way through the construct above it, so those exact 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, \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:1372\u0060 calls \u0060str\u0060 and \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:19\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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"19610edbf71d506c7287e03d77eba5cf39443eab8b8e50467968ee4920fa5563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 23): chemml/wrapper/chemml_cml/chemml_wrapper.py:552-556 | chemml/wrapper/chemml_cml/chemml_wrapper.py:579-583 | chemml/wrapper/chemml_cml/chemml_wrapper.py:610-614 | chemml/wrapper/chemml_cml/chemml_wrapper.py:637-641 | chemml/wrapper/chemml_cml/chemml_wrapper.py:668-672 | chemml/wrapper/chemml_cml/chemml_wrapper.py:704-708 | chemml/wrapper/chemml_cml/chemml_wrapper.py:734-738 | chemml/wrapper/chemml_cml/chemml_wrapper.py:761-765 | chemml/wrapper/chemml_cml/chemml_wrapper.py:788-792 | chemml/wrapper/chemml_cml/chemml_wrapper.py:818-822 | chemml/wrapper/chemml_cml/chemml_wrapper.py:845-849 | chemml/wrapper/chemml_cml/chemml_wrapper.py:872-876 | chemml/wrapper/chemml_cml/chemml_wrapper.py:912-916 | chemml/wrapper/chemml_cml/chemml_wrapper.py:948-952 | chemml/wrapper/chemml_cml/chemml_wrapper.py:975-979 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1007-1011 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1034-1038 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1061-1065 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1094-1098 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1127-1131 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1154-1158 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1190-1194 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1217-1221 \u2014 all 23 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 \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:552\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e527e9f1ba5c82d30f6a1642fdc9fa23e69a54d032687ea871a5d32c672cefa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): chemml/wrapper/base.py:159-163 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:154-158 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:164-168 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:194-198 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:204-208 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:234-238 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:244-248 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:274-278 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:284-288 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:333-338 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:401-406 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:447-452 \u2014 there are 12 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 12 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:333\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:341\u0060 calls \u0060fit\u0060 and \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:409\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":"chemml/wrapper/base.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4474013449275c6a398150bf0f189e22cd2f3e26b8f9763986a21a4cbd997688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): chemml/wrapper/chemml_cml/chemml_wrapper.py:51-57 | chemml/wrapper/chemml_cml/chemml_wrapper.py:74-80 | chemml/wrapper/chemml_cml/chemml_wrapper.py:101-107 | chemml/wrapper/chemml_cml/chemml_wrapper.py:124-130 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1331-1337 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1388-1394 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1443-1449 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1557-1563 | chemml/wrapper/chemml_cml/chemml_wrapper.py:2104-2110 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:507-513 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0a9984e79d1d808cddb3bdb4c3fefc5397c8c0582f4749da81f443beea61b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): chemml/wrapper/chemml_cml/chemml_wrapper.py:50-54 | chemml/wrapper/chemml_cml/chemml_wrapper.py:73-77 | chemml/wrapper/chemml_cml/chemml_wrapper.py:100-104 | chemml/wrapper/chemml_cml/chemml_wrapper.py:123-127 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1330-1334 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1556-1560 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1616-1620 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1670-1674 | chemml/wrapper/chemml_cml/chemml_wrapper.py:2103-2107 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:510-514 \u2014 there are 10 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 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 \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"388b78ea164d514e1c9c103b27539b37f5c8dcfd9d80a56b491b238e43264509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): chemml/wrapper/chemml_cml/chemml_wrapper.py:54-58 | chemml/wrapper/chemml_cml/chemml_wrapper.py:81-85 | chemml/wrapper/chemml_cml/chemml_wrapper.py:104-108 | chemml/wrapper/chemml_cml/chemml_wrapper.py:127-131 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1334-1339 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1391-1397 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1446-1452 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1560-1566 | chemml/wrapper/chemml_cml/chemml_wrapper.py:2107-2113 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"718801242243a70093c98fd2cc21c924acdfbd2d928d2ec9f38499d618aac912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chemml/chem/RDKFP.py:185-189 | chemml/chem/RDKFP.py:203-207 | chemml/chem/RDKFP.py:222-226 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chemml/chem/RDKFP.py:183\u0060 calls \u0060GetMorganGenerator\u0060 and \u0060chemml/chem/RDKFP.py:202\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":"chemml/chem/RDKFP.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf076c023d441ca65aaa4447b7cb04dc24e943c32010dac394d5941fcaefcb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 5): chemml/wrapper/chemml_cml/chemml_wrapper.py:1318-1322 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1368-1373 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1423-1428 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1591-1594 | chemml/wrapper/chemml_cml/chemml_wrapper.py:1645-1648 \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 \u0060chemml/wrapper/chemml_cml/chemml_wrapper.py:1368\u0060 it begins part-way through the construct above it, so those exact 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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a5198942f4c5719fa93cc7e4386815eee290f72c82c932e2b2c94d8dbc776d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chemml/wrapper/engine.py:327-331 | chemml/wrapper/engine.py:338-342 | chemml/wrapper/engine.py:349-353 \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":"chemml/wrapper/engine.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6644630724b93eb399d53c6b5de61c265c161075246dc5e6ab37a7e770332a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 5): chemml/wrapper/sklearn_skl/sklearn_wrapper.py:109-111 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:330-332 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:394-398 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:440-444 | chemml/wrapper/sklearn_skl/sklearn_wrapper.py:489-493 \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. 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, \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:399\u0060 calls \u0060exec\u0060 and \u0060chemml/wrapper/sklearn_skl/sklearn_wrapper.py:111\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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4b37f91b1e32185bf1b7289a64061ccbd79d9f79a83002e0b8ec32847ca33b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chemml/autoML/model_screener.py:690-696 | chemml/autoML/model_screener.py:742-748 \u2014 both copies are in the same file, so extract the block 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":"chemml/autoML/model_screener.py"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b694b85fd43e0711e23c1f689cdf0c180503909957bb909dd1ec0ae8b267d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chemml/published/pradhan_2026_inverse_design/scripts/run_density_ga.py:57-68 | chemml/published/pradhan_2026_inverse_design/scripts/run_polyimide_ga.py:47-57 \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":"chemml/published/pradhan_2026_inverse_design/scripts/run_density_ga.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9011ef5858533393513372149121daba172a8a4c200ffc57ffed016bcaf52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chemml/optimization/active.py:1212-1216 | chemml/optimization/active.py:1235-1239 | chemml/optimization/active.py:1256-1260 \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":"chemml/optimization/active.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f45e2e8534b8794fc949dee02941dcc8580dbf3ff6cfeb4481e8346bfc5321"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NeuralGraphHidden (LCOM4 4): NeuralGraphHidden\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":"chemml/models/graphconvlayers.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc4f65223fb3c9270ca441798a3ae20f0c22dfb6752d79a846f4f98dcb93c90"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NeuralGraphOutput (LCOM4 4): NeuralGraphOutput\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":"chemml/models/graphconvlayers.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ad6040746175b9d2ad6ab26c9965909eaddbd9aa22de83aa3a7f96fa692877"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: openbabel: \u0060openbabel\u0060 3.2.1 is published on PyPI under \u0060GPL-2.0-only\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":"fd8469a028c661d13bdf26c53e974c710df0486d0e50b839fafa801cbe515695"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chemml/autoML/model_screener.py: chemml/autoML/model_screener.py changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ModelScreener.screen_models at line 795. 4 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-29..2026-10-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-29 16:12:26 -04:00\u0027 --until=\u00272026-10-27 16:12:26 -04:00\u0027 --full-history --no-merges -- chemml/autoML/model_screener.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/autoML/model_screener.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3268759cc63edaaef2570b132694fe48f84fa620af7b53f6ca3e881a618dcd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chemml/chem/CoulMat.py: chemml/chem/CoulMat.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CoulombMatrix._represent at line 204. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-29..2026-10-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-29 16:12:26 -04:00\u0027 --until=\u00272026-10-27 16:12:26 -04:00\u0027 --full-history --no-merges -- chemml/chem/CoulMat.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/chem/CoulMat.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb18a13f56b1da2a7eba7f21ca33c662cae09ce9c597f0301999d68711b4e83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chemml/optimization/genetic_algorithm.py: chemml/optimization/genetic_algorithm.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in GeneticAlgorithm.search at line 490. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-29..2026-10-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-29 16:12:26 -04:00\u0027 --until=\u00272026-10-27 16:12:26 -04:00\u0027 --full-history --no-merges -- chemml/optimization/genetic_algorithm.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4a19fa58f4f62e2670b4db2c7542278ccda58550b65c306fb2c389d33d98f4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 14 significant file(s) lose their only recent owner: chemml/autoML/model_screener.py, chemml/chem/molecule.py, chemml/models/mlp.py, chemml/models/graphconvnetwork.py, chemml/chem/magpie_python/vassal/data/Cell.py, chemml/chem/CoulMat.py, chemml/visualization/visualization.py, chemml/models/graphconvlayers_torch.py (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"28524e02950f04063090b64f5dda55b929bd9956f03b6cfef6997bf9f5272893"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: decorate some of the steps in the wrapeprs. e.g. sending out ouputs by finding all the connected edges in the graph \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":"chemml/wrapper/base.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad2accdcdad684d287fe20040729952f7d32c07a8c8e94f299cabeb9e9d2c70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: use Input and Output classes to handle inputs and outputs \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":"chemml/wrapper/base.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"44db118af489c3557a617d7dbb532516a4278a62dd0f507091dd6843a4804b69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: add an option to deepcopy(value) \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":"chemml/wrapper/base.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a2b43427fb459d4f5628a1794f68983410262e3bfc126573cf3e2a7c4fa09b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: add all the metrics for regression \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":"chemml/wrapper/sklearn_skl/sklearn_wrapper.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b5e18397bf2504825a73759d9ac138060f930803370358db645d87b95937b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: bring back receivers - no need another recursive function for bidR; (currentbids - bidS = bidR) \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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bda2cc59f9a34d4c4f1dcb0f61364a9c44057b4f9e5fae0c633e63c0f90f111"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: profile the cpu/clock time \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":"chemml/wrapper/notebook/main.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08259c67b2f75583057397b6cba0dc48f11087c0904efa47ffe2d03669169cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #     # Todo: first fix the slurm script function at chemml.initialization \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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a62e76301a59ead034a8aab1b94b52ec6a0bcf5c911b26bf854e1a3af2115"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #     # Todo: then embede the slurm commands in this class to run the slurm script \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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58732888cbd323da243688ed9a3fd3569733fa17f8914a202b5486ec484fbc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: #     # Todo: or make the slurm script in this function 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":"chemml/wrapper/chemml_cml/chemml_wrapper.py"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3620f965b5419737f50ac8f6b4d5187e071c481803237efa3624f327d00545"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: check_object_col is really inefficient (iteration on the values of each column) \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":"chemml/utils/validation.py"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34ece280525fc6c7c3010fe580c5efc4fe79486259498e20565385eec4d2c3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: try to replace bare except \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":"chemml/utils/validation.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cb4557bc9951f1ea1d75129cd160bd8673d8de6a45c29433019e85e3516303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo try same scaler for all features \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":"chemml/published/RI/lorentz_lorenz.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad012f1998caabe8e3f1bcdfabe5cb163e185ce71b68f57fc1a7393621e48b19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: support for sklearn linear models \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":"chemml/optimization/active.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0faeec84e5675ae60aab402cd3d2cd010a7b6fd9d1a3eab26be106aa0e2d1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: how can we support multioutput? \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":"chemml/optimization/active.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfc9c9485a458dd42ffe395271e31c80a2abc2505279e337af76bc8f91c6747"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: return self.losses to visualize learning process \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":"chemml/models/mlp.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfe415a7796a2b492e77f1bf05fcdbe3c659bf2fc388a92b347cba08ff09e01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Construct section for selected descriptor generation \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":"chemml/chem/foss_descriptors.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cadf39731f712aee7149570511e19cba70be03bc41612e5daa35b9666a6cf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Arguments for sparse vector encoding \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":"chemml/chem/local_features.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc04862dc3013eeddbb922571e2c9b95416acf18caf1eb4d9d20d797746271b"}},{"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":"chemml/chem/local_features.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f2ce9c29b98224b0fe7cec05d8d7578b4502bbb7a4c31ec605759ac613ce2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v1.4): remove Python 3.8 RDKit embedding and forcefield fallback. \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":"chemml/chem/molecule.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4c0475568f99987f36a841b9df35e936f84bec4b13e0f4d26e47339f6b265c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v1.4): remove Python 3.8 RDKit embedding fallback. \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":"chemml/chem/molecule.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"2694e7e2dac878ebfcbb850cb4f1f44268f38ce397ee5384cac673a769480c90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v1.4): remove Python 3.8 RDKit forcefield fallback. \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":"chemml/chem/molecule.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dd26db6d402c349eece71fc5fa389d1231b5a778400a147b26263d4ee7b7d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v1.4): remove Python 3.8 RDKit forcefield fallback. \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":"chemml/chem/molecule.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e28a676542137a9b1836a55b93b9c9d3d25b9c830d79fdde8ba6aacb3bc12b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v1.4): remove Python 3.8 manual XYZ writer fallback. \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":"chemml/chem/molecule.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff2223843980e8081da25f9f3c22bb063ee6ffffc8d2eb77d7828db277ca37b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: check w/ Ram if this is what he meant to do when catch a warning: n = np.zeros(3) \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":"chemml/chem/magpie_python/vassal/geometry/Line.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e474d5193cb4b67d7ad37e66ffdde1add19de19edbe8b43c88430dc88dd8bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo: add all the rich comparisons, using total_ordering comes with the cost of slower execution \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":"chemml/chem/magpie_python/data/materials/CompositionEntry.py"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa0e867699f19a1b9fd26eb18aac478fdd8f843b2ee624ac55c2664e16b41ba"}},{"ruleId":"D28","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":"788b82c23f39e074e504a9ba4876be701fb59a70275a3495fea40da82571610d"},"properties":{"commitSha":"4e13d5d1be3b6a46d0ae984c31aab17b11c1b2b4"}},{"ruleId":"D28","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":"aa7bc691a1cea4af065b881243b4de54313a882a9d542416fbd0f824f806f13c"},"properties":{"commitSha":"bdbd8f8f440e7a2c8a556c945b511933fcb9c34f"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"23a3c153922061d8b6a12cb06526c89608d55d517be1e8a1ebe36191f905cd33"},"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":"0aa40207f4235d9e02b70e9248c9800d00440cfd4f079aed28deea71e7b3c198"},"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":"587fff18c944db49aa2f3e2d62950cda151aef932d128c45f29984192c488d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"0d9ff92ff47b17184d6b64f3ca4ff02708ecc31464985eb55412b9b6e198c904"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"f01c165ba04a93ddc85ea0a92b9ecbd43fb63537eee58f1af7c74123063ff812"},"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":"4bc3c7fd39ae9a8518e9c99e747d3a9584ba2d43a25d57a85a66b3099b97f736"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b923d2a6d4bf9f3d17a069114b8d29dce8e6bc49ce4ae2931de0efd9a515de40"},"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":"7372d73340473745c89d855d3adde839c921203a77c143361c56aa2df524b885"},"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":"2db2aa3db59d5ba312b8d1d099d47d2ada8f2370ebf80ac863db006726ff591d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"95ad6c8e1de00afbff896328204e7cc62478096fb0f2957ee1221b7e15e3353f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"3fbadb2d6d12bd90e4b1f4767a80690b96e53a601539986f1e723999186ef13b"},"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":"1c0a8c2adbe06b3f140572fed737f4af7cfc84fcc1926cc9e325cd52b9d1ee63"},"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":"4f7ece2a8daf2854fdeb9afdd6b1a07c79627fbcdcb117c6315c11e5e4e6b595"},"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":"b335e39f7d72930109fa265c9c923e0a14babff316db037a40ff6e64440fb4e9"},"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":"3b103275d438eb5d7640f0210121eb8ebfdc2616e09424f54f2db2698a8d7f63"},"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":"e968daafea4f0d14d6b9be45216668d9c902ecb80b169dec890d7a5d6b3e212c"},"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":"e5865399e24477c06ad832f14018ff652bf55f5c1d19b9c7536dd25685b032c4"},"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":"aeba6735a0c213979dfbe975e3d4dfd7c855de6e84baa7311e10cd7fd4a4d220"},"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":"4fcf9723eb9fb45e62fdb902b2ab3bcb2e4a2c9a3729dffa45034e14b6d76de0"},"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":"23259b1b31e867bf1d00f78ae7afd6bf543026f552f810f5d5b9b9dbd18599f9"},"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":"ca5c1c5a762059e8a87f312ea4fc10a32789337a02be460c13cbaee79842707c"},"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":"832c6e1ddbb965091d0f5b7fa68daec5d99d201883bacaf25d7a3c60bbfceddc"},"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":"4e0d816d80d3263d5bb1450b240d0abbf7595d22acedb669948ec28d9b6c39b7"},"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":"9ae006b838e0daa7fa972e3cc8f277bb3ca58a4c18ce1654df5ae102df3052ab"},"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":"4c14bf526b4f76908008231ad290d5e9f82534b501c2f89b373a4890a8015bd2"},"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":"83ee44dfd53121bd3b2e647f6bb4d26f57cd63f72b44a1779fe6d0c38d3c05ae"},"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":"31bd70212abe06ecbaecbdcb2e03ab65d4bcdda1f04c2f42baeb2755f7d4df85"},"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":"efe1baf4ca4dc71705ab5ca42fc1cca1e53767cbb4f2cfff2fec762808f14799"},"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":"cecc80f5d514da6bcbcfbc8e3bf3bf7fa34ba51167216840285797fd5177f635"},"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":"18bed8e61bfbbd8b113d1bc2b1a3b5556466a29440bfddb0541af4d772fdce26"},"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":"c356e91bfbb445789e24084826ef281a263cfa14811d19dbbcff2274b085c8fe"},"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":"a46a7a7559cbac3576f49401b61bde4352cf3c51afaa12a81285261eeaaf928e"},"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":"3f5d13b7ca8ece4fabc3bf6af20e8609d8e1ab665da3ab5127804e43db0d03b5"},"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":"888235c8434bee27f7e59469f52bb0fdde2a0ac01d977435acc65dd2cb7e7a76"},"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":"4d0123fa85171cb7dd6e648d626d01eae1e08563dda5ca4439dea28f1d56cd5b"},"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":"1438dd2868b1a3e00a4989e7f7b7b4509591896a8d94bf3b5e4d8a1055457e83"},"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":"a4f941c37cfbd4922b3af834e73e67ff520dc1fa21fc41e12ec05aa9a233afcf"},"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":"1f14bd808c616d1cef8ad3e8deefc747c5576bb7843c4deb2ca3e31b2167760a"},"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":"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":"63bea608fd98974a5a312ed989a52706c988bfdbb0e401f0928bf7ee4f23d1b9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","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":"d1e75f929980d1edc07c089e61acefaff4003829ae719fc3ca9e46bab1cafe13"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"9e10bd23dd261bf6186183b84f7034a20b484454dd0a55173a90a60913604809"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"dc3004ec42ee20337daa9b600aa5d0df9f013e6199a4bb829a55f35fbe830cf3"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"9c643cc5dbf3be7465e81734e9f2c231e02e89e732623189e58de73ac35c727a"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"3875aad8fec7951128e7868ae279a314b8e692544747dde41f35ac662b2712eb"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"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/test.yml"},"region":{"startLine":6}}}],"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":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb10b4cecf1ff8954b4572fe00acd990e1e486a213ddb60c937a99b3b59c61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entries and not isinstance(entries[0], CompositionEntry)\u0060 appears character-identically in 13 files \u2014 chemml/chem/magpie_python/attributes/generators/composition/APEAttributeGenerator.py, chemml/chem/magpie_python/attributes/generators/composition/ChargeDependentAttributeGenerator.py, chemml/chem/magpie_python/attributes/generators/composition/ElementFractionAttributeGenerator.py, chemml/chem/magpie_python/attributes/generators/composition/ElementPairPropertyAttributeGenerator.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":"chemml/chem/magpie_python/attributes/generators/composition/APEAttributeGenerator.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b8b978256a10164f1055b1c7abd473a40481afccb99a8ef1d6308122b65a4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entries and not isinstance(entries[0], CrystalStructureEntry)\u0060 appears character-identically in 10 files \u2014 chemml/chem/magpie_python/attributes/generators/crystal/APRDFAttributeGenerator.py, chemml/chem/magpie_python/attributes/generators/crystal/ChemicalOrderingAttributeGenerator.py, chemml/chem/magpie_python/attributes/generators/crystal/CoordinationNumberAttributeGenerator.py, chemml/chem/magpie_python/attributes/generators/crystal/CoulombMatrixAttributeGenerator.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":"chemml/chem/magpie_python/attributes/generators/crystal/APRDFAttributeGenerator.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c66f7320ca8be00d1f33d2f3bbf5fb6bce4989d01a130095361414d08766eb1"}},{"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":"chemml/wrapper/interfaces.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2170f2f4306a024f260b6903a8adbf7f3220c994eeb65f858e589aa0c958b28e"}},{"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":"chemml/utils/backend.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca53b6f76b104f5b937b12edfe4fef29b989a66febed80c6030632f68c2bb4"}},{"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":"chemml/utils/validation.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"15255bf12efab954c8a7b209714296aeb3e5098fd546b4934e208cbc0705d8ea"}},{"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":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2978ad74f4a30263285840773703ceccedaa02a11e6e26c22f12947a1995d6a7"}},{"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":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c743c6071a64546b6b3f279c62d8a7fe9cccbb625b896f1e622dd497655ca6e3"}},{"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":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiCell.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"745ff07dd40a8f2a4175fe71b5969b51cbe3d32575a0925fc229539a015581b1"}},{"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":"chemml/chem/magpie_python/vassal/analysis/voronoi/VoronoiFace.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd33c0327d6bbd009cc1860c2bd1126664e10800bbcf28d66f09dd8b3edada3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 205 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.info(\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.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chemml/optimization/genetic_algorithm.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a14d24b8cc191d446c3ea72f58a3e1d853afa1a11630c5eff998ea84a84fe57"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":49,"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."]}]}