{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","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-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"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":"SequentialBaseModel.fit (cyclomatic 23): SequentialBaseModel.fit 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":"recommenders/models/deeprec/models/sequential/sequential_base_model.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e1bafe457d138fa16c5ed899ab93f51434f5422a531f646ab1f76d105cb1bf"}},{"ruleId":"D1","level":"warning","message":{"text":"mind.generate_embeddings (cyclomatic 21): mind.generate_embeddings 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":"recommenders/datasets/mind.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2bf4fa4151ec5d8c3b45c81798a87d586757c11ab78e81b428bd7daef90c67"}},{"ruleId":"D1","level":"warning","message":{"text":"RecoDataLoader.from_df (cyclomatic 21): RecoDataLoader.from_df has cyclomatic complexity 21 (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":"recommenders/models/embdotbias/data_loader.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0baa4fef6fb6fa24868561f77b201520bc41d664dc4353f25e87f3ed6548fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ConjugateGradientMS.solve (cyclomatic 21): ConjugateGradientMS.solve 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":"recommenders/models/rlrmc/conjugate_gradient_ms.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f745faca892cc6ff276a111e90b5c06d0a4dbb5c745462c9ed44e0bcba38f0c"}},{"ruleId":"D1","level":"warning","message":{"text":"amazon_reviews._data_generating_no_history_expanding (cyclomatic 18): amazon_reviews._data_generating_no_history_expanding 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":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"798e8e6da36b9dcbea49fb30bf0e7ca73830ff60a6b0dc0d896bd923e344db8d"}},{"ruleId":"D1","level":"warning","message":{"text":"WideDeepModel.fit (cyclomatic 17): WideDeepModel.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":"recommenders/models/wide_deep/wide_deep_utils.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3139adf29dfea7bda7179d2b1cdff6587d10ad8dc033c8df848850dc901359"}},{"ruleId":"D1","level":"warning","message":{"text":"newsrec_utils.check_type (cyclomatic 16): newsrec_utils.check_type 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":"recommenders/models/newsrec/newsrec_utils.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1334e7d854dc9a4ebe4ba2e33cb55c5c811d4f9125587581bacfef3790d47a"}},{"ruleId":"D1","level":"warning","message":{"text":"SASREC.evaluate (cyclomatic 16): SASREC.evaluate 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":"recommenders/models/sasrec/model.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5c56a3cd4acb51a91c661b535bdc893efed92cbba1ed0af8d8227946a18504"}},{"ruleId":"D1","level":"warning","message":{"text":"plot.line_graph (cyclomatic 16): plot.line_graph 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":"recommenders/utils/plot.py"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"963c2a53aa79855ba6f40f9a06e599d0f18810f2148fbe0d151444c6bee2dca0"}},{"ruleId":"D2","level":"warning","message":{"text":"mind.generate_embeddings (cognitive 57): mind.generate_embeddings has cognitive complexity 57 (threshold 15). Drivers by points: if/else 8 (30 pts), loops 12 (26 pts), boolean chains 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/mind.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3c6fdb1e0eb3c6f046b36206841bba64c37fa40579281337f2d5da0e036486"}},{"ruleId":"D2","level":"warning","message":{"text":"amazon_reviews._data_generating_no_history_expanding (cognitive 43): amazon_reviews._data_generating_no_history_expanding has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 4 (13 pts), boolean chains 2 (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":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5726659b8c0ec6dfb12a481620d8b342ae9bac6564c292d7c4d9e8ca295c594"}},{"ruleId":"D2","level":"warning","message":{"text":"SASREC.evaluate (cognitive 41): SASREC.evaluate has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 6 (15 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":"recommenders/models/sasrec/model.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"42430e993c088dbe70c287172d7201f3fd760202824749de2e496b07e8be0458"}},{"ruleId":"D2","level":"warning","message":{"text":"SASREC.evaluate_valid (cognitive 38): SASREC.evaluate_valid has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 6 (15 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/sasrec/model.py"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a881106fc52e443ff64fd6db9bd5904e9334e54f791be31938f138bd7f581"}},{"ruleId":"D2","level":"warning","message":{"text":"SequentialBaseModel.fit (cognitive 37): SequentialBaseModel.fit has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/sequential/sequential_base_model.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26677b47a267e08e3c9fd1f7860b5690e7ec6b9e311836aa30656a62007018d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConjugateGradientMS.solve (cognitive 35): ConjugateGradientMS.solve has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (29 pts), error handling 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/rlrmc/conjugate_gradient_ms.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"928caf374711b6718790b635e25b7437712a45781248347e15810ce0da6b69c7"}},{"ruleId":"D2","level":"warning","message":{"text":"SequentialBaseModel.fit (cognitive 30): SequentialBaseModel.fit has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2bedeb9ef760b90f8ee17f38db7c9502865bf9a1637bbb1769b0cd6d461cc"}},{"ruleId":"D2","level":"warning","message":{"text":"DataFile._init_data (cognitive 30): DataFile._init_data has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (27 pts), boolean chains 2, loops 1 (nesting depth added 18). 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":"recommenders/models/ncf/dataset.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3278955beb18941552ca02309feb0cfae404066ae369509a1cdf46bcd686aef3"}},{"ruleId":"D2","level":"warning","message":{"text":"amazon_reviews._data_generating (cognitive 29): amazon_reviews._data_generating has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (10 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20cab804548c16492f21840bd16a50e17784c374922a39b0cc58f2af2990843"}},{"ruleId":"D2","level":"warning","message":{"text":"WideDeepModel.fit (cognitive 29): WideDeepModel.fit has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/wide_deep/wide_deep_utils.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b192db465c368495ccc4d41cb083d5a748acb54cc5cf3fea4a3c77e1da555e5"}},{"ruleId":"D2","level":"warning","message":{"text":"DKNBase.fit (cognitive 27): DKNBase.fit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/pytorch/dkn.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cd659e01c84b4d8b80cb837afdb78e5433630703f9bc94bba0d356bc7a50c3"}},{"ruleId":"D2","level":"warning","message":{"text":"NextItNetIterator._convert_data (cognitive 25): NextItNetIterator._convert_data has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 4 (9 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":"recommenders/models/deeprec/io/nextitnet_iterator.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa1fe78739ed9890d93668b2de80722a97cc756e992c3f4d545d89db72225ce"}},{"ruleId":"D2","level":"warning","message":{"text":"plot.line_graph (cognitive 25): plot.line_graph has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/utils/plot.py"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b9468303602e85efd5afbf915442767da90226ccef3d480f48d47435b6c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"SequentialDataset._convert_data (cognitive 24): SequentialDataset._convert_data has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (12 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":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d12cd5005abea33dc989a6dca81da23be0abd7590e9da54467e205e18fddea3"}},{"ruleId":"D2","level":"warning","message":{"text":"SequentialIterator._convert_data (cognitive 24): SequentialIterator._convert_data has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (12 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":"recommenders/models/deeprec/io/sequential_iterator.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b0b0ddaf15323e449188fe22ceb007c3bcd059a4874395f155a41b71eacb9a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModel.fit (cognitive 24): BaseModel.fit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6eaca4a2e14392ca08fcbbfee0e2bb694ac4335920c586ca32049faae4ca58"}},{"ruleId":"D2","level":"warning","message":{"text":"XDeepFMModel.fit (cognitive 24): XDeepFMModel.fit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/pytorch/xdeepfm.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2966290e931d219838f827bf585215a46b455b029343ba025ebeb109d193a6"}},{"ruleId":"D2","level":"warning","message":{"text":"RecoDataLoader.from_df (cognitive 23): RecoDataLoader.from_df has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, ternaries 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/embdotbias/data_loader.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eeb2ee649f84301c897eb26efb65d1f1279a403383812670da695b69752c31"}},{"ruleId":"D2","level":"warning","message":{"text":"amazon_reviews._create_vocab (cognitive 22): amazon_reviews._create_vocab has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 6 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85ed52cdb6af2f7fee8fd28dd351c0263cdd60601df8b708f6cbae57d40e682"}},{"ruleId":"D2","level":"warning","message":{"text":"wikidata.search_wikidata (cognitive 21): wikidata.search_wikidata has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (7 pts), error handling 2 (4 pts), ternaries 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":"recommenders/datasets/wikidata.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"932a6f173fc62f047c10c2020cea15ef311fe165d1cb94c8b01b6e827e89b1a9"}},{"ruleId":"D2","level":"warning","message":{"text":"newsrec_utils.check_type (cognitive 20): newsrec_utils.check_type has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 5 (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":"recommenders/models/newsrec/newsrec_utils.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf2507e9e20ad6d875a204b6c37381f235347f20452d1921b0d27f46e947512"}},{"ruleId":"D2","level":"warning","message":{"text":"SASREC.train_model (cognitive 20): SASREC.train_model has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/sasrec/model.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b458cb3e463ba831fb05b903a4437988be682e3ad25b0f4bfc4ff102d01196"}},{"ruleId":"D2","level":"warning","message":{"text":"SequentialBaseModel._regular_loss (cognitive 19): SequentialBaseModel._regular_loss has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe36340f9af394f92a5e28cf60a974a0f9ceb471932f171946b03c67601b79"}},{"ruleId":"D2","level":"warning","message":{"text":"MockMovielensSchema.get_df (cognitive 18): MockMovielensSchema.get_df has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3 (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":"recommenders/datasets/movielens.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"0010bb813ac4fcb13c7e2a4ab18216942295a578ee6e1ef8171ace4d63c6555a"}},{"ruleId":"D2","level":"warning","message":{"text":"MINDAllIterator.init_news (cognitive 18): MINDAllIterator.init_news has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (6 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":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4adf731ef5133744e9b3d5fd9031f151f73c7280cb58039a6e3e28ba25c4612"}},{"ruleId":"D2","level":"warning","message":{"text":"python_splitters._do_stratification (cognitive 17): python_splitters._do_stratification has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"recommenders/datasets/python_splitters.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"322f7eaff3e7e97bea677d3bf9aa53be853822bc6fded0f04578827188d55137"}},{"ruleId":"D2","level":"warning","message":{"text":"download_utils._download (cognitive 16): download_utils._download has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 1 (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":"recommenders/datasets/download_utils.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd9137aacde1ae2e8b54dac03f68b35519f220b8eb627b9531ef419937755df"}},{"ruleId":"D2","level":"warning","message":{"text":"LibffmConverter.transform (cognitive 16): LibffmConverter.transform has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/pandas_df_utils.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"237d0d1b2359b856ab6002adad67694215604199f3d194c88d9a7732c381f710"}},{"ruleId":"D2","level":"warning","message":{"text":"spark_splitters._do_stratification_spark (cognitive 16): spark_splitters._do_stratification_spark has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"recommenders/datasets/spark_splitters.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"93893be40523466352fb183f5189ba1593b697e5dd5e7cf027deb2aef130dff1"}},{"ruleId":"D2","level":"warning","message":{"text":"deeprec_utils.check_type (cognitive 16): deeprec_utils.check_type has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 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":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8628e80e5c6b98d98b5a83ca503e513482edceb29c4f8e4ea24e7db5699ef7fb"}},{"ruleId":"D2","level":"warning","message":{"text":"deeprec_utils.cal_metric (cognitive 16): deeprec_utils.cal_metric has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (7 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":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83f1d86e4f9772c7f8c2d04f3c1764ace79db47ade79d7faf7d19e82b04c74a"}},{"ruleId":"D2","level":"warning","message":{"text":"SequentialIterator.load_data_from_file (cognitive 16): SequentialIterator.load_data_from_file has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (5 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_iterator.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa27aab1c54cf74a33f4734ceb05abaea014d74b2712c0b840e3dc250458df1b"}},{"ruleId":"D2","level":"warning","message":{"text":"LightGCN.fit (cognitive 16): LightGCN.fit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/graphrec/lightgcn.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"98986ecbd88ff2de32a316c67b9e3dea9428ba3e0b46dc67eccd05fe89d02d3b"}},{"ruleId":"D2","level":"warning","message":{"text":"svd_training.svd_training (cognitive 16): svd_training.svd_training has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/tuning/nni/svd_training.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f70d4f9c2d3555d26ded9dea04609f5dc461c2ada574d3ffbe03829f0f0eb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: evaluation/python_evaluation.py: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/evaluation/python_evaluation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"770249b2a675733cca40f3557c45bd1b2495b6371ea6df9e34a29825c5988b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (123 shared lines): recommenders/models/deeprec/io/sequential_dataset.py:265-410 | recommenders/models/deeprec/io/sequential_iterator.py:291-449 \u2014 These two members are variants of one another: 123 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":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d241ebdd3f429d7ea7e2fde8c0aecf99310bf2871a068e184574937b641997f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 shared lines): recommenders/models/deeprec/io/sequential_dataset.py:70-141 | recommenders/models/deeprec/io/sequential_iterator.py:85-165 \u2014 These two members are variants of one another: 70 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"68222074caa6785e5e5e80410f39d3b31efc504b9b592c99264a9114e859ddd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): recommenders/tuning/nni/ncf_training.py:123-151 | recommenders/tuning/nni/svd_training.py:118-159 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/tuning/nni/ncf_training.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a735ff1002c397770800e34fa7454dcd7709ea9fb96795ef63b761163708e093"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): recommenders/models/vae/multinomial_vae.py:319-339 | recommenders/models/vae/standard_vae.py:293-313 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b81f368a905ef185b9691d4d5173a1eb75adaee514922f169b2af3ce478da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): recommenders/models/newsrec/models/lstur.py:129-158 | recommenders/models/newsrec/models/naml.py:178-204 | recommenders/models/newsrec/models/naml.py:207-233 | recommenders/models/newsrec/models/npa.py:99-144 \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":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3cb4a4d0dfd5c248ec902317b9085f1d7eab34cd112226a6d8088832e4a9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): recommenders/models/newsrec/models/lstur.py:161-212 | recommenders/models/newsrec/models/naml.py:286-396 | recommenders/models/newsrec/models/npa.py:147-219 | recommenders/models/newsrec/models/nrms.py:143-193 \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":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e12e9f8e145d71e6a9a4085e85760314347126251b09c4325eb0138effdecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): recommenders/models/deeprec/models/sequential/sum_cells.py:165-228 | recommenders/models/deeprec/models/sequential/sum_cells.py:294-366 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/sequential/sum_cells.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe34bb27933ca08ece47d134068d5f752aea9c357f933dac8c02c72ef9962bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): recommenders/models/sasrec/model.py:785-879 | recommenders/models/sasrec/model.py:882-972 \u2014 These two members are one piece of code written twice and then edited apart: 91 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":"recommenders/models/sasrec/model.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7deb83aca35fcc0fa2922949210036f269e04d1d445349186512d7da22bb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): recommenders/models/deeprec/io/nextitnet_iterator.py:24-70 | recommenders/models/deeprec/io/sequential_iterator.py:17-64 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"recommenders/models/deeprec/io/nextitnet_iterator.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7198d95132ef5d50cc1a05bb525e672282bd71b2d22632d2c02e033edd97556b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (104 corresponding lines): recommenders/models/deeprec/io/sequential_dataset.py:146-249 | recommenders/models/deeprec/io/sequential_iterator.py:168-275 \u2014 These two members are one piece of code written twice and then edited apart: 104 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":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f214b8fd7a56e189e2586e081152d7bd83be52fe784580219e73e3d3c3dae376"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): recommenders/datasets/amazon_reviews.py:193-263 | recommenders/datasets/amazon_reviews.py:269-352 \u2014 These two members are one piece of code written twice and then edited apart: 71 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":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc30fef53a6961ea8d0adf82fe37a299152c340166cd6555e152c225f118a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): recommenders/models/deeprec/models/pytorch/dkn.py:257-339 | recommenders/models/deeprec/models/pytorch/xdeepfm.py:385-461 \u2014 These two members are one piece of code written twice and then edited apart: 77 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":"recommenders/models/deeprec/models/pytorch/dkn.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87fea9844d26399e83df4da65ad533b53e0bdc5e5e8e47ab09f82664eeea0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): recommenders/models/sasrec/util.py:115-136 | recommenders/models/sasrec/util.py:139-167 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/sasrec/util.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96748b9fe22e03af986a6ace0692d402d05cf34817531058210ccdfd6b77816"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): recommenders/models/deeprec/models/pytorch/fcn_net.py:36-77 | recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py:113-137 \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":"recommenders/models/deeprec/models/pytorch/fcn_net.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4c99762c60e0d50aaa20c3f9110d1c3ac3caed3582f9a94be650a2b3a3ad58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): recommenders/models/newsrec/models/layers.py:29-56 | recommenders/models/newsrec/models/layers.py:148-176 \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":"recommenders/models/newsrec/models/layers.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6876d3a4bc7540cd5dc965faf8f7d8da40c5b07b1e00676399d214889c7baea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): recommenders/models/deeprec/models/base_model.py:569-595 | recommenders/models/deeprec/models/sequential/sequential_base_model.py:193-225 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff3a55539dbc8e38a5a7c8f82bb7892cf7097288826dbeab08ce4566fad9667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): recommenders/models/newsrec/models/naml.py:236-258 | recommenders/models/newsrec/models/naml.py:261-283 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/naml.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"da397a7e08a16711e9623b5d8ac089fee4755c890ea848cd4403c2165182dfa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): recommenders/models/vae/multinomial_vae.py:30-57 | recommenders/models/vae/standard_vae.py:29-52 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31c55fc6a57c4de5f5a835f289b15959113fcd97343a0b53a17691fee10e02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): recommenders/models/lightfm/lightfm_utils.py:129-152 | recommenders/models/lightfm/lightfm_utils.py:156-180 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/lightfm/lightfm_utils.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f76f70307946929596b71e14098ddc2ee88f1ee15d5e52c86ec675fd0dfe67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): recommenders/datasets/mind.py:148-169 | recommenders/datasets/mind.py:173-194 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/mind.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"912b8d5a32d800fe59b1f3bfaba1109f1915dc7ada80194694523b28ee56af89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): recommenders/models/deeprec/models/pytorch/dkn.py:224-236 | recommenders/models/deeprec/models/pytorch/xdeepfm.py:346-362 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/pytorch/dkn.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8e05672a5c98b50f4af333042f112c0a03a2c6f87c47d60aafb751e9b8ed5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): recommenders/models/deeprec/models/sequential/gru.py:39-58 | recommenders/models/deeprec/models/sequential/gru.py:61-80 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/sequential/gru.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"daae37d683185c309b6e5411742a1da0dfbe5913c2fef2bab29dca5e540fcc96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:893-913 | recommenders/models/deeprec/models/base_model.py:543-566 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacf91f1e6766a83cb1309a30ca500d0760354224cd8d1caf39c10bbb41da9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): recommenders/models/deeprec/io/dkn_dataset.py:61-86 | recommenders/models/deeprec/io/dkn_dataset.py:151-180 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/dkn_dataset.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5418ba19557e418e9c4f9904f07fb7f0b60b580a3c88db658586e7f3bcf64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): recommenders/models/deeprec/DataModel/ImplicitCF.py:113-136 | recommenders/models/rlrmc/RLRMCdataset.py:130-154 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/DataModel/ImplicitCF.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93b6c92c7f8c6844fa8b497ae84870a61d67971fbb95e4733a634393d6cc2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): recommenders/models/newsrec/models/nrms.py:98-118 | recommenders/models/newsrec/models/nrms.py:121-140 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/nrms.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a27abc38fe94b365136d36ec8ca65a995b53a5093dc89bcbc86cd10e08df4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): recommenders/models/deeprec/models/base_model.py:136-149 | recommenders/models/deeprec/models/base_model.py:152-167 \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":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"835a9fc986b3249cd92c8c7f46ab55dc2bc7831907425006688fb8da9352d1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): recommenders/models/embdotbias/training_utils.py:43-66 | recommenders/models/embdotbias/training_utils.py:69-92 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/embdotbias/training_utils.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98fc082d01a6f95ae5748558a014284e2c868001d7698347e73880907a65b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): recommenders/models/deeprec/models/pytorch/dkn.py:630-650 | recommenders/models/deeprec/models/pytorch/xdeepfm.py:499-518 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/pytorch/dkn.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"718680b9ddde993b9eec07a28152ec7ec4bc09b5b2a763fc80b6ab9789495987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): recommenders/models/deeprec/models/base_model.py:598-618 | recommenders/models/deeprec/models/sequential/sequential_base_model.py:228-248 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"df28e72629ea8148428480b71a7eb9ee2d8b94bfb23588966bf523cf12e03ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): recommenders/models/vae/multinomial_vae.py:170-182 | recommenders/models/vae/standard_vae.py:155-166 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce2ee4b4ef24d01af6b8cb4e4c965b1d9dfc5b925c0b88abf01d8aeb07c3523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): recommenders/evaluation/spark_evaluation.py:397-428 | recommenders/evaluation/spark_evaluation.py:482-514 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/evaluation/spark_evaluation.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c26e990394f9f8ea5f3d468a41a431e86333f6c371b2780f41e5563ce0fe6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): recommenders/models/newsrec/models/base_model.py:357-369 | recommenders/models/newsrec/models/base_model.py:372-384 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/base_model.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f778cf148d4430ce6fd635c98ab5f0f01f0a400ddb363013555bb71f22650f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): contrib/sarplus/scala/src/main/scala/com/microsoft/sarplus/SARCacheOutputWriter.scala:46-63 | contrib/sarplus/scala/src/main/scala/com/microsoft/sarplus/SARCacheOutputWriter.scala:66-83 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/sarplus/scala/src/main/scala/com/microsoft/sarplus/SARCacheOutputWriter.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac6e93a41955851cf13e19684496d15219c038fbff8d680ae09191c6a8dcf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): recommenders/models/newsrec/io/mind_all_iterator.py:469-496 | recommenders/models/newsrec/io/mind_all_iterator.py:547-576 | recommenders/models/newsrec/io/mind_iterator.py:279-305 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"4249db7f8b2501c6a706f20bee0913636b197ff40f9a91634cf9c80ae83f2add"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): recommenders/datasets/amazon_reviews.py:386-395 | recommenders/datasets/amazon_reviews.py:399-415 \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":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd68a1500889aa497ffe1c06f9c13836716ea6205c1a8a96b00d06877088f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): recommenders/utils/python_utils.py:42-64 | recommenders/utils/python_utils.py:134-153 | recommenders/utils/python_utils.py:157-175 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"recommenders/utils/python_utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"808ea692a4c8f7d3391dd7109e4c7c6c6a1f7d82033142e25a0765764a9a8f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): recommenders/models/vae/multinomial_vae.py:212-219 | recommenders/models/vae/standard_vae.py:196-201 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aef4e30a82f120c737d134d1b3c05f804e9b4e998c0daf5fab45de7950105f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): recommenders/models/deeprec/models/sequential/caser.py:40-49 | recommenders/models/deeprec/models/sequential/gru.py:26-36 \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":"recommenders/models/deeprec/models/sequential/caser.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2639d8123332f35198bd432ca75f6378cdd8fb7a1fc7c4b609929d539879d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): recommenders/models/deeprec/models/graphrec/lightgcn.py:351-370 | recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py:533-543 \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":"recommenders/models/deeprec/models/graphrec/lightgcn.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c63b920713e4070fa4f3da6fd30e803a204f0d3bb4117779569399a15c0603e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): recommenders/models/deeprec/models/base_model.py:92-112 | recommenders/models/newsrec/models/base_model.py:129-148 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"365c11bb0747df469fc0101511cab79dd61e6b7e81823c30818d348bc10510e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): recommenders/models/deeprec/deeprec_utils.py:366-385 | recommenders/models/newsrec/newsrec_utils.py:248-265 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb09c053972acb5b55bfc75148ee0ba48a480b3120bf8c9821b73aeb4463fa02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): recommenders/models/vae/multinomial_vae.py:82-85 | recommenders/models/vae/standard_vae.py:74-77 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4727c2afcf8bea5ba018c9b4fa5ab031cba0451a8f4da8b0a1251483319f9ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:229-302 | recommenders/models/vae/standard_vae.py:211-284 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d586615c69dafec3925041671a623aaeda7bf6fe75cf5a1c9574b52d9d147e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:146-210 | recommenders/models/deeprec/io/sequential_iterator.py:168-232 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40449ed23befb1f0e681b6c349b93274187624af70b5693353252dc24753514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:116-167 | recommenders/models/vae/standard_vae.py:101-152 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3584be4e1f1adf8127e88e9f039c0e46f87c4a1a4010b9f33228c72b476a3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): recommenders/models/sasrec/model.py:836-879 | recommenders/models/sasrec/model.py:929-972 \u2014 both copies are in the same file, so extract the block 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":"recommenders/models/sasrec/model.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6d8cc0ded1700b236e5ad2abf6fb497b38c0c0653f02b1910e8daf6390b860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): recommenders/evaluation/python_evaluation.py:768-811 | recommenders/evaluation/python_evaluation.py:826-867 \u2014 both copies are in the same file, so extract the block 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 \u0060recommenders/evaluation/python_evaluation.py:826\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/evaluation/python_evaluation.py"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5595ba126fe5c07d0347ea72bb9a6bab651ab4e5bed67a3aa8a4775b63497d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:328-392 | recommenders/models/deeprec/io/sequential_iterator.py:369-433 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/io/sequential_dataset.py:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"850466b1fdf6d55c32bf5462818b5f6c7a5f67badbddbadb523ad46e9b2b04bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201352 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:70-114 | recommenders/models/deeprec/io/sequential_iterator.py:85-136 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cb6838708c1f666f81a209018e56bc4b23ce76a50311b5d2b36cb19353e4ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:283-317 | recommenders/models/deeprec/io/sequential_iterator.py:322-357 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/io/sequential_dataset.py:283\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1c1686e3bc7d5b41a460e9ba8d24e42947e8007245582c80bb2f706d3f43fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): recommenders/models/deeprec/models/sequential/sum_cells.py:193-228 | recommenders/models/deeprec/models/sequential/sum_cells.py:331-366 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/sequential/sum_cells.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e7a0181850736c09d4065a60dd99d5337d0e4f8e8acb0f403e56ebcfce4e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:164-196 | recommenders/models/newsrec/io/mind_iterator.py:137-167 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/io/mind_all_iterator.py\u0060 and \u0060recommenders/models/newsrec/io/mind_iterator.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4598cd0de3464471db51eef7a7d84ca844a82e9f06a286a4b8af2dfd16dcbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): recommenders/evaluation/python_evaluation.py:468-505 | recommenders/evaluation/python_evaluation.py:521-552 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/evaluation/python_evaluation.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dce66e383c806224e85497259de3f0d945ebc2c55d931a683081caa760c9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): recommenders/models/deeprec/models/base_model.py:504-535 | recommenders/models/newsrec/models/base_model.py:253-284 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/models/base_model.py\u0060 and \u0060recommenders/models/newsrec/models/base_model.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060recommenders/models/deeprec/models/base_model.py:538\u0060 calls \u0060close\u0060 and \u0060recommenders/models/newsrec/models/base_model.py:286\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":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeec4fbaee6e07dc2b900552781e223d39bb4f2b6ccaf9d31cd841093b1f8e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): recommenders/models/deeprec/io/nextitnet_iterator.py:86-116 | recommenders/models/deeprec/io/sequential_iterator.py:291-320 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/nextitnet_iterator.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/io/nextitnet_iterator.py:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"recommenders/models/deeprec/io/nextitnet_iterator.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7e1dafc05a4c51ed3da9422cbefe3ce01da8f80dd4987f36243b549466a936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): recommenders/models/sasrec/model.py:805-832 | recommenders/models/sasrec/model.py:901-928 \u2014 both copies are in the same file, so extract the block 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":"recommenders/models/sasrec/model.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"262ed4e78118ebf954903ce126dae884c858a84c7ce36d145531ed9e554254b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): recommenders/models/deeprec/models/sequential/sum_cells.py:165-191 | recommenders/models/deeprec/models/sequential/sum_cells.py:294-319 \u2014 both copies are in the same file, so extract the block 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":"recommenders/models/deeprec/models/sequential/sum_cells.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"719b79d78f825ab89ed255b2bf519f3fdfc5479dec6e2a9b33e1b81825604822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201326 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:362-387 | recommenders/models/newsrec/io/mind_iterator.py:279-298 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/io/mind_all_iterator.py\u0060 and \u0060recommenders/models/newsrec/io/mind_iterator.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"630bb778ebcbb9087431ef6c6ffe058d49cf4ef821c77463090699b7af1c35df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 3): recommenders/models/newsrec/models/lstur.py:161-183 | recommenders/models/newsrec/models/npa.py:147-171 | recommenders/models/newsrec/models/nrms.py:143-167 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/models/lstur.py\u0060 and \u0060recommenders/models/newsrec/models/npa.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"826da12f3fc27210ac94f9f7a41bb4e222ca6e267b2f3916e54414f457d06ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): recommenders/models/deeprec/models/pytorch/dkn.py:304-327 | recommenders/models/deeprec/models/pytorch/xdeepfm.py:427-449 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/models/pytorch/dkn.py:304\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/pytorch/dkn.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba2c3d3e856aa15abe248c33a055f2b5efb94984b3ba6e9b713e030d8660f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:579-602 | recommenders/models/newsrec/io/mind_iterator.py:441-464 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/io/mind_all_iterator.py\u0060 and \u0060recommenders/models/newsrec/io/mind_iterator.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cf4b18adf805e712ae1702d829495aa1908ccd31d71d6725ebb71ced200e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:212-234 | recommenders/models/newsrec/io/mind_all_iterator.py:322-344 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d0d1961105fa80939d08d4d9a264f6b4d4af0d21cdfb13d143dc474bb2eba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:357-378 | recommenders/models/vae/standard_vae.py:331-353 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"214dcc6597515714f0d828611a3fc3325700523fd7d3a850d59ad0b0893a47a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:37-57 | recommenders/models/vae/standard_vae.py:33-52 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a649a6d177eee2d53e9c81acd510e5d3d6fdeed6b4278a38d13e8e36294d4569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): recommenders/datasets/amazon_reviews.py:148-167 | recommenders/datasets/amazon_reviews.py:170-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f16c9f55a4bd1b9dc48bd98a86731a0769d1390c0956634457b43641bcc051c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): recommenders/models/deeprec/io/nextitnet_iterator.py:206-224 | recommenders/models/deeprec/io/sequential_dataset.py:350-367 | recommenders/models/deeprec/io/sequential_iterator.py:389-406 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/nextitnet_iterator.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/io/nextitnet_iterator.py:206\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/nextitnet_iterator.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"29114b5ba8805808660f6e2665e7015a30f44d4067ab49644bb976aa3841f29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): recommenders/models/deeprec/io/nextitnet_iterator.py:52-70 | recommenders/models/deeprec/io/sequential_iterator.py:46-64 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/nextitnet_iterator.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/nextitnet_iterator.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f48ff1c052338c34566b4b9c944546646cedd8ebb25f4ab1cdf9e814e6964b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:214-232 | recommenders/models/newsrec/io/mind_iterator.py:173-191 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/io/mind_all_iterator.py\u0060 and \u0060recommenders/models/newsrec/io/mind_iterator.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/newsrec/io/mind_all_iterator.py:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"903535197d907e49a7f788b0a24e3a5df990083d238ad6b4d71617d1c1f3e593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:282-300 | recommenders/models/newsrec/io/mind_iterator.py:220-238 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/io/mind_all_iterator.py\u0060 and \u0060recommenders/models/newsrec/io/mind_iterator.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/newsrec/io/mind_all_iterator.py:282\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ba8f248e0741bb1fee07d0caa74e19ad61a8c2f8c84b12b757369e601ec7bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:893-907 | recommenders/models/deeprec/models/base_model.py:543-560 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bff5ae45948d6c9aa62b7951615c786a073844daa41e3eaaa790f55b0846eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:200-219 | recommenders/models/newsrec/io/mind_all_iterator.py:238-257 \u2014 both copies are in the same file, so extract the block 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":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"60573014c89f374fa1f2642b6592b3e0c4dd6b9107d49df81236cf9ec4d4e140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): recommenders/models/newsrec/models/lstur.py:129-146 | recommenders/models/newsrec/models/naml.py:178-195 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/models/lstur.py\u0060 and \u0060recommenders/models/newsrec/models/naml.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/newsrec/models/lstur.py:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b021a1bf5e215db60d5b49081b7ab79048a7fc20c8d0d7eb89abc8965df0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:131-161 | recommenders/models/newsrec/io/mind_iterator.py:104-134 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/io/mind_all_iterator.py\u0060 and \u0060recommenders/models/newsrec/io/mind_iterator.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1923e9374d6d9a79867988200de626466c602545238d4dfc4f5e2642fa977528"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): recommenders/datasets/amazon_reviews.py:203-218 | recommenders/datasets/amazon_reviews.py:283-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/amazon_reviews.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f3f1745e9d67a020aea4de5d1778f85b904df5a6fd8dbb8efb95a69b821da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): recommenders/evaluation/spark_evaluation.py:87-101 | recommenders/evaluation/spark_evaluation.py:236-251 \u2014 both copies are in the same file, so extract the block 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 \u0060recommenders/evaluation/spark_evaluation.py:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/evaluation/spark_evaluation.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"916b8dc6c7900ba1f5d31e5a863497a7d891dc91e8d31944666f8187b4934b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:126-141 | recommenders/models/deeprec/io/sequential_iterator.py:150-165 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f355159a15e4b85a9ea11c65f524201c2d4f81e525aee266978cc37f35495ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): recommenders/models/sasrec/model.py:633-655 | recommenders/models/sasrec/ssept.py:243-266 \u2014 before extracting anything, compare \u0060recommenders/models/sasrec/model.py\u0060 and \u0060recommenders/models/sasrec/ssept.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/sasrec/model.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfa358e6e1915deac2b7c988beb8f63d91b1b28f25a27eb6334e84ed44b8b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:323-339 | recommenders/models/vae/standard_vae.py:297-313 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85ba541c0f5eb46a563357c11c28198c026198f16d5b521c40211cd8c584145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): examples/04_model_select_and_optimize/train_scripts/svd_training.py:105-121 | recommenders/tuning/nni/ncf_training.py:130-146 | recommenders/tuning/nni/svd_training.py:125-141 \u2014 before extracting anything, compare \u0060examples/04_model_select_and_optimize/train_scripts/svd_training.py\u0060 and \u0060recommenders/tuning/nni/svd_training.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/04_model_select_and_optimize/train_scripts/svd_training.py:102\u0060 calls \u0060add_argument\u0060 and \u0060recommenders/tuning/nni/ncf_training.py:127\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/04_model_select_and_optimize/train_scripts/svd_training.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"302193822d5bdc370a184832d37add14387f9085f988cbf5bfea6ae2dd67c35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): recommenders/models/deeprec/io/nextitnet_iterator.py:110-122 | recommenders/models/deeprec/io/sequential_dataset.py:275-288 | recommenders/models/deeprec/io/sequential_iterator.py:314-327 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/nextitnet_iterator.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/io/nextitnet_iterator.py:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/nextitnet_iterator.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b218aa18cfe3ab09cddc28e566b5412628afff8695c63c40795376e855bd9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): recommenders/models/lightgbm/lightgbm_utils.py:129-140 | recommenders/models/lightgbm/lightgbm_utils.py:187-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/lightgbm/lightgbm_utils.py:187\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/lightgbm/lightgbm_utils.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"213a0e8a95b53e19c53524b8e713d8c2f471b68a0c55390c5c1da9b37b0819a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): recommenders/tuning/nni/ncf_training.py:106-119 | recommenders/tuning/nni/svd_training.py:101-114 \u2014 before extracting anything, compare \u0060recommenders/tuning/nni/ncf_training.py\u0060 and \u0060recommenders/tuning/nni/svd_training.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/tuning/nni/ncf_training.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"185a290099fb78d303d5465bc3e9260840777152b1285fe164da14c47fc158c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): recommenders/models/cornac/cornac_utils.py:90-102 | recommenders/models/surprise/surprise_utils.py:107-118 \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 \u0060recommenders/models/cornac/cornac_utils.py:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/cornac/cornac_utils.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50e44b622c651d23aebf4fd80331725c96f0c4d8cc92efdf871c75f1475071e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:83-95 | recommenders/models/newsrec/io/mind_iterator.py:76-88 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/io/mind_all_iterator.py\u0060 and \u0060recommenders/models/newsrec/io/mind_iterator.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9954f865957411ab2933ac3e297efc7bbe925e5a87b0df946fef8cd735c4a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): recommenders/models/newsrec/io/mind_all_iterator.py:391-408 | recommenders/models/newsrec/io/mind_all_iterator.py:484-496 \u2014 both copies are in the same file, so extract the block 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 \u0060recommenders/models/newsrec/io/mind_all_iterator.py:391\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060recommenders/models/newsrec/io/mind_all_iterator.py:389\u0060 calls \u0060asarray\u0060 and \u0060recommenders/models/newsrec/io/mind_all_iterator.py:484\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":"recommenders/models/newsrec/io/mind_all_iterator.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e771ec2cc72548181e07ac86b0384a79a1b15347d7530af8bb50ca4e891c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): recommenders/models/newsrec/models/naml.py:246-258 | recommenders/models/newsrec/models/naml.py:271-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/newsrec/models/naml.py:246\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/naml.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb3ef15bd973aa76f3d2b03955f541cceef5b9e48c2562e9c466f7b637e145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): recommenders/tuning/nni/ncf_training.py:63-75 | recommenders/tuning/nni/ncf_utils.py:29-39 \u2014 before extracting anything, compare \u0060recommenders/tuning/nni/ncf_training.py\u0060 and \u0060recommenders/tuning/nni/ncf_utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/tuning/nni/ncf_training.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f156bdb76f73f893e9bf9eeeb31c605a3b5415a46a5412f9de2bba2e35e735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): recommenders/models/newsrec/models/lstur.py:139-149 | recommenders/models/newsrec/models/naml.py:188-198 | recommenders/models/newsrec/models/naml.py:217-227 | recommenders/models/newsrec/models/npa.py:121-132 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/models/lstur.py\u0060 and \u0060recommenders/models/newsrec/models/naml.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/newsrec/models/npa.py:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e9c2f0d4715e0bfc750c1f8d60a6747dc975093e74876ade630a0f693e96da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:903-913 | recommenders/models/deeprec/models/base_model.py:556-566 | recommenders/models/newsrec/models/base_model.py:306-317 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/models/base_model.py\u0060 and \u0060recommenders/models/newsrec/models/base_model.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060recommenders/models/newsrec/models/base_model.py:305\u0060 calls \u0060sort\u0060 and \u0060recommenders/models/deeprec/models/base_model.py:555\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3032e01bc4adabb0ba0b55804a4bd43030d0901d04328e7cb30a988d211e861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): recommenders/models/deeprec/models/sequential/gru.py:39-50 | recommenders/models/deeprec/models/sequential/gru.py:61-72 \u2014 both copies are in the same file, so extract the block 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 \u0060recommenders/models/deeprec/models/sequential/gru.py:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/models/sequential/gru.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1b00034c4f347a8923556be3c846d4aee2e81a95231974c1c1cdd74590943f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): recommenders/models/sasrec/model.py:551-562 | recommenders/models/sasrec/ssept.py:162-173 \u2014 before extracting anything, compare \u0060recommenders/models/sasrec/model.py\u0060 and \u0060recommenders/models/sasrec/ssept.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/sasrec/model.py:551\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060recommenders/models/sasrec/ssept.py:177\u0060 calls \u0060candidate\u0060 and \u0060recommenders/models/sasrec/model.py:567\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":"recommenders/models/sasrec/model.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"72af8151400c8e51e4693284b6373106a12651862f3c80137f3a13a7ac8c75f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): recommenders/models/deeprec/io/sequential_dataset.py:200-210 | recommenders/models/deeprec/io/sequential_iterator.py:222-232 | recommenders/models/newsrec/io/mind_all_iterator.py:310-320 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"230ac031dfb5f5941dce3cf26efe922f5affbdb7c81b80fcc5da589abf269652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): recommenders/models/deeprec/models/base_model.py:681-691 | recommenders/models/deeprec/models/base_model.py:721-730 \u2014 both copies are in the same file, so extract the block 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 \u0060recommenders/models/deeprec/models/base_model.py:681\u0060 it begins part-way through the construct above it, so those exact 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":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ccf264aa48cf5719d6a2c742a3a258ef747402c16913faa2253c596ed2fe51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): recommenders/models/newsrec/models/lstur.py:202-212 | recommenders/models/newsrec/models/npa.py:209-219 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/models/lstur.py\u0060 and \u0060recommenders/models/newsrec/models/npa.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4143ac44a8cbc2d4f3f12b0c191aa5efc1760fccab12352f4e325a080bad9c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): recommenders/models/deeprec/DataModel/ImplicitCF.py:97-105 | recommenders/models/rlrmc/RLRMCdataset.py:86-95 \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":"recommenders/models/deeprec/DataModel/ImplicitCF.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afc16a0f58ff48ac1f29e5fafeb86a291a5feba30777f728956fb5732c52f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:396-410 | recommenders/models/deeprec/io/sequential_iterator.py:435-449 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"594c47813286df48b51feeb76cfbd7c33af31dbd7699a983daa5d5b3231705ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): recommenders/models/geoimc/geoimc_algorithm.py:60-69 | recommenders/models/rlrmc/RLRMCalgorithm.py:156-165 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/geoimc/geoimc_algorithm.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fb7378be7ce99a56604c7256328dceacd9e79645157ba25bb4e48c73441f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): recommenders/models/sasrec/ssept.py:115-123 | recommenders/models/sasrec/ssept.py:205-214 \u2014 both copies are in the same file, so extract the block 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":"recommenders/models/sasrec/ssept.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737499de467ab190da32ae36cc516cb3abe5a26dcc503255e15bd1f5128e2a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:116-124 | recommenders/models/deeprec/io/sequential_iterator.py:139-147 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4d3859a7e348e15e8766358b0df72f314087b95fd31e3a6060746a7e4ee6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): recommenders/datasets/mind.py:317-324 | recommenders/datasets/mind.py:326-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/datasets/mind.py:317\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":"recommenders/datasets/mind.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a6c1690bebfd3c5450a84088e4962925206216005c3d2b238847421a6fa724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): recommenders/models/deeprec/deeprec_utils.py:524-531 | recommenders/models/deeprec/deeprec_utils.py:537-544 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/deeprec_utils.py:524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fc94bcf80ef14a8e4c09766de1b2456bc83b1a005ef45845dd42f8554bffd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): recommenders/models/lightgbm/lightgbm_utils.py:145-152 | recommenders/models/lightgbm/lightgbm_utils.py:203-210 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/lightgbm/lightgbm_utils.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"247bd585ba8028b0305814ec85310f466b8263fe4da4b56a602db44f5e979e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): recommenders/models/sasrec/model.py:578-585 | recommenders/models/sasrec/ssept.py:192-199 \u2014 before extracting anything, compare \u0060recommenders/models/sasrec/model.py\u0060 and \u0060recommenders/models/sasrec/ssept.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060recommenders/models/sasrec/ssept.py:200\u0060 calls \u0060isinstance\u0060, \u0060LongTensor\u0060, \u0060to\u0060 and \u0060recommenders/models/sasrec/model.py:587\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":"recommenders/models/sasrec/model.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d2aded8e81e3ce42f2b982e6bd66eafeedd614851768b46806ee0f9efe9dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): recommenders/models/sasrec/util.py:127-136 | recommenders/models/sasrec/util.py:158-167 \u2014 both copies are in the same file, so extract the block 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":"recommenders/models/sasrec/util.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61dae968704459a36494e6b60a04e10df216f28fad9256ddac7d3841539eac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): recommenders/tuning/nni/ncf_training.py:82-97 | recommenders/tuning/nni/ncf_utils.py:44-58 \u2014 before extracting anything, compare \u0060recommenders/tuning/nni/ncf_training.py\u0060 and \u0060recommenders/tuning/nni/ncf_utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/tuning/nni/ncf_training.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e422b0879edb74f212c0ece788d3dbeacfdaa2edb619ba61cf4c5f7e418828c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): examples/04_model_select_and_optimize/train_scripts/svd_training.py:97-103 | recommenders/tuning/nni/ncf_training.py:123-129 | recommenders/tuning/nni/svd_training.py:118-124 \u2014 before extracting anything, compare \u0060examples/04_model_select_and_optimize/train_scripts/svd_training.py\u0060 and \u0060recommenders/tuning/nni/svd_training.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples/04_model_select_and_optimize/train_scripts/svd_training.py:105\u0060 calls \u0060add_argument\u0060 and \u0060recommenders/tuning/nni/ncf_training.py:131\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/04_model_select_and_optimize/train_scripts/svd_training.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b19d130b706e7de7b00028897e6b7c7f3d8800bf68d8030dcb9282b12629917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): recommenders/models/newsrec/models/lstur.py:198-204 | recommenders/models/newsrec/models/naml.py:359-365 | recommenders/models/newsrec/models/nrms.py:181-187 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/models/lstur.py\u0060 and \u0060recommenders/models/newsrec/models/naml.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ef2b37a819a72d101e4befa1f2c1237792670ab0959e8b42946cab362ff66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): recommenders/models/deeprec/models/base_model.py:495-502 | recommenders/models/newsrec/models/base_model.py:245-251 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/models/base_model.py\u0060 and \u0060recommenders/models/newsrec/models/base_model.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060recommenders/models/deeprec/models/base_model.py:495\u0060 it begins part-way through the construct above it, so those exact 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, \u0060recommenders/models/newsrec/models/base_model.py:244\u0060 calls \u0060run_eval\u0060, \u0060join\u0060 and \u0060recommenders/models/deeprec/models/base_model.py:495\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":"recommenders/models/deeprec/models/base_model.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fdbe99a83fddba137bcab5b906aea5dbb69e428fd482412d2d3a0ae4676565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): recommenders/models/deeprec/models/pytorch/fcn_net.py:65-71 | recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py:125-131 \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":"recommenders/models/deeprec/models/pytorch/fcn_net.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb8c5976109ce6052bb906da86977d05d9d2d48fd74e83e7a5d7693abc17faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:344-352 | recommenders/models/vae/standard_vae.py:318-326 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d809c147cb252a500297f9b23d0653aca8afe6ea001210ca858aef14f167c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): recommenders/models/lightfm/lightfm_utils.py:240-245 | recommenders/tuning/nni/ncf_training.py:81-86 | recommenders/tuning/nni/ncf_utils.py:43-48 \u2014 before extracting anything, compare \u0060recommenders/tuning/nni/ncf_training.py\u0060 and \u0060recommenders/tuning/nni/ncf_utils.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/lightfm/lightfm_utils.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a0a825aa0ce5edf67ce81c120e3305216b4e7593de2fb7c05d42f8e9a4170b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): recommenders/models/lightfm/lightfm_utils.py:143-152 | recommenders/models/lightfm/lightfm_utils.py:171-180 \u2014 both copies are in the same file, so extract the block 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":"recommenders/models/lightfm/lightfm_utils.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d7f01e90fee839298c4aae16e600f10f7f0d7f611f0d6266f4bb2f82324f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): recommenders/models/newsrec/models/lstur.py:99-104 | recommenders/models/newsrec/models/lstur.py:109-113 \u2014 both copies are in the same file, so extract the block 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 \u0060recommenders/models/newsrec/models/lstur.py:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cef160cb42e1890cb198950f729ab2c57d7a15ce6849c78dfdeae09c7296dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): recommenders/datasets/mind.py:439-453 | recommenders/models/newsrec/newsrec_utils.py:269-280 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/mind.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd7e08ae379bfd3b8211b7524d76b11716321662094fd1e15de58525136f356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): recommenders/models/deeprec/io/sequential_dataset.py:59-67 | recommenders/models/deeprec/io/sequential_iterator.py:67-82 \u2014 before extracting anything, compare \u0060recommenders/models/deeprec/io/sequential_dataset.py\u0060 and \u0060recommenders/models/deeprec/io/sequential_iterator.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 318 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"recommenders/models/deeprec/io/sequential_dataset.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"090938d407408af32ab39f1969559fadf15a2f0ee182019757bb0f53d49c0661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): recommenders/models/deeprec/models/pytorch/dkn.py:214-219 | recommenders/models/deeprec/models/pytorch/xdeepfm.py:313-318 \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":"recommenders/models/deeprec/models/pytorch/dkn.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3877a8000278e19f954f65bff49ee62fbdaf9c40848724c8042e295233aab71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): recommenders/models/newsrec/models/lstur.py:30-43 | recommenders/models/newsrec/models/naml.py:27-40 | recommenders/models/newsrec/models/npa.py:26-39 \u2014 before extracting anything, compare \u0060recommenders/models/newsrec/models/lstur.py\u0060 and \u0060recommenders/models/newsrec/models/naml.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/newsrec/models/lstur.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd928cde09998d8b570cadb0369332a3f3f918e7f14dab37ab5ec5702673fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:68-72 | recommenders/models/vae/standard_vae.py:61-65 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b384eac9e5bcd85b4fc0620e39bd64a8db30c23987c68a52f171a76d27c3d099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): recommenders/models/vae/multinomial_vae.py:205-209 | recommenders/models/vae/standard_vae.py:189-193 \u2014 before extracting anything, compare \u0060recommenders/models/vae/multinomial_vae.py\u0060 and \u0060recommenders/models/vae/standard_vae.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/vae/multinomial_vae.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0c2d36dbb46619fa16e72eedfb5353f7a0269c793d979c2a30f17f63a22bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/04_model_select_and_optimize/train_scripts/svd_training.py:123-130 | recommenders/tuning/nni/svd_training.py:144-151 \u2014 before extracting anything, compare \u0060examples/04_model_select_and_optimize/train_scripts/svd_training.py\u0060 and \u0060recommenders/tuning/nni/svd_training.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/04_model_select_and_optimize/train_scripts/svd_training.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32b0ea6442d4e2ec564b5995113d9239d51d34ec50061108d85fc08fb0fb567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): contrib/sarplus/scala/src/main/scala/com/microsoft/sarplus/SARCacheOutputWriter.scala:48-63 | contrib/sarplus/scala/src/main/scala/com/microsoft/sarplus/SARCacheOutputWriter.scala:68-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/sarplus/scala/src/main/scala/com/microsoft/sarplus/SARCacheOutputWriter.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ca442ad71af2da4feb23a24566b28d147a604a852126d961afad0dbf1ce82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:162-195 | examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:199-233 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7c6178a08a19fc5233a47dc6ccbe9ec277ede24f47b625855e371ba2ead219"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): examples/07_tutorials/KDD2020-tutorial/utils/data_helper.py:13-31 | examples/07_tutorials/KDD2020-tutorial/utils/data_helper.py:35-56 | examples/07_tutorials/KDD2020-tutorial/utils/data_helper.py:78-94 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/07_tutorials/KDD2020-tutorial/utils/data_helper.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fac5968772387fdb88094bf4db125e6a6abf48b6c93c79c569460f8863a569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): examples/06_benchmarks/benchmark_utils.py:96-105 | examples/06_benchmarks/benchmark_utils.py:116-128 \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":"examples/06_benchmarks/benchmark_utils.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d813e8cb9782f2a0c6df7108b5d2f94b93630846143bc8024f3bafa8b793ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:556-581 | examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:583-608 \u2014 both copies are in the same file, so extract the block 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":"examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0b5a47b99786d25e5e1141432ce5ea4a8164db8233eabf7c899e611a1027dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:40-61 | examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:168-189 | examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py:205-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/07_tutorials/KDD2020-tutorial/utils/task_helper.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bacc30d1de786a5c44b02cfaa0da91c9e5bf6e4e2208d2a3123b644bd72a1d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: compat: compat: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6b757cb2e7eb1db0df36a6a0f6f2ca1f3e4296d7289b4c450e726b5559e85ed2"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_wikidata_runs: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/examples/test_wikidata.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dee5f7bb53bad8f00ad3fc8b5c7c08b420c19948550626a1529d9097fc115de"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_wikidata_values: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/examples/test_wikidata.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ea70b7e90679e8d087d538c13f603f01c7d8fef924871e4179640ab6b4121c"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_find_wikidata_id_correct: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/recommenders/datasets/test_wikidata.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2e48deb4a960c41b2ed2a616067af6b290312e0af71f354e6495d2145eb8b2"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_find_wikidata_id_incorrect: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/recommenders/datasets/test_wikidata.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b6d5225dbe0d66de0d3d4df4ae3723ed243420799d4674f0ed6cc1cf47072c"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_query_entity_links: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/recommenders/datasets/test_wikidata.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d205e2e4767ea9ec56c0d25c77c762d0ea31e5e056baed7b73615de50a663503"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_read_linked_entities: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/recommenders/datasets/test_wikidata.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faed32c7f08285dc361eba91d55ef629801cd608e3384e2eebaaeae60e364a4"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_query_entity_description: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/recommenders/datasets/test_wikidata.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb241f91647e0ebbfb186f3a64a8fe0f0543da438a1b1b950fbbad4e02c0f7fa"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_search_wikidata_correct: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Wikidata API is unstable\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/data_validation/recommenders/datasets/test_wikidata.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0272659622b6f43accb64879cf5f9cdc2390f1cccc05eb951bd093789b3fd543"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_fitting: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky test\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/recommenders/models/test_lightfm_utils.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3031dc759d20fbbe0f9f4f7b47251fe46810c1efc32c82ae7c8a6a6bbf984db9"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_tensorflow_gpu: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022This function in TF is flaky\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/recommenders/utils/test_gpu_utils.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad7e602f33ec78b56c49def6844dbeed5a4774186d86477d18f671e7bcde95f"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_pytorch_gpu: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022This function in PyTorch is flaky\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/recommenders/utils/test_gpu_utils.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41e00c33c235919c67fb8917e6849ce052601becb667a4c8629f2b4ef13f4d7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 17 significant file(s) lose their only recent owner: recommenders/models/sasrec/model.py, recommenders/models/deeprec/models/pytorch/dkn.py, recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py, recommenders/models/deeprec/models/pytorch/xdeepfm.py, recommenders/models/wide_deep/wide_deep_utils.py, recommenders/models/deeprec/io/sequential_dataset.py, recommenders/models/deeprec/deeprec_utils.py, recommenders/models/vowpal_wabbit/vw.py (\u002B9 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6f10db9bd353d10b1dbce547d2a0a7191e41311c5785a11d1fdec48def03b15d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: recommenders/models/deeprec/models/graphrec/lightgcn.py, recommenders/models/lightgbm/lightgbm_utils.py, contrib/sarplus/scala/build.sbt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0bba037eb963e121fa9762eede438543ab887851cd27153795a0da7a658d3fa9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Get this from \u0060u.info\u0060 \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":"recommenders/models/geoimc/geoimc_data.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec748218cf82f1ba6b1b7613b06caadc8c2ac99894ee1ed414306576b5883ba6"}},{"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":"contrib/sarplus/scala/src/main/scala/com/microsoft/sarplus/DefaultSource.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c15ecd24a86ac9941dae886ae75eb6c0611213edeabd02cfa6360ad6a2f2fd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove seen \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":"contrib/sarplus/python/pysarplus/SARPlus.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5510c45ce1e00244fa214a15bf11ba3800267964a768e2759c61a13018f70493"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: get most frequent users \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":"contrib/sarplus/python/pysarplus/SARPlus.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1660e015527091543f1bd2e73a5e7dac670306f24307d4f1f2a5d1d4bb7152d9"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (26148 LoC, 157 module-visible types across 36 directories) overshoots its size bounds. 1 of 4 build unit(s) (Python, sbt) overshoot their size bounds, lowering Project Cohesion to 5.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4842ad367a78941ccec73d857627e21e838b932492f4ae73cdd87ada79a9f00"}},{"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":"d355ee69ba9b77ecca4fe17af3d2f3bb6e9bcc81673c03470030a9783cf20cdd"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"0d66763637efdecd46ef720b5db6d80a447341a403b1d4d5246e6feb247ad3a1"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"041ce458eb5a3fbd671cd42ec4d7f83aa570e09774ac2d4d5f245480c22a808a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"a10933efaf4e448111ef839d6f291ee2d75cd59dd2336cab000f8e54fc99097e"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"95d6a78202271b97ea247595c186a880b4482783eb1b0a529c06ddba3f6bef69"},"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":"2d36dc055562b09284d522522e8658c9625726751de8eda9be756e50d4909a1a"},"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":"19e1a0ac475b6a1573cf62e5d6f2c2a2730fb404e0c2d5eea48bb2927f6d07fc"},"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":"7106c097dd60493d231e61d22ca8ed8807ab02f3a08b49c7c28f03f93cda9b89"},"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":"572330dcebda2a0cd706bbca9e8dd066287d4d6298e9fa2277454439115f7cf4"},"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":"594f270b56984cb0baf00a6f28306014b1271eaadc82bafab92ffba74d7e2369"},"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":"070ee349238189ce7095e2c64813e9b06a4b95b6b3f88c9eb9780981bf661f60"},"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":"09feeddd79d5959c48b777e2f9a881315189d66fc69edfe8593446b98ce32730"},"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":"3d493a2767565894b881e8a658e0662163bd512695978575eab876d2a1315da5"},"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":"e6439cc7d0555aeb95848d410224fa8e08c32bb362791855e5c97ba9d7765863"},"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":"1bd665ba1cb3f1b09342628aef05cace7c78e0883083be2867d1d7f79719f138"},"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":"40e47175525749419ab6125c25714fabf31b2335a1976b4df3596bc4e880dd24"},"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":"01e326183ff8532232cc46ec6918005739cc669631ecd4786cd540af38c1ef08"},"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":"56e92f4799f92d778a5f13b487a5778da39114dacd68404f67f31ab71255337f"},"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":"7db9ba77c4f7c8be6df20d6eff6b61f537d758fb3ea7e125bc44cafc094cd9ae"},"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":"59ecff05275150b3862e6c0b03bb26361dd480a9f48fd23ab220492feb125fcd"},"taxa":[{"id":"CWE-78","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":"a301d23748c0ef5b65d8b9eb04bb02ff5648d4dfbf34263b5e9d6e007dca09b0"},"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":"504344b36f98525f231a88db1664cf8b61442dce0b70c8c8f2d331dc253c3e2e"},"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":"cf4aea430ad54f1fcace832a715c2007c11380b207a9f3cd654cb74d757a0a38"},"taxa":[{"id":"CWE-78","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":"e79ab0a240eef33c5a65fcd65e27895893091b0d9b301fdc47686eacaf07c03e"},"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":"5fca1801b4bf6cd8f184894ebb2624f37fed377b39390ca7d38af0c7636cfc82"},"taxa":[{"id":"CWE-78","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":"22331167e91fbb0b22b943308823c4ec85f6fd47dae83042b61bb514feef96a6"},"taxa":[{"id":"CWE-78","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":"c654c03bde729b2aa90b9144c4e8347f2cc6f290775d742938c53c2b9d15c9e9"},"taxa":[{"id":"CWE-78","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":"d80a6d7d1f5f86b6be503d2a34f750a564def66922c697b2389c414e88c33731"},"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":"37ec04b8077f5535905eb6e631f379f6bee3f39a1946f8d8487f5a8d1d131c2c"},"taxa":[{"id":"CWE-78","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":"e73a49f4a26581002763d56698f1f58992aa4b8f4e29b0d72cb72c43a3987ef7"},"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":"ff38da175ba10ecccc38d0024c6502d980b03e884b3424146559f47d00ccddd1"},"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":"9a68d9f71fef6ba938683003202ab613a9b038903050d76f555aff12fcc583cf"},"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":"acbbdf7b0849559c54acced9c523c53c439ce9611081f1df19434d78fc882b76"},"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":"4879bfd72ccfee9993a8ee0d2c5baa329d927daaa0d4632f0e48a722863f28e7"},"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":"59d20eb1d3118a319b9e17cb65e6e3c8ef40d5e2fba1ceb2cebe128ff85ed36a"},"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":"2ffa22b4a6a92105e5d574bdc0e2fab7144125860075f7d0c0d0a06566bc957a"},"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":"c4e712169ab8d1218f5547d976ce50a794287c126cbc82252f2f497ea403683e"},"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":"baae0d607f77b6445d1a0d12fcc3fcd31048e1b4da19e018d664f1fd59612e10"},"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":"1154751cb3a5fb19341448c0b54d842471593f98e78ffd395b0459bc32ee4efe"},"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":"ccc36c566a901115864d4b1cca6abfb7e763474bd607dd74235825679b6d6a75"},"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":"24af2e920bdebda190eff5afc3b3008564be0adf298a58fc76fa9a5dbefa21fd"},"taxa":[{"id":"CWE-1104","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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8e8ed810360e499fb03c18b49c8a4f8dfa43b95d53c3554372e878874f97c0ea"},"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":"78fa9205956b4ecd7ca77f18043bbb85323295f5498c2be17041e7e4dcd16b6a"},"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":"4d4f4bd813dc1fb6ff0bcdf971f94f46e0924f650572f5797155b3a769287e10"},"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":"257a315c883ab28a59a5655c65bd3934a08134637de28ccaf34d3c2d56ba52bd"},"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":"f9e58f5eaaa68d553c05ebc40eb0922391b519b2d2e34231bf8ccd05b7a99527"},"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":"41b85495c79e683db21534e7d9675338c7d886bbe399a33c6de359cc46d273c2"},"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":"bf7061a2e7f26f419ff7b1feafc7fb4683d4708fd5cdf2efffb1dd52b7765ad6"},"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":"84be977a937d200e1f4549f5cfdb60407e53663fc5d117160df175739616182a"},"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":"2e1b94f24c16bc9ae6a061490adf291c57e23c10f4621ed2213841d212ca098b"},"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":"63210efe5c6f90412cf372ad885e8326242e35bbf2f4cfcc0da24e31f047b5ec"},"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":"D31","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":"d7ff81e777ff4ffa018075a63bbf7d75012a7342798af9fe95d9e24b21580595"}},{"ruleId":"D31","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":"7c1052db667e008208ae09ea6fb114701d03018705b107ff4f9816a45404746e"}},{"ruleId":"D31","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":"6ac1c5630b29603e1669e8e5a0e94acae3e774eb1568210b5d63bca0af2f6971"}},{"ruleId":"D31","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":"b28ac45e45a4d09be5a0112ebb0a8ba2a293259ddadca3db092627aebd795c8d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"8b62554350bc75b85433eeb3dfda082a7b5eca3610e70aeee029db7777c128ac"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"7189602312897984c903d20d5082317c243658073fd2af0f4af7a56b9cf678f8"}},{"ruleId":"D31","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":"6083de7b539d2715097a624dcc7abc7fc90427ebe36bdeca693d9e54dd712068"}},{"ruleId":"D31","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":"e55a6f8794379582338d3dd7ea459ae692300242c48fdffe08652ecc75db8d76"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"1729ca8a75ca31aad8adb311d0d7b346088788dab6b75038fd571c86c8719334"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"63b02094555d0745a1bed973f1b41f80f75396aa762641931e15ef6a5f23d3c1"}},{"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":"bb83d2775a9170643db9224fd8561b2dc852c6f16dd4b9bbfcbe884d3827e6b3"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f043c1f62bf5c9def75fed1a59a11bd701650bda1b1dd71c46b35ccaca64577"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba4f94485ee1dae1808b61d9618d08d00db17c533ca43c2a52f533abd13c3984"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fd603a0e3b0d0f422b24642e6077c418a96625983ed25ac4c2db0f0e2a28ddc"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c5989989c9d7749fa6a0a75df23b8500b385dde3fc589bc7caab50324f23b28"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faeb4c49b7bea93ac378fc81ed3f60223cb3ca2fea18a7d883f0496eac606a8d"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: tools/docker/README.md links to \u0060../../.github/actions/group-test/action.yml\u0060, but \u0060.github/actions/group-test/action.yml\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/docker/README.md"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db3686eab2aa4bafd8832b58aec9573df8d0898ca049097c0c516328f2a704c"}},{"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 8 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/unit-tests.yml"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060docs/requirements-doc.txt\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":"docs/requirements-doc.txt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477c2abd1555269ebf03a08f5a13371d703af01b6a841c436f9dc2ae804da194"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060early_stop \u003E 0 and epoch - self.best_epoch \u003E= early_stop\u0060 appears character-identically in 2 files \u2014 recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py, recommenders/models/deeprec/models/sequential/sequential_base_model.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":"recommenders/models/deeprec/models/sequential/pytorch/sequential_base.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90d85599dd28a0db50240927ea6fd7b0b9faf847888435f9fa3efaea4d77a71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(ranking_metrics) == 0 and len(rating_metrics) == 0\u0060 appears character-identically in 2 files \u2014 recommenders/tuning/nni/ncf_training.py, recommenders/tuning/nni/svd_training.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":"recommenders/tuning/nni/ncf_training.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd73a101091825371f236b7642166e724f6e5a9872909f926d7e483dbb3facc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060param in config and not isinstance(config[param], float)\u0060 appears character-identically in 2 files \u2014 recommenders/models/deeprec/deeprec_utils.py, recommenders/models/newsrec/newsrec_utils.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":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b91fbb05602e41f708ea85cf2b1c276aaeab854f025c82c719effc60957913"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060param in config and not isinstance(config[param], int)\u0060 appears character-identically in 2 files \u2014 recommenders/models/deeprec/deeprec_utils.py, recommenders/models/newsrec/newsrec_utils.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":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d298840f8440d7e62b39005aef87ac5ca28bbd8ce4db4820814686f35f85450"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060param in config and not isinstance(config[param], list)\u0060 appears character-identically in 2 files \u2014 recommenders/models/deeprec/deeprec_utils.py, recommenders/models/newsrec/newsrec_utils.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":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ea4317b2c6d144bbe1632377346d99bafbf09e6c03221e8daaa7dd5ea495c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060param in config and not isinstance(config[param], str)\u0060 appears character-identically in 2 files \u2014 recommenders/models/deeprec/deeprec_utils.py, recommenders/models/newsrec/newsrec_utils.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":"recommenders/models/deeprec/deeprec_utils.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0441482388bb994d3a7ad74a59a9c32f892bdf967789d9afecb1cdc8bc3c23a"}},{"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":"recommenders/tuning/nni/nni_utils.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3447839523c4123ac7baf331bc3faec5cae439e8947d9288135b415f3b6f5c04"}},{"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":"recommenders/models/tfidf/tfidf_utils.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"12508f6a461b74ad12e5b341b6dba0407b36780cfb5b2796ec1e8d3214ec64e3"}},{"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":"recommenders/models/tfidf/tfidf_utils.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e918ed68aee3a1cfdacbfec29e65b7e3dd96d4d4f9c632df8f724af3c0967ab"}},{"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":"recommenders/datasets/covid_utils.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd005f65f11fb4b8ef4424d7714bbe6d6ed241d1315c197acab9a548e3426581"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 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":"recommenders/models/embdotbias/training_utils.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b823bdf9cd64c922e20976dd242aa968720ca0f01e042e0eaabe13e1b57ab00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 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":"recommenders/models/embdotbias/training_utils.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c57a31ce319ce4dab975a0a6e953d92cf59f8d0216cce32e12af82feb3e9cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 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":"recommenders/models/embdotbias/training_utils.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5617bac175582002f50e738c27f349a9753d666b5a9c0aeb6250123cafbccffe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 137 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.error(\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.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/models/embdotbias/training_utils.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"89befa30192efd49b439dd6c9229dbc7bf5867720a2785fed4b2eae1e2172141"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/download_utils.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"04613ae92d530471bbacdd9d1d262bc15c093540a831bcdd82f4ee8702134e79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 65 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":"recommenders/datasets/download_utils.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c99d3cb7ac639ae0d9ab78a794abd25f7afb8c0e9511d2c620a0bf39ce152f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 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":"recommenders/datasets/download_utils.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e40988c5e50ebf024e30063707560ca8c035a49b16188232b300b4a42596bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 82 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.error(\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.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/download_utils.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"30203b6f70201e2b9650f5c54f46ef6b2b003f21a763edd382a797843b011dfc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 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":"recommenders/datasets/mind.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feebd04e3146f66b12a1f4a84654b137a473065cee946f83e1943c8474cd3fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 192 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":"recommenders/datasets/mind.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c29184061bf19d3fdec32ff6aec0ff060c671d8f444e151b4c738671b3d8dcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 216 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":"recommenders/datasets/mind.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d678ca3b8120a2bbf074d0c509e10dddac534152f7785441332c744ba398f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 310 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":"recommenders/datasets/mind.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce05412e733aa9afb051f32633ffd64ff9c315de6bf6c322da9ba875fe57adcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 382 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":"recommenders/datasets/mind.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1dacc616da2f1743aa17f45e4db464aa80a05e995d12268d459c6f867f53d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 397 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":"recommenders/datasets/mind.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d581ffe4a3cb92a58bf23309380b42366a707c91c4575793bef3d8dc612515fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 403 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":"recommenders/datasets/mind.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1cbe31b8265efb5c235fff6b7886c08525046a99325b7426fee2842f85495c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 592 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/movielens.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"16470fdda5ec1120da628e3e3958bdf59832b99d21430fc7a18c7d2c1f50ac63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 42 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"11754717c996706bfd61013b822d4b3d93835992c2b2085e32f7faf41352bfd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0776109963c1c5a4cf8531ccb656be4c8535fb619d960d6040de0be96a0aa3bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"36210d07e1f966655441bd34aefdf7a34042707264ec1f830bed8ef97fcac4ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62e1aac7e10fed6b551821cae99c15ff2f4173773505900f5003c3c7878c3c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 127 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff03cd4204011f442fc74bdf59a90abf9084ac5b4e1f43faaefb03d81cb37fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 188 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1056dfce4bd5ffdfdfc30021de261dd1007373c29fa8df8c528519e39d5edc34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"789a57dc03b024f499cce81e4fce343687bb505807f0036c5b9191b9b63855e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af34d469bd7ccbd600cc11694d1d2c01bbfd0cea0ce11b6c8a91347876a731d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 258 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb02131b4ef24a79935247857c4a72d82d26b84ac23c1a5a2aa3b7f04567d68d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 279 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":"recommenders/datasets/wikidata.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5195af0331a3918f499f973b8b5dc3e84b1339067c767c9b2e78393ce9d1f5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a48459f564583b68d301a00191b0279fe7ae918353e4f745c644db4166407d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 292 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"recommenders/datasets/wikidata.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0c0ac597ce9c46dfe1ffc2feb3094444d1fc75417a424ca8a29d4289ad6a11"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 4 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":72,"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."]}]}