{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"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":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:52-75 | src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:77-109 \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":"src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"87928523e4d0748dad901944973eb27faaa837950ef5d73bb53dfa8a7ecc876c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:13-108 | src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala:17-102 | src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:11-83 | src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:11-82 | src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:22-447 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:21-362 | src/main/scala/ws/vinta/albedo/Playground.scala:13-78 | src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala:11-82 | src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:11-179 | src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:13-230 | src/main/scala/ws/vinta/albedo/Word2VecCorpusBuilder.scala:12-91 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3d3f6c19f2e123f1cabfccf701c03962d531f1bb6d8402d314853c1a17e8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (226 lines \u00D7 2): src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:49-274 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:48-273 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 339 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, \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:276\u0060 calls \u0060unpersist\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:275\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":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d98850370eaca839692a81c13b2a04df0017f4c3fd0060112df7675d7b7957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:83-108 | src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:58-83 | src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:57-82 | src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala:57-82 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 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 \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:55\u0060 calls \u0060setEnableEvaluationMode\u0060 and \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:80\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ab2df2710c2ada4fee21ac6d75c94f0f266bc32351b915ff6ad04c8bbf501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201326 lines \u00D7 4): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:65-67 | src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:39-41 | src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:14-39 | src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala:14-39 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 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 \u0060src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:14\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:39\u0060 calls \u0060Array\u0060, \u0060randomSplit\u0060 and \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:67\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca4bd4fcdb2010113e9d7ebac2f07c841064ef38511ec7bcb8890f30d1a2865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 3): src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:14-35 | src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:14-31 | src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala:14-31 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 119 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 \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:14\u0060 it begins part-way through the construct above it, so those exact 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":"src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e918ead3bd1ba8e45412c45a7c7e291dbef487def772920505370300c922170a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:16-36 | src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:25-45 | src/main/scala/ws/vinta/albedo/Word2VecCorpusBuilder.scala:15-35 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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 \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:16\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6185baa85369c72bbbab9e7f8965ae755dae43e655b98c5ba66ea3e17a1fe5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:16-35 | src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:25-44 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:24-43 | src/main/scala/ws/vinta/albedo/Word2VecCorpusBuilder.scala:15-34 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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 \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:16\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fb8aa238a1febf485ef2761582ef311521532bdbb8270ee77f2fb71275a296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 9): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:15-33 | src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:13-31 | src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:13-31 | src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:24-42 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:23-41 | src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala:13-31 | src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:13-31 | src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:15-33 | src/main/scala/ws/vinta/albedo/Word2VecCorpusBuilder.scala:14-32 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 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, \u0060src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:37\u0060 calls \u0060loadRawUserInfoDS\u0060, \u0060cache\u0060 and \u0060src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:35\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":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b0a52890ae5841ae33472a22e8158f0e14d2e24298e2a0790362c7875a7650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala:19-37 | src/main/scala/ws/vinta/albedo/Playground.scala:15-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c0fa3999fdc6c506b076d27715968e6edd072cab01a253b462388a84c7f2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:14-31 | src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala:18-35 | src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:12-29 | src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:12-29 | src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:23-40 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:22-39 | src/main/scala/ws/vinta/albedo/Playground.scala:14-31 | src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala:12-29 | src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:12-29 | src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:14-31 | src/main/scala/ws/vinta/albedo/Word2VecCorpusBuilder.scala:13-30 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 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, \u0060src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:37\u0060 calls \u0060loadRawUserInfoDS\u0060, \u0060cache\u0060 and \u0060src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:35\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":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"302e693e39031eeb19f1920a255e7484094fa94353069d7a2da9b60da70b77c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:67-84 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:66-83 | src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:151-168 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 339 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":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"00949b4b3e50f76948114d03469c1949dd24a01539bdb56a3aa54a166a82ed16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala:72-88 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:332-348 \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 \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e250423064acca85c82043ba65db3aa3d838922b73a6672fad3d650d19d251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:278-293 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:275-290 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 339 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:276\u0060 calls \u0060unpersist\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:273\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":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfab564739d38d003345217abeb5b33e9620e9ecf165312935dadd1e176e169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:57-69 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:56-68 | src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:41-51 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 339 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":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bd8ebb38931592c0ef4395a8c9150d248d0098d637a57ecd65c5d1b02600c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:53-63 | src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:78-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:53\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":"src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b97cd03d1bd68edeee6bf672abb0f5d62b3890f0375e5a2030432b6108d0eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:53-61 | src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala:52-60 | src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:37-45 | src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:41-49 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 339 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:37\u0060 calls \u0060loadRawUserInfoDS\u0060, \u0060cache\u0060 and \u0060src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:31\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":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c7e0e6f0fc674f3b160db2b3b691f009a5b9f8da9a6c3687924c9a57b86153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:65-73 | src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:99-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala:65\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7e5eeb72b69841433eceeb6705023a9c89cda6a650ec4d6d84452c81717587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 5): src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala:68-75 | src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala:42-49 | src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala:42-49 | src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala:309-312 | src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala:42-49 \u2014 before extracting anything, compare \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 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":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5964029a0a55712d41f7040a9d0af023abdc4bbae1ae5926a76b4138afc537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala:122-129 | src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala:132-139 \u2014 both copies are in the same file, so extract the block 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":"src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ebc1ccdb6f6b6daefe3f96b80b2a0757cd370661a51c9c9bf71cf700170694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala:158-162 | src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:209-213 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"02453bc1968b5d378708f85e95012b5b78e800843b3eb5ab9b3ec60f6583326b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala:66-70 | src/main/scala/ws/vinta/albedo/utils/SchemaUtils.scala:14-18 \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 \u0060src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala:66\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dde84337bba243133dd2f9267d6dcd8e1f78c7c3e5dd04e3019dd7025e34816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:112-116 | src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:120-124 \u2014 both copies are in the same file, so extract the block 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 \u0060src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c94d743de3d2eb958e2f0905be043b53f6e9a7245e7fb8389d28c2126ff6374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/management/commands/train_item_cf.py:18-31 | app/management/commands/train_user_cf.py:18-31 \u2014 before extracting anything, compare \u0060app/management/commands/train_item_cf.py\u0060 and \u0060app/management/commands/train_user_cf.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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, \u0060app/management/commands/train_item_cf.py:32\u0060 calls \u0060as_matrix\u0060 and \u0060app/management/commands/train_user_cf.py:32\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":"app/management/commands/train_item_cf.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"514c67f2051aa9a2eec48e7782ffa921169a1da71eea6eddd305a3b7ac2082ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/management/commands/train_item_cf.py:46-59 | app/management/commands/train_user_cf.py:45-58 \u2014 before extracting anything, compare \u0060app/management/commands/train_item_cf.py\u0060 and \u0060app/management/commands/train_user_cf.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"app/management/commands/train_item_cf.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf886525011d9988b8d3540a52029f959c7cb6c05094696ff447ceca2e2b50c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/management/commands/train_item_cf.py:33-45 | app/management/commands/train_user_cf.py:32-43 \u2014 before extracting anything, compare \u0060app/management/commands/train_item_cf.py\u0060 and \u0060app/management/commands/train_user_cf.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/management/commands/train_item_cf.py:32\u0060 calls \u0060as_matrix\u0060 and \u0060app/management/commands/train_user_cf.py:31\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":"app/management/commands/train_item_cf.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"873b6400ea9597a4a8d14fc24ca3ba502f3b4d22bfe1d29fb4d169564683b5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/management/commands/collect_data.py:127-134 | app/management/commands/collect_data.py:138-145 \u2014 both copies are in the same file, so extract the block 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":"app/management/commands/collect_data.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b8ecf7ccb95ab0f23bcf93b1b549726c58b739ead62caee2aee298b9c0a94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/utils_repo.py:15-22 | app/utils_repo.py:24-31 \u2014 both copies are in the same file, so extract the block 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":"app/utils_repo.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"18da9767ee0209be10655d1902632ee2ae1c32b121713ec51c7390d4d003af6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/python/deps/albedo_toolkit/transformers.py:75-80 | src/main/python/deps/albedo_toolkit/transformers.py:83-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/python/deps/albedo_toolkit/transformers.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"057165a01d36fd2b81e25f5182c209876d35809069a8727f5b305035d578ec60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/python/deps/albedo_toolkit/evaluators.py:46-50 | src/main/python/deps/albedo_toolkit/evaluators.py:53-57 \u2014 both copies are in the same file, so extract the block 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":"src/main/python/deps/albedo_toolkit/evaluators.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7142c953b919aef9be9bfdffa17e3cd98c92df76e5b4e16cf7af4244f4c40efb"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bcf56aefedd1ecac550453c5a65023561b41b9255e03edcfa6915c2f1cb0468"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u76EE\u524D\u662F\u5047\u8A2D\u50B3\u9032\u4F86\u7684 dataset \u90FD\u662F positive samples\uFF0C\u4E4B\u5F8C\u53EF\u80FD\u5F97\u8655\u7406\u542B\u6709 negative samples \u7684\u60C5\u6CC1 \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":"src/main/scala/ws/vinta/albedo/transformers/NegativeBalancer.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b225e7b7852bc4c2bb84010cc5a195177adfe9a08de60c01afa84fca40e2542"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: output Double.NaN? \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":"src/main/scala/org/apache/spark/ml/feature/SimpleVectorAssembler.scala"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e00e18ac7afe4a668dd342699e0097a26eb49510cb5d31145bb56ebc8095df3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u6539\u5230 @retry() \u88E1\u9762\u505A \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":"app/management/commands/collect_data.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"52775b9d3b59d473841f14a6adf1731cd85df9463385a9f71cb79c36101a1b36"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"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":"40048d570327dee6e1151caae948b26554473088da582b27ef6f1116b60741da"},"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":"D30","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":"21ed3b6534bf745b978fd87655cf7a166e88a6d70bf811b90f621f06f9fa88d0"},"properties":{"dependency":{"package":"org.apache.spark:spark-core_2.11","version":"2.2.0","advisory":"[GHSA redacted]","aliases":["BIT-spark-2022-31777","BIT-spark-2025-54920","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2018-25","PYSEC-2019-114","PYSEC-2022-42976"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"939e7820f308976365c3f6d3a26d247e0a2fde4c27ad5ab0258b6de69008b79c"},"properties":{"dependency":{"package":"nltk","version":"3.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2021-356","PYSEC-2021-859","PYSEC-2022-5","PYSEC-2024-167","PYSEC-2026-2078","PYSEC-2026-2085","PYSEC-2026-2235","PYSEC-2026-2236","PYSEC-2026-2237","PYSEC-2026-3581","PYSEC-2026-3582","PYSEC-2026-3583","PYSEC-2026-3584","PYSEC-2026-3657","PYSEC-2026-3722","PYSEC-2026-3723","PYSEC-2026-3724","PYSEC-2026-3728","PYSEC-2026-3729","PYSEC-2026-3730","PYSEC-2026-3731","PYSEC-2026-3732","PYSEC-2026-3733","PYSEC-2026-3734","PYSEC-2026-3735","PYSEC-2026-3736","PYSEC-2026-3737","PYSEC-2026-3738","PYSEC-2026-3739","PYSEC-2026-3740","PYSEC-2026-3741","PYSEC-2026-3748","PYSEC-2026-3749","PYSEC-2026-3750","PYSEC-2026-3751","PYSEC-2026-3752","PYSEC-2026-3868","PYSEC-2026-3869","PYSEC-2026-3870","PYSEC-2026-3871","PYSEC-2026-3954","PYSEC-2026-3955","PYSEC-2026-4318","PYSEC-2026-597","PYSEC-2026-96","PYSEC-2026-97","PYSEC-2026-98","PYSEC-2026-99"],"reachability":{"kind":"production","file":"app/management/commands/train_content_based.py","line":8}}}},{"ruleId":"D30","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":"b04dd32c30876a093e65c6239b5b76d6dc85f5268ef57b8729116997edc11467"},"properties":{"dependency":{"package":"numpy","version":"1.12.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2017-1","PYSEC-2019-108","PYSEC-2021-854","PYSEC-2021-855","PYSEC-2021-856","PYSEC-2021-857"],"reachability":{"kind":"production","file":"app/management/commands/train_item_cf.py","line":6}}}},{"ruleId":"D30","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":"cbd50676139ce23b99cecfc1aab7e89a13c8a677faac95048f48fe6560593d39"},"properties":{"dependency":{"package":"django","version":"1.11.29","advisory":"[GHSA redacted]","aliases":["BIT-django-2021-33203","BIT-django-2022-36359","BIT-django-2024-45231","BIT-django-2025-48432","BIT-django-2025-57833","BIT-django-2025-64458","BIT-django-2025-64459","BIT-django-2026-15307","BIT-django-2026-15830","BIT-django-2026-48587","BIT-django-2026-48588","BIT-django-2026-53877","BIT-django-2026-53878","BIT-django-2026-6873","BIT-django-2026-8404","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2021-98","PYSEC-2022-245","PYSEC-2025-105","PYSEC-2025-107","PYSEC-2025-108","PYSEC-2025-47","PYSEC-2026-1297","PYSEC-2026-198","PYSEC-2026-199","PYSEC-2026-201","PYSEC-2026-2090","PYSEC-2026-2091","PYSEC-2026-2092","PYSEC-2026-3717","PYSEC-2026-4035"],"reachability":{"kind":"production","file":"albedo/urls.py","line":17}}}},{"ruleId":"D30","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":"cf4c81c46820e9a42e91c54bc2f6614b13bcfad97a395143d1a0c5872a78ccad"},"properties":{"dependency":{"package":"scikit-learn","version":"0.18.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2020-107","PYSEC-2020-108","PYSEC-2024-110"],"reachability":{"kind":"production","file":"app/management/commands/train_content_based.py","line":9}}}},{"ruleId":"D30","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":"7daeaac059464208d06a5fb9aa6a62c1ae8d62d96e2d9d033ac11acc84ef8702"},"properties":{"dependency":{"package":"mysql:mysql-connector-java","version":"5.1.42","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"07285d58bf35e531187537d2b340d523f6bd312cfe3b038fa66cffa5d8355ce8"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"cfb7c1a96aa428f6c9ee0e0590134c37e83237985a1bb92dbba832fbdf765eef"},"properties":{"dependency":{"package":"requests","version":"2.20.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-74","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"production","file":"app/management/commands/collect_data.py","line":15}}}},{"ruleId":"D30","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":"501ba853bbf3646d210a68432a4be764b7f5e1f9d8016b5bc6e3f52aba575f65"},"properties":{"dependency":{"package":"pandas","version":"0.20.1","advisory":"PYSEC-2020-73","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"app/management/commands/train_content_based.py","line":11}}}},{"ruleId":"D30","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":"06a1d352673ae3364face1ae497e1c9c88127fb9a35427d185b9a4cd4e0f1e38"},"properties":{"dependency":{"package":"scipy","version":"0.19.0","advisory":"PYSEC-2023-102","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-114"],"reachability":{"kind":"unknown"}}}},{"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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"9ae251479d3491870c9d6e15818de49eea78589883b9029334cbdf7d4b95c06d"}},{"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":"6c9bd328f1425e4185802e2cb388fc5dec17b2da92bc5227fa43622d89e747d7"}},{"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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"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":"73b1e4e476c9b44da4e4029043a0c0e08bf2a233e704040cfddd42dc92644d2d"},"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":"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":"4116ebe06e9e7c3cf53b3a4a0f9cafacd4fdd7f2fde55cfd7fa02cec636f381d"},"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":"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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 24 of 24 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 24 separate risks. Counted over 24 of the 62 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa68736e958624d48c5a90a79ddeb01785428bfd28caea5118e54e5c670ebb94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc18b375c0ce299a76d7e645cbe198067d09950b5491bf3b2fc47bed1713349"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dafb72a0994c178abc73cc09bb6af632012d217a535bffb538b49d57e086147"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23f18cb4fe743eda70608c03a3f7a1e4188cd0fc87856caff90d0cae3183ae0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/management/commands/collect_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6402fd26441efb97003cea2cb6e54116ab834bb318b4e09804c630ac82cc01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbe1db6410d2887cde3ec3cb9e9a919ac066d43f3287c2982ea62fc80867dd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/utils/DatasetUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d95faac6bf6e3345ea2404b88c13a143da15892591a99a927b592810a27975c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/spark/ml/feature/FuncTransformer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1d73a10285c2170156e7fbd05d594814e1eaa8068aa1a93233916c5b372058"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18236e7aec7d97036edaf42504f5a3470c32e51b1e6369a09d4a7b6cbe4eeeb2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/transformers/NegativeBalancer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52a6431a455b7bf8481d3507ea61a62d3c7be62acf860998fa6141a6f9cf633"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/spark/ml/feature/SimpleVectorAssembler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe74b52dd14a00fa7e7a71850a3d06a9036da314b82fab3ada75f78f0bf1be9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbe83e79ae8298be387826a888dbcd47a08269bd37325c84fcddedc80092177"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/recommenders/ContentRecommender.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf97a250fd15310412eca3f4187c82f116c0749674ae7b7ff6f8ef868b649f3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderCV.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"516d1cc491568f28f5a3b11b422ede7b2bec1a9fdee59575ef6ce78cfb5f3487"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/Word2VecCorpusBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f993820ff6e961c9b9d136c00d25f9f8c84834475d33d46e5f68fbd8ecfef09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/closures/UDFs.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4de9ae28b49bde0265547495fed2d4ab270d7af1d8af590ea3a1a16469dab5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/transformers/RankingMetricFormatter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"690fc1ee7277a55c6f72ab2fd017d246af96418ee6662603d19cb4bac9bc7eb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ContentRecommenderBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"808743ef5c1e84af2069c53ef63c8b2896df69b8adbb2101cdd361e835b9e0f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c37420b42106f28342ab6527fcc35919121e7781a3bc9707e0d698d43d48811"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/CurationRecommenderBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd490b69c155acd61dc14dbd89d7ba51bc38d01143baec28e7a5c99aa48a25d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/management/commands/train_content_based.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e2e521c21c6aef3f6214e350f044a6949abf90f13d587ff6531a7edcbd746a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/management/commands/train_item_cf.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b55f1135c5e9dd69ec6fe95ba3a4fa891a6f22053c751f84efa9a6e3bd995c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/management/commands/train_user_cf.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c94d6c483e36ce6fe0e156f32fc138dc392c1d51ac85aa48f96c27acf0740a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/Playground.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c08eb1d1afa7a96e96326abe1e717cecf2e396fcc3d4bfbaf8b419c7c08cc8f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LogisticRegressionRanker.scala \u2194 LogisticRegressionRankerCV.scala: \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala\u0060 change together 61% of the time (17 of the 28 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u0060d4233241\u0060 fuck; \u00609c10ea1f\u0060 unify again; \u0060b9419814\u0060 lr.setStandardization(true) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1991aa47cb7046216a79907aa71184f594e02774f34283b83609932260f412"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ALSRecommenderBuilder.scala \u2194 PopularityRecommenderBuilder.scala: \u0060src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/PopularityRecommenderBuilder.scala\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060216a24a7\u0060 no Dataset; \u00607d6fd1a2\u0060 persist userAxtualItemsDS; \u0060837e73cd\u0060 refactor \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/ALSRecommenderBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4831eff340785b22643cb98f0e9ef3421c4a012d7db42960c7ba54bb596f415a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RepoProfileBuilder.scala \u2194 UserProfileBuilder.scala: \u0060src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala\u0060 and \u0060src/main/scala/ws/vinta/albedo/UserProfileBuilder.scala\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060402c4193\u0060 refactor procedures; \u006032b3f041\u0060 refactor shit; \u0060f0be3465\u0060 add booleanColumnNames \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/RepoProfileBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c40230deee3af6a7df2d4d053ee10fb758330ea97432ca5b822515e3c413bd"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"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":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060RestClient.builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/ws/vinta/albedo/recommenders/ContentRecommender.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c4073a477ff9dda47b9eaade0c177ceb88fd4600271fb858c4ce8a1893926a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!columnName.endsWith(\u0022__idx\u0022) \u0026\u0026 !columnName.endsWith(\u0022__ohe\u0022) \u0026\u0026 !columnName.endsWith(\u0022__cv\u0022) \u0026\u0026 !columnName.endsWith(\u0022__words\u0022) \u0026\u0026 !column\u2026\u0060 appears character-identically in 2 files \u2014 src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala, src/main/scala/ws/vinta/albedo/LogisticRegressionRankerCV.scala. 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":"src/main/scala/ws/vinta/albedo/LogisticRegressionRanker.scala"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f947670299fe6add529e4768f3511e8ae61910fb86cfcdd5cd4e42313e2f2da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060equalsIgnoreNullability(leftKeyType, rightKeyType) \u0026\u0026 equalsIgnoreNullability(leftValueType, rightValueType)\u0060 appears character-identically in 2 files \u2014 src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala, src/main/scala/ws/vinta/albedo/utils/SchemaUtils.scala. 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":"src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dc6c75d526f25011052bfb5d97328b5384e3ac1ac78c51bb487dc3376936c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060l.name == r.name \u0026\u0026 equalsIgnoreNullability(l.dataType, r.dataType)\u0060 appears character-identically in 2 files \u2014 src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala, src/main/scala/ws/vinta/albedo/utils/SchemaUtils.scala. 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":"src/main/scala/ws/vinta/albedo/evaluators/RankingEvaluator.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"564783d49c1d0768dedce3fae3eb51121c718f561c2bb3fd8a27ed881386a1fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"src/main/scala/ws/vinta/albedo/transformers/SnowballStemmer.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8c1454352e2a15ba559ffb57f33971141ba259529ed2245986a6c39775240c"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 34 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-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-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-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-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-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"}]},{"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":"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":"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/"}]}],"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":19,"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."]}]}